Skip to content

Commit

Permalink
ci: allow unfree
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnvgr committed Oct 28, 2023
1 parent ea88e86 commit 9be09b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
-I $PWD
- name: Build nix packages
env:
NIXPKGS_ALLOW_UNFREE: 1
run: nix shell -f '<nixpkgs>' nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs

- name: Trigger NUR update
Expand Down
3 changes: 2 additions & 1 deletion ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ with builtins;
let
isReserved = n: n == "lib" || n == "overlays" || n == "modules";
isDerivation = p: isAttrs p && p ? type && p.type == "derivation";
isBuildable = p: !(p.meta.broken or false) && p.meta.license.free or true;
# isBuildable = p: !(p.meta.broken or false) && p.meta.license.free or true;
isBuildable = p: !(p.meta.broken or false);
isCacheable = p: !(p.preferLocalBuild or false);
shouldRecurseForDerivations = p: isAttrs p && p.recurseForDerivations or false;

Expand Down

0 comments on commit 9be09b0

Please sign in to comment.