diff options
author | Tobias Mayer <tobim@fastmail.fm> | 2019-07-24 16:04:51 +0200 |
---|---|---|
committer | Tobias Mayer <tobim@fastmail.fm> | 2019-07-24 16:04:51 +0200 |
commit | bb71bb15ce30dfc453648ac8979f938b9b3aeed7 (patch) | |
tree | 2a83b9aed39b4bf7614f1684b486db6a2fc57892 /pkgs/top-level/static.nix | |
parent | e06b7d9638e7547cc43af9149348d0ebf90d2763 (diff) |
pkgsStatic: propagate all buildInputs
Diffstat (limited to 'pkgs/top-level/static.nix')
-rw-r--r-- | pkgs/top-level/static.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/top-level/static.nix b/pkgs/top-level/static.nix index 193356a61ecea..108c6006fb649 100644 --- a/pkgs/top-level/static.nix +++ b/pkgs/top-level/static.nix @@ -12,7 +12,8 @@ self: super: let inherit (super.stdenvAdapters) makeStaticBinaries - makeStaticLibraries; + makeStaticLibraries + propagateBuildInputs; inherit (super.lib) foldl optional flip id composeExtensions; inherit (super) makeSetupHook; @@ -30,7 +31,7 @@ self: super: let }); }; - staticAdapters = [ makeStaticLibraries ] + staticAdapters = [ makeStaticLibraries propagateBuildInputs ] # Apple does not provide a static version of libSystem or crt0.o # So we can’t build static binaries without extensive hacks. |