Skip to content

Commit

Permalink
justfile: allow unfree, misc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 authored Apr 26, 2024
1 parent 8201b5d commit f3b9ee9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ build *args:

update input_name="":
#!/usr/bin/env sh
set -euxo pipefail
if [ -n "{{input_name}}" ]; then
nix flake lock --update-input "{{input_name}}"
else
Expand All @@ -30,6 +31,9 @@ format:
treefmt

check-flake-outputs:
#!/usr/bin/env sh
set -euxo pipefail
export NIXPKGS_ALLOW_UNFREE=1
nix flake check --all-systems --verbose
ci: check-flake-outputs

0 comments on commit f3b9ee9

Please sign in to comment.