From 552176ed31f6e20b4e3391e37a035b556500d6f2 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 10 May 2021 15:56:20 +0300 Subject: Removed openssl dependency - now the code is pure Rust --- flake.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'flake.nix') 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 -- cgit 1.4.1