Skip to content

Commit

Permalink
add nix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
bearice committed Mar 14, 2024
1 parent f843a93 commit cd6d45b
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
history.txt
*.yaml
*.log
/result
99 changes: 99 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@
defaultPackage = (pkgs.makeRustPlatform {
inherit (fenix.packages.${system}.minimal) cargo rustc;
}).buildRustPackage {
pname = "hello";
version = "0.1.0";
pname = "redproxy-rs";
version = "0.9.0";
src = ./.;
cargoSha256 = nixpkgs.lib.fakeSha256;
#cargoSha256 = "sha256-zvG0eT5xH/uk6jrxIDXV37i9nB24kVovwCsKrsBxFsk=";
cargoLock = {
lockFile = ./Cargo.lock;
};
};
}
);
Expand Down

0 comments on commit cd6d45b

Please sign in to comment.