mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-11-29 03:24:19 +01:00
1.6 KiB
1.6 KiB
Nix 软件打包入门
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
- 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: