File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 components : clippy
4949 - run : cargo clippy -- -D warnings
5050
51+ nix :
52+ name : Nix Eval
53+ runs-on : ubuntu-latest
54+ timeout-minutes : 15
55+ steps :
56+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
57+ - uses : nixbuild/nix-quick-install-action@2c9db80fb984ceb1bcaa77cdda3fdf8cfba92035 # v34
58+ - name : Evaluate flake outputs (all systems)
59+ run : |
60+ set -euo pipefail
61+ nix --version
62+
63+ echo "=== Flake metadata ==="
64+ nix flake metadata
65+
66+ echo ""
67+ echo "=== Flake structure ==="
68+ nix flake show --all-systems
69+
70+ SYSTEMS="x86_64-linux aarch64-linux x86_64-darwin aarch64-darwin"
71+
72+ echo ""
73+ echo "=== Evaluating packages for all systems ==="
74+ for system in $SYSTEMS; do
75+ echo ""
76+ echo "--- $system ---"
77+ printf " default: "
78+ if output=$(nix eval ".#packages.$system.default.drvPath" --raw 2>&1); then
79+ echo "✓"
80+ else
81+ echo "✗"
82+ echo "::error::Evaluation failed for packages.$system.default"
83+ echo "$output"
84+ exit 1
85+ fi
86+ done
87+
88+ echo ""
89+ echo "=== Evaluating devShells for all systems ==="
90+ for system in $SYSTEMS; do
91+ printf "%s: " "$system"
92+ if output=$(nix eval ".#devShells.$system.default.drvPath" --raw 2>&1); then
93+ echo "✓"
94+ else
95+ echo "✗"
96+ echo "::error::Evaluation failed for devShells.$system.default"
97+ echo "$output"
98+ exit 1
99+ fi
100+ done
101+
102+ echo ""
103+ echo "=== All evaluations passed ==="
104+
51105 website :
52106 name : Website Build
53107 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 2626
2727 buildInputs = with pkgs ; [
2828 zlib # required by vendored libgit2
29- ] ++ lib . optionals stdenv . hostPlatform . isDarwin [
30- libiconv
31- darwin . apple_sdk . frameworks . Security
32- darwin . apple_sdk . frameworks . SystemConfiguration
3329 ] ;
3430
3531 commonArgs = {
You can’t perform that action at this time.
0 commit comments