Skip to content

Commit 6564bee

Browse files
committed
Replace runCommandNoCC by runCommand
The `runCommand` function has been using `stdenvNoCC` for quite a while and `runCommandNoCC` is correspondingly deprecated. See NixOS/nixpkgs@9feb144
1 parent 184349d commit 6564bee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@
101101
};
102102

103103
deployChecks = deploy: builtins.mapAttrs (_: check: check deploy) {
104-
schema = deploy: final.runCommandNoCC "jsonschema-deploy-system" { } ''
104+
schema = deploy: final.runCommand "jsonschema-deploy-system" { } ''
105105
${final.python3.pkgs.jsonschema}/bin/jsonschema -i ${final.writeText "deploy.json" (builtins.toJSON deploy)} ${./interface.json} && touch $out
106106
'';
107107

108108
activate = deploy:
109109
let
110110
profiles = builtins.concatLists (final.lib.mapAttrsToList (nodeName: node: final.lib.mapAttrsToList (profileName: profile: [ (toString profile.path) nodeName profileName ]) node.profiles) deploy.nodes);
111111
in
112-
final.runCommandNoCC "deploy-rs-check-activate" { } ''
112+
final.runCommand "deploy-rs-check-activate" { } ''
113113
for x in ${builtins.concatStringsSep " " (map (p: builtins.concatStringsSep ":" p) profiles)}; do
114114
profile_path=$(echo $x | cut -f1 -d:)
115115
node_name=$(echo $x | cut -f2 -d:)

0 commit comments

Comments
 (0)