-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkgsStatic for 18.09 #51957
pkgsStatic for 18.09 #51957
Commits on Dec 13, 2018
-
stdenv: implement crossOverlays
crossOverlays only apply to the packages being built, not the build packages. It is useful when you don’t care what is used to build your packages, just what is being built. The idea relies heavily on the cross compiling infrastructure. Using this implies that we need to create a cross stdenv. (cherry picked from commit a3a6ad7)
Configuration menu - View commit details
-
Copy full SHA for e842552 - Browse repository at this point
Copy the full SHA e842552View commit details -
stdenv/adapters.nix: fixup makeStaticBinaries
- makeStaticBinaries don’t work on Darwin (no stable ABI!) - Need to make sure NIX_CFLAGS_LINK appends - isStatic is not used anymore (cherry picked from commit 8726f6a)
Configuration menu - View commit details
-
Copy full SHA for 7fcbc52 - Browse repository at this point
Copy the full SHA 7fcbc52View commit details -
darwin/libiconv: fix static/shared logic
The conditional was incorrect - postInstall script should only hsppen when enableShared = true. (cherry picked from commit 5e06294)
Configuration menu - View commit details
-
Copy full SHA for f11d534 - Browse repository at this point
Copy the full SHA f11d534View commit details -
zlib: clean up static/shared distincion
This is kind of a mess, but basically: - static=true, shared=true means to build statically but move it to the static output - static=true, shared=false means to build statically and leave it in the main output - static=false, shared=true means to not build static at all Confusingly, the old default was static=true, shared=true even though static=false? Still can’t figure out what was meant by that. (cherry picked from commit e999def)
Configuration menu - View commit details
-
Copy full SHA for a8e0694 - Browse repository at this point
Copy the full SHA a8e0694View commit details -
ncurses: make shared linking optinoal
when enableShared = false, we set --without-shared flag. (cherry picked from commit 53a6789)
Configuration menu - View commit details
-
Copy full SHA for 3170d61 - Browse repository at this point
Copy the full SHA 3170d61View commit details -
top-level/stage.nix: add static overlay
Adds the static overlay that can be used to build Nixpkgs statically. Can be used like: nix build pkgsStatic.hello Not all packages build, as some rely on dynamic linking. (cherry picked from commit 6d90a8b)
Configuration menu - View commit details
-
Copy full SHA for 3c36dcc - Browse repository at this point
Copy the full SHA 3c36dccView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 3c1049f - Browse repository at this point
Copy the full SHA 3c1049fView commit details