File tree Expand file tree Collapse file tree 2 files changed +33
-23
lines changed Expand file tree Collapse file tree 2 files changed +33
-23
lines changed Original file line number Diff line number Diff line change 1+ name : Eval aliases
2+
3+ on :
4+ pull_request_target :
5+
6+ permissions : {}
7+
8+ jobs :
9+ get-merge-commit :
10+ uses : ./.github/workflows/get-merge-commit.yml
11+
12+ eval-aliases :
13+ name : Eval nixpkgs with aliases enabled
14+ runs-on : ubuntu-24.04
15+ needs : [ get-merge-commit ]
16+ steps :
17+ - name : Check out the PR at the test merge commit
18+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+ with :
20+ ref : ${{ needs.get-merge-commit.outputs.mergedSha }}
21+ path : nixpkgs
22+
23+ - name : Install Nix
24+ uses : cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
25+ with :
26+ extra_nix_config : sandbox = true
27+
28+ - name : Ensure flake outputs on all systems still evaluate
29+ run : nix --experimental-features 'nix-command flakes' flake check --all-systems --no-build ./nixpkgs
30+
31+ - name : Query nixpkgs with aliases enabled to check for basic syntax errors
32+ run : |
33+ time nix-env -I ./nixpkgs -f ./nixpkgs -qa '*' --option restrict-eval true --option allow-import-from-derivation false >/dev/null
Original file line number Diff line number Diff line change 5959 name : paths
6060 path : result/*
6161
62- eval-aliases :
63- name : Eval nixpkgs with aliases enabled
64- runs-on : ubuntu-24.04
65- needs : [ get-merge-commit ]
66- steps :
67- - name : Check out the PR at the test merge commit
68- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
69- with :
70- ref : ${{ needs.get-merge-commit.outputs.mergedSha }}
71- path : nixpkgs
72-
73- - name : Install Nix
74- uses : cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
75- with :
76- extra_nix_config : sandbox = true
77-
78- - name : Ensure flake outputs on all systems still evaluate
79- run : nix --experimental-features 'nix-command flakes' flake check --all-systems --no-build ./nixpkgs
80-
81- - name : Query nixpkgs with aliases enabled to check for basic syntax errors
82- run : |
83- time nix-env -I ./nixpkgs -f ./nixpkgs -qa '*' --option restrict-eval true --option allow-import-from-derivation false >/dev/null
84-
8562 outpaths :
8663 name : Outpaths
8764 runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments