mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-11-25 09:33:10 +01:00
f08ea207ef
This commit updates the the link from the former, unofficial nixos wiki page to the new https://wiki.nixos.org ref: NixOS/foundation#113
1.7 KiB
1.7 KiB
Packging 101
WIP work in progress, please refer to the following reference documents to learn Nix packaging.
References
- NixOS Series 3: Software Packaging 101
- How to Learn Nix, Part 28: The standard environment
- stdenv - Nixpkgs Manual
- languages-frameworks - Nixpkgs Manual
- Wrapping packages - NixOS Cookbook
- Useful tools:
- Source Code:
- pkgs/build-support/trivial-builders/default.nix - runCommand
- pkgs/build-support/setup-hooks/make-wrapper.sh
- FHS related
- pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix:
pkgs.buildFHSEnvBubblewrap
- pkgs/build-support/build-fhsenv-chroot/default.nix:
pkgs.buildFHSEnvChroot
- pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix: