mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
enable testing of extraUtilsCommands after patchelf
svn path=/nixos/trunk/; revision=31127
This commit is contained in:
parent
5cf6543e6e
commit
d98ecd1d9e
1 changed files with 14 additions and 0 deletions
|
@ -65,6 +65,18 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
boot.initrd.extraUtilsCommandsTest = mkOption {
|
||||
internal = true;
|
||||
default = "";
|
||||
merge = mergeStringOption;
|
||||
description = ''
|
||||
Shell commands to be executed in the builder of the
|
||||
extra-utils derivation after patchelf has done its
|
||||
job. This can be used to test additional utilities
|
||||
copied in extraUtilsCommands.
|
||||
'';
|
||||
};
|
||||
|
||||
fileSystems = mkOption {
|
||||
options.neededForBoot = mkOption {
|
||||
default = false;
|
||||
|
@ -213,6 +225,8 @@ let
|
|||
$out/bin/mdadm --version
|
||||
$out/bin/basename --version
|
||||
$out/bin/modprobe --version
|
||||
|
||||
${config.boot.initrd.extraUtilsCommandsTest}
|
||||
''; # */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue