mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
Nix Packages collection & NixOS
ba42683e9a
Avoid this warning (which is in turn an error via -Werror): ```` avc_internal.c: In function 'avc_netlink_receive': avc_internal.c:105:25: error: cast increases required alignment of target type [-Werror=cast-align] struct nlmsghdr *nlh = (struct nlmsghdr *)buf; ^ ```` The code allocates abuffer with "__attribute__ ((aligned))", then passes it via a 'char*' parameter, which is then finally cast, causing the warning. So the code is ok but compiler is not smart enough to see it. It seems that -Wcast-align is a no-op on x86, so this shows up on ARM only. |
||
---|---|---|
.github | ||
doc | ||
lib | ||
maintainers | ||
nixos | ||
pkgs | ||
.editorconfig | ||
.gitignore | ||
.mention-bot | ||
.travis.yml | ||
.version | ||
COPYING | ||
default.nix | ||
README.md |
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: