Fix eval under allowAliases = false, enable it in CI

This commit is contained in:
K900
2024-08-17 20:36:31 +03:00
parent e4e0ca1491
commit dcc9afeea9
2 changed files with 6 additions and 3 deletions

View File

@@ -16,7 +16,10 @@
eachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
config = {
allowAliases = false;
allowUnfree = true;
};
overlays = [ self.overlays.default ];
};
in f pkgs);

View File

@@ -2,7 +2,7 @@
, fetchFromGitHub
, autoPatchelfHook
, makeWrapper
, libusb
, libusb1
}:
stdenv.mkDerivation(finalAttrs: {
@@ -17,7 +17,7 @@ stdenv.mkDerivation(finalAttrs: {
};
buildInputs = [
libusb
libusb1
];
nativeBuildInputs = [