diff options
author | Vika <vika@fireburn.ru> | 2021-05-10 15:56:20 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-05-10 16:46:16 +0300 |
commit | 552176ed31f6e20b4e3391e37a035b556500d6f2 (patch) | |
tree | e871cf41979369d6be92b216cb0459bc5eb96ffd /flake.nix | |
parent | d50e6e54975a3a39ebfb252676d7f7857d588cab (diff) | |
download | kittybox-552176ed31f6e20b4e3391e37a035b556500d6f2.tar.zst |
Removed openssl dependency - now the code is pure Rust
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix index 0cf7d95..8041d7a 100644 --- a/flake.nix +++ b/flake.nix @@ -27,18 +27,13 @@ }; rust-bin = pkgs.rust-bin.stable.latest; packages = { - kittybox-micropub = { stdenv, lib, openssl, pkg-config, redis, naersk-lib }: + kittybox-micropub = { stdenv, lib, redis, naersk-lib }: naersk-lib.buildPackage { pname = "kittybox-micropub"; version = "0.1.0"; src = ./.; - #cargoSha256 = nixpkgs.lib.fakeSha256; - #cargoHash = "sha256-c862J7qXkrCAA6+gFn/bX5NXrgu/1HtCH1DqOpQePgk="; - - buildInputs = [ openssl ]; - nativeBuildInputs = [ pkg-config ]; checkInputs = [ redis ]; doCheck = stdenv.hostPlatform == stdenv.targetPlatform; @@ -62,7 +57,6 @@ devShell = pkgs.mkShell { name = "rust-dev-shell"; - buildInputs = with pkgs; [ openssl ]; nativeBuildInputs = with pkgs; [ pkg-config lld rust-bin.default |