+47
doc/builders/trivial-builders.chapter.md
+47
doc/builders/trivial-builders.chapter.md
···This can be used to put many derivations into the same directory structure. It works by creating a new derivation and adding symlinks to each of the paths listed. It expects two arguments, `name`, and `paths`. `name` is the name used in the Nix store path for the created derivation. `paths` is a list of paths that will be symlinked. These paths can be to Nix store derivations or any other subdirectory contained within.
···This can be used to put many derivations into the same directory structure. It works by creating a new derivation and adding symlinks to each of the paths listed. It expects two arguments, `name`, and `paths`. `name` is the name used in the Nix store path for the created derivation. `paths` is a list of paths that will be symlinked. These paths can be to Nix store derivations or any other subdirectory contained within.
+29
pkgs/build-support/trivial-builders.nix
+29
pkgs/build-support/trivial-builders.nix
···
+20
pkgs/build-support/trivial-builders/test.nix
+20
pkgs/build-support/trivial-builders/test.nix
···
···
+57
pkgs/build-support/trivial-builders/test.sh
+57
pkgs/build-support/trivial-builders/test.sh
···
···+<(sort <$(nix-build --no-out-link --expr "with import ../../.. {}; writeDirectReferencesToFile ($expr)")) \+<(nix-store -q --references $(nix-build --no-out-link --expr "with import ../../.. {}; ($expr)") | sort)+<(sort <$(nix-build --no-out-link --expr "with import ../../.. {}; writeReferencesToFile ($expr)")) \+<(nix-store -q --requisites $(nix-build --no-out-link --expr "with import ../../.. {}; ($expr)") | sort)
+2
pkgs/test/default.nix
+2
pkgs/test/default.nix