Skip to content

Commit

Permalink
Fix unfree evaluation (#7)
Browse files Browse the repository at this point in the history
* try allowing unfree

* add NIXPKGS_ALLOW_UNFREE
  • Loading branch information
mistzzt authored Oct 28, 2024
1 parent d460854 commit 3df671b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
nixPath:
- nixpkgs=channel:nixos-24.05
runs-on: ubuntu-latest
env:
NIXPKGS_ALLOW_UNFREE: '1'
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
in {
legacyPackages = forAllSystems (system:
import ./default.nix {
pkgs = import nixpkgs {inherit system;};
pkgs = import nixpkgs {inherit system; config.allowUnfree = true;};
});
packages = forAllSystems (system: nixpkgs.lib.filterAttrs (_: v: nixpkgs.lib.isDerivation v) self.legacyPackages.${system});
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/AutoLifter/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Artifact for TOPLAS24: Decomposition-Based Synthesis for Applying D&C-Like Algorithmic Paradigms";
homepage = "https://github.com/jiry17/AutoLifter";
license = licenses.unfreeRedistributable;
license = licenses.mit;
platforms = ["x86_64-linux"];
};
}

0 comments on commit 3df671b

Please sign in to comment.