static nix and cd

This commit is contained in:
2023-12-03 17:32:52 +01:00
parent d44574c284
commit 8ff0f13109
2 changed files with 54 additions and 3 deletions

View File

@@ -89,15 +89,17 @@
in {
packages.default = pkgs.stdenv.mkDerivation {
inherit pname version src nativeBuildInputs cmakeFlags installPhase;
buildInputs = with pkgs; [
#(libsodium.override { stdenv = pkgs.pkgsStatic.stdenv; })
#pkgsStatic.libsodium
# static libsodium, because I can
buildInputs = with pkgs.pkgsStatic; [
libsodium
];
};
# all static, kinda useless, since dlopen() wont work to load plugins
packages.static = pkgs.pkgsStatic.stdenv.mkDerivation {
inherit pname version src nativeBuildInputs cmakeFlags installPhase;
buildInputs = with pkgs.pkgsStatic; [
libsodium
];