diff options
author | cel 🌸 <cel@blos.sm> | 2023-10-05 10:54:33 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-10-05 10:54:33 +0100 |
commit | d7c16ed468292456de81ae12a0fce73fc23bd0b2 (patch) | |
tree | 09d3d9dde5aaafa3bee7c74856639d8ff90eccc5 /default.nix | |
parent | 5d395d4ed73061b247c32dc63db6ddfa2dd62d39 (diff) | |
download | pinussy-d7c16ed468292456de81ae12a0fce73fc23bd0b2.tar.gz pinussy-d7c16ed468292456de81ae12a0fce73fc23bd0b2.tar.bz2 pinussy-d7c16ed468292456de81ae12a0fce73fc23bd0b2.zip |
add default.nix
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..d097168 --- /dev/null +++ b/default.nix @@ -0,0 +1,10 @@ +{ pkgs ? import <nixpkgs> { } }: +pkgs.rustPlatform.buildRustPackage rec { + pname = "pinussy"; + version = "0.1"; + cargoLock.lockFile = ./Cargo.lock; + src = pkgs.lib.cleanSource ./.; + + nativeBuildInputs = [ pkgs.pkgconfig ]; + buildInputs = with pkgs.stdenv.lib; [ pkgs.openssl ]; +} |