forked from pub-solar/os
remove unnecessary recursive attribute sets
This commit is contained in:
parent
36a555f807
commit
a67ca5d03b
|
@ -9,7 +9,7 @@ let
|
|||
inherit (builtins) attrValues removeAttrs;
|
||||
|
||||
config = hostName:
|
||||
lib.nixosSystem rec {
|
||||
lib.nixosSystem {
|
||||
inherit system;
|
||||
|
||||
specialArgs.usr = { inherit utils; };
|
||||
|
|
|
@ -5,7 +5,7 @@ let
|
|||
inherit (builtins) readFile toFile;
|
||||
|
||||
init = toFile "init.sh" "${readFile ./init.sh}";
|
||||
in buildRustPackage rec {
|
||||
in buildRustPackage {
|
||||
pname = "purs";
|
||||
version = "0.1.0";
|
||||
|
||||
|
|
|
@ -13,9 +13,8 @@
|
|||
# Patch libvirt to use ebtables-legacy
|
||||
libvirt = if prev.libvirt.version <= "5.4.0" && prev.ebtables.version
|
||||
> "2.0.10-4" then
|
||||
prev.libvirt.overrideAttrs (oldAttrs: rec {
|
||||
EBTABLES_PATH = "${final.ebtables}/bin/ebtables-legacy";
|
||||
})
|
||||
prev.libvirt.overrideAttrs
|
||||
(oldAttrs: { EBTABLES_PATH = "${final.ebtables}/bin/ebtables-legacy"; })
|
||||
else
|
||||
prev.libvirt;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue