Skip to content

Commit

Permalink
chore(nix): streamline build process
Browse files Browse the repository at this point in the history
* adapt build dependencies according to helpful comments in
  NixOS/nixpkgs#316730
  • Loading branch information
obreitwi committed Jun 2, 2024
1 parent 42fa7eb commit f0dd555
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
inherit src;
strictDeps = true;

nativeBuildInputs = [ pkgs.pkg-config ];

buildInputs =
[
# Add additional build inputs here
Expand All @@ -59,8 +61,6 @@

# Additional environment variables can be set directly
# MY_CUSTOM_VAR = "some value";
OPENSSL_DIR = lib.attrsets.getOutput "dev" pkgs.openssl;
OPENSSL_LIB_DIR = lib.attrsets.getOutput "lib" pkgs.openssl + "/lib";
};

craneLibLLvmTools =
Expand Down Expand Up @@ -163,7 +163,6 @@
ghp-import
gnused
help2man
libssh2
];
};
});
Expand Down

0 comments on commit f0dd555

Please sign in to comment.