Commit bb3525c208e8
Changed files (2)
overlays
overlays/default.nix
@@ -39,9 +39,9 @@ in
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable'
- unstable-packages = final: _prev: {
+ unstable-packages = final: prev: {
master = import inputs.nixpkgs-master {
- inherit (final) system;
+ system = prev.stdenv.hostPlatform.system;
config.allowUnfree = true;
overlays = [
(_final: _prev: {
@@ -59,7 +59,7 @@ in
];
};
unstable = import inputs.nixpkgs {
- inherit (final) system;
+ system = prev.stdenv.hostPlatform.system;
config.allowUnfree = true;
overlays = [
(_final: _prev: {
@@ -70,7 +70,7 @@ in
];
};
wip = import inputs.nixpkgs-wip-consolidated {
- inherit (final) system;
+ system = prev.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
};
flake.nix
@@ -190,7 +190,7 @@
system:
let
pkgs = import inputs.nixpkgs {
- inherit system;
+ system = system;
config.allowAliases = false;
overlays = [
self.overlays.additions
@@ -233,7 +233,7 @@
name = "Emacs Lisp byte-compile";
entry =
let
- pkgs = import inputs.nixpkgs { inherit system; };
+ pkgs = import inputs.nixpkgs { system = system; };
# Create a wrapper that runs Emacs byte-compilation
elisp-check = pkgs.writeShellScript "elisp-check" ''
${pkgs.emacs}/bin/emacs --batch \
@@ -262,7 +262,7 @@
default =
let
pkgs = import inputs.nixpkgs {
- inherit system;
+ system = system;
config.allowUnfree = true;
};
in