diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 163b555..ab791b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,9 @@ jobs: - uses: cachix/install-nix-action@v16 with: install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.8.0pre20220311_d532269/install - extra_nix_config: experimental-features = nix-command flakes + extra_nix_config: | + experimental-features = nix-command flakes + allow-import-from-derivation = true - name: Run Nix Flake Check run: nix -Lv flake check diff --git a/flake.nix b/flake.nix index f2d1e4c..bffb9cd 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,8 @@ nixpkgs, ... } @ inputs: - (inputs.flake-utils.lib.eachDefaultSystem ( + (inputs.flake-utils.lib.eachSystem ["x86_64-linux"]( + #inputs.flake-utils.lib.eachDefaultSystem ( system: let pkgs = import inputs.nixpkgs { overlays = [ @@ -57,7 +58,7 @@ } attrs'); in { - inherit evalModules; + inherit evalModules pkgs; jobs = import ./jobs {inherit pkgs;};