Skip to content

Commit 59fefb1

Browse files
committed
darwin test action: switch to exec driver
1 parent 9553772 commit 59fefb1

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

nix/automation/pipelines.nix

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,26 @@
6060
cat result
6161
'';
6262

63-
nomad.templates = [
64-
{
65-
destination = "/local/default.nix";
66-
data = ''
67-
let
68-
nixpkgs = __getFlake github:NixOS/nixpkgs/6107f97012a0c134c5848125b5aa1b149b76d2c9;
69-
pkgs = nixpkgs.legacyPackages.x86_64-darwin;
70-
in
71-
pkgs.runCommand "foo" {} '''
72-
{
73-
echo '{{timestamp}}' # to force a new build
74-
uname
75-
} > $out
76-
'''
77-
'';
78-
}
79-
];
63+
nomad = {
64+
templates = [
65+
{
66+
destination = "/local/default.nix";
67+
data = ''
68+
let
69+
nixpkgs = __getFlake github:NixOS/nixpkgs/6107f97012a0c134c5848125b5aa1b149b76d2c9;
70+
pkgs = nixpkgs.legacyPackages.x86_64-darwin;
71+
in
72+
pkgs.runCommand "foo" {} '''
73+
{
74+
echo '{{timestamp}}' # to force a new build
75+
uname
76+
} > $out
77+
'''
78+
'';
79+
}
80+
];
81+
82+
driver = "exec";
83+
};
8084
};
8185
}

0 commit comments

Comments
 (0)