File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -643,10 +643,13 @@ jobs:
643643 run : sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache
644644
645645 - name : 📦 Build Nix package deps
646- run : nix build
646+ run : |
647+ HASH=$(nix eval --raw .#graphite${{ inputs.debug && '-dev' || '' }}.deps | cut -c12-43)
648+ curl -I https://cache.nixos.org/${HASH}.narinfo
649+ nix build .#graphite${{ inputs.debug && '-dev' || '' }}.deps --no-link --print-out-paths --print-build-logs
647650
648651 - name : 📦 Build Nix package
649- run : nix build .#graphite${{ inputs.debug && '-dev' || '' }}.deps --no-link --print-out-paths --print-build-logs
652+ run : nix build .#graphite${{ inputs.debug && '-dev' || '' }} --no-link --print-out-paths --print-build-logs
650653
651654 - name : 📤 Push to Nix cache
652655 env :
You can’t perform that action at this time.
0 commit comments