mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00: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 {
|
||||
inherit name text;
|
||||
checkPhase = ''
|
||||
${pkgs.stdenv.shell} -n $out
|
||||
${pkgs.stdenv.shellDryRun} "$target"
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue