-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Comparing changes
Open a pull request
base repository: NixOS/nixpkgs
base: e212b9975172
head repository: NixOS/nixpkgs
compare: ceee97c038c9
- 9 commits
- 19 files changed
- 1 contributor
Commits on Dec 5, 2018
-
c-ares: don’t set configure flags
These aren’t needed with dontDisableStatic
Configuration menu - View commit details
-
Copy full SHA for 9d8de9f - Browse repository at this point
Copy the full SHA 9d8de9fView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for a3a6ad7 - Browse repository at this point
Copy the full SHA a3a6ad7View commit details -
treewide: remove static packages
Nixpkgs is meant to link everything dynamically. We don’t want to expose static packages at the top level. If some package needs statically built binaries, it should use a custom override.
Configuration menu - View commit details
-
Copy full SHA for b966d3c - Browse repository at this point
Copy the full SHA b966d3cView 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
Configuration menu - View commit details
-
Copy full SHA for 8726f6a - Browse repository at this point
Copy the full SHA 8726f6aView commit details -
darwin/libiconv: fix static/shared logic
The conditional was incorrect - postInstall script should only hsppen when enableShared = true.
Configuration menu - View commit details
-
Copy full SHA for 5e06294 - Browse repository at this point
Copy the full SHA 5e06294View 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.
Configuration menu - View commit details
-
Copy full SHA for e999def - Browse repository at this point
Copy the full SHA e999defView commit details -
ncurses: make shared linking optinoal
when enableShared = false, we set --without-shared flag.
Configuration menu - View commit details
-
Copy full SHA for 53a6789 - Browse repository at this point
Copy the full SHA 53a6789View 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.
Configuration menu - View commit details
-
Copy full SHA for 6d90a8b - Browse repository at this point
Copy the full SHA 6d90a8bView commit details -
Merge pull request #48803 from matthewbauer/crossOverlays
Adding pkgsStatic: a fully static overlay
Configuration menu - View commit details
-
Copy full SHA for ceee97c - Browse repository at this point
Copy the full SHA ceee97cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff e212b9975172...ceee97c038c9