Skip to content

Commit d886a96

Browse files
[FIX] Align nix expression evaluation with recent changes (#906)
* [FIX] Align nix expression evaluation with recent changes * [FIX] Update .buildkite/pipeline.yml Co-authored-by: Silvan Mosberger <[email protected]> Co-authored-by: Silvan Mosberger <[email protected]>
1 parent 10f1612 commit d886a96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.buildkite/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
steps:
22
- label: ":nix::point_right::pipeline:"
33
command: |
4-
export NIX_PATH="nixpkgs=$(nix eval --raw '(import nix/sources.nix).nixpkgs')"
5-
nix eval --json '(import ./.buildkite { pipeline = ./.buildkite/pipeline.nix; })' \
4+
export NIX_PATH="nixpkgs=$(nix-instantiate --eval --strict --json --read-write-mode -E '(import nix/sources.nix).nixpkgs' | tr -d '"')"
5+
nix-instantiate --eval --strict --json --expr '(import ./.buildkite { pipeline = ./.buildkite/pipeline.nix; })' \
66
| buildkite-agent pipeline upload --no-interpolation
77
agents:
88
queue: project42

0 commit comments

Comments
 (0)