File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 19
19
{
20
20
overlay = final : prev :
21
21
let
22
- system = final . system ;
22
+ system = final . stdenv . hostPlatform . system ;
23
23
darwinOptions = final . lib . optionalAttrs final . stdenv . isDarwin {
24
24
buildInputs = with final . darwin . apple_sdk . frameworks ; [
25
25
SystemConfiguration
101
101
} ;
102
102
103
103
deployChecks = deploy : builtins . mapAttrs ( _ : check : check deploy ) {
104
- schema = deploy : final . runCommandNoCC "jsonschema-deploy-system" { } ''
104
+ schema = deploy : final . runCommand "jsonschema-deploy-system" { } ''
105
105
${ final . python3 . pkgs . jsonschema } /bin/jsonschema -i ${ final . writeText "deploy.json" ( builtins . toJSON deploy ) } ${ ./interface.json } && touch $out
106
106
'' ;
107
107
108
108
activate = deploy :
109
109
let
110
110
profiles = builtins . concatLists ( final . lib . mapAttrsToList ( nodeName : node : final . lib . mapAttrsToList ( profileName : profile : [ ( toString profile . path ) nodeName profileName ] ) node . profiles ) deploy . nodes ) ;
111
111
in
112
- final . runCommandNoCC "deploy-rs-check-activate" { } ''
112
+ final . runCommand "deploy-rs-check-activate" { } ''
113
113
for x in ${ builtins . concatStringsSep " " ( map ( p : builtins . concatStringsSep ":" p ) profiles ) } ; do
114
114
profile_path=$(echo $x | cut -f1 -d:)
115
115
node_name=$(echo $x | cut -f2 -d:)
You can’t perform that action at this time.
0 commit comments