Remove build.nix and use it on another repo
This commit is contained in:
parent
69c357b69e
commit
99b9d85e47
1 changed files with 0 additions and 18 deletions
18
build.nix
18
build.nix
|
|
@ -1,18 +0,0 @@
|
||||||
{ pkgs ? import <nixpkgs> {}, features ? [] }:
|
|
||||||
let
|
|
||||||
specificPkgs = import (pkgs.fetchFromGitHub {
|
|
||||||
owner = "NixOS";
|
|
||||||
repo = "nixpkgs";
|
|
||||||
rev = "57610d2f8f0937f39dbd72251e9614b1561942d8";
|
|
||||||
sha256 = "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=";
|
|
||||||
}) {};
|
|
||||||
rustPlatform = specificPkgs.rustPlatform;
|
|
||||||
in
|
|
||||||
rustPlatform.buildRustPackage {
|
|
||||||
pname = "shifty-service";
|
|
||||||
version = "0.1";
|
|
||||||
src = ./.;
|
|
||||||
buildFeatures = features;
|
|
||||||
|
|
||||||
cargoHash = "sha256-sTKupn3HMBf3lumCu1RUkzutc+RUNpuqEyGR2BMxAso=";
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue