commit 64e7ed6a671bb3765ef04e24e6b8438c15c865ae parent 207a686c95db9ef6d4ecab57c8a907bcba7ed059 Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Sat, 12 Dec 2020 20:06:59 +0300 CI: add eval check Diffstat:
M | .github/workflows/build.yml | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -31,6 +31,15 @@ jobs: with: name: ${{ matrix.cachixName }} signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - name: Check evaluation + run: | + nix-env -f . -qa \* --meta --xml \ + --allowed-uris https://static.rust-lang.org \ + --option restrict-eval true \ + --option allow-import-from-derivation true \ + --drv-path --show-trace \ + -I nixpkgs=$(nix-instantiate --find-file nixpkgs) \ + -I $PWD - name: Build nix packages run: nix run -I 'nixpkgs=channel:nixos-unstable' nixpkgs.nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs - name: Trigger NUR update