add openssl in shell environment

This commit is contained in:
Daniel Barlow 2024-09-25 21:17:42 +01:00
parent fe98a413ee
commit 20fdd0aac6
1 changed files with 7 additions and 0 deletions

7
shell.nix Normal file
View File

@ -0,0 +1,7 @@
with import <nixpkgs> {};
let p = callPackage ./package.nix {};
in p.overrideAttrs(o: {
nativeBuildInputs =
[ pkgs.openssl ] ++
lib.optionals (o ? nativeBuildInputs) o.nativeBuildInputs;
})