diff options
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 |