mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
bash: use shellDryRun to check scripts
Allows using extglob in initialisation files. See https://github.com/NixOS/nixpkgs/pull/151371
This commit is contained in:
parent
acf824c9ed
commit
95d39e13a4
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ let
|
||||||
writeBashScript = name: text: pkgs.writeTextFile {
|
writeBashScript = name: text: pkgs.writeTextFile {
|
||||||
inherit name text;
|
inherit name text;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${pkgs.stdenv.shell} -n $out
|
${pkgs.stdenv.shellDryRun} "$target"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue