Update 'spec.nix'

This commit is contained in:
illustris 2022-02-05 15:08:24 +00:00
parent 6126e07f8c
commit dcc17abf67

View File

@ -1,8 +1,5 @@
{ nixpkgs, declInput }: let pkgs = import nixpkgs {}; in { { nixpkgs, declInput }: let pkgs = import nixpkgs {}; in {
jobsets = pkgs.runCommand "spec.json" {} '' jobsets = pkgs.runCommand "spec.json" {} ''
cat <<EOF
${builtins.toXML declInput}
EOF
cat > $out <<EOF cat > $out <<EOF
{ {
"enabled": 1, "enabled": 1,
@ -31,5 +28,9 @@
} }
} }
EOF EOF
cat <<EOF
${builtins.toXML declInput}
EOF
cat $out
''; '';
} }