remove unnecessary recursive attribute sets

This commit is contained in:
Timothy DeHerrera 2020-02-01 21:10:09 -07:00
parent 36a555f807
commit a67ca5d03b
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
3 changed files with 4 additions and 5 deletions

View File

@ -9,7 +9,7 @@ let
inherit (builtins) attrValues removeAttrs;
config = hostName:
lib.nixosSystem rec {
lib.nixosSystem {
inherit system;
specialArgs.usr = { inherit utils; };

View File

@ -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";

View File

@ -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;
};