Revert "fix: Remove |> operator to fix ci"
This reverts commit 6a7b5838bc.
This commit is contained in:
parent
ff78d71406
commit
4205a8bcb3
13 changed files with 122 additions and 167 deletions
|
|
@ -9,15 +9,13 @@
|
|||
{
|
||||
config = {
|
||||
environment.etc =
|
||||
with lib;
|
||||
pipe inputs [
|
||||
(mapAttrs' (
|
||||
name: value:
|
||||
lib.nameValuePair "nix/inputs/${name}" {
|
||||
source = value;
|
||||
}
|
||||
))
|
||||
];
|
||||
inputs
|
||||
|> lib.mapAttrs' (
|
||||
name: value:
|
||||
lib.nameValuePair "nix/inputs/${name}" {
|
||||
source = value;
|
||||
}
|
||||
);
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
|
|
@ -74,7 +72,9 @@
|
|||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
]
|
||||
++ (lib.optional config.lix.enable "pipe-operator")
|
||||
++ (lib.optional (!config.lix.enable) "pipe-operators");
|
||||
warn-dirty = false;
|
||||
system-features = [
|
||||
"kvm"
|
||||
|
|
@ -85,17 +85,15 @@
|
|||
};
|
||||
package = pkgs.nix;
|
||||
registry =
|
||||
with lib;
|
||||
pipe inputs [
|
||||
(filterAttrs (name: _value: name != "nixpkgs"))
|
||||
(mapAttrs (
|
||||
_name: value: {
|
||||
flake = lib.mkForce {
|
||||
outPath = value;
|
||||
};
|
||||
}
|
||||
))
|
||||
];
|
||||
inputs
|
||||
|> lib.filterAttrs (name: _value: name != "nixpkgs")
|
||||
|> lib.mapAttrs (
|
||||
_name: value: {
|
||||
flake = lib.mkForce {
|
||||
outPath = value;
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue