mirror of
https://github.com/ryan4yin/nixos-and-flakes-book
synced 2024-12-13 06:02:35 +00:00
1.7 KiB
1.7 KiB
Packging 101
WIP work in progress
TODO
1. stdenv
TODO
2. language specific frameworks
TODO
References
- NixOS 系列(三):软件打包,从入门到放弃 - LanTian
- 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: