
This reverts commit ec8b81615462625338d76f002d92accd6eb4cf6a. The change told the Cabal build system to use the hash-part of $out as the internal identifier for the library it's building (rather than generating such an ID itself). While a good idea in theory, this choice had an unfortunate side-effect: When Cabal links libraries X, Y, and Z into an executable, then the generated binary contains their respective IDs. Now, Nix finds those strings and treats them as an indication that there is a *run-time dependency* on the corresponding store paths. This means that the generated executable will always depend on the store paths of all the Haskell libraries that went into it, even when linked statically.
Nixpkgs is a collection of packages for the Nix package manager. It is periodically built and tested by the hydra build daemon as so-called channels. To get channel information via git, add nixpkgs-channels as a remote:
% git remote add channels git://github.com/NixOS/nixpkgs-channels.git
For stability and maximum binary package support, it is recommended to maintain
custom changes on top of one of the channels, e.g. nixos-16.09
for the latest
release and nixos-unstable
for the latest successful build of master:
% git remote update channels
% git rebase channels/nixos-16.09
For pull-requests, please rebase onto nixpkgs master
.
NixOS linux distribution source code is located inside
nixos/
folder.
- NixOS installation instructions
- Documentation (Nix Expression Language chapter)
- Manual (How to write packages for Nix)
- Manual (NixOS)
- Nix Wiki (deprecated, see milestone "Move the Wiki!")
- Continuous package builds for unstable/master
- Continuous package builds for 16.09 release
- Tests for unstable/master
- Tests for 16.09 release
Communication:
Description
Languages
Nix
96.3%
Shell
1.8%
Python
0.7%
Perl
0.4%
C
0.3%
Other
0.1%