From 0d0f4a8dcf0ec4aaf0c6acb7328844ac3df9ff17 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Sun, 27 Mar 2022 14:48:59 +0200 Subject: [PATCH] [Overlays] Add nur Signed-off-by: Antoine Viallon --- overlays.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/overlays.nix b/overlays.nix index 22af3ad..7fbda5b 100644 --- a/overlays.nix +++ b/overlays.nix @@ -3,6 +3,7 @@ with lib; let cfg = config.aviallon.overlays; unstable = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") { config = config.nixpkgs.config; }; + nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; }; optimizeWithFlags = pkg: flags: pkg.overrideAttrs (attrs: { NIX_CFLAGS_COMPILE = toString ([ (attrs.NIX_CFLAGS_COMPILE or "") ] ++ flags); @@ -61,6 +62,7 @@ in nixpkgs.overlays = [ (self: super: { inherit unstable; + inherit nur; }) (self: super: { nextcloud-client = optimizeForThisHost (super.nextcloud-client.overrideAttrs (old: { @@ -114,11 +116,6 @@ in enableWideVine = true; }; }) - # (self: super: { - # nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { - # inherit pkgs; - # }; - # }) ]; aviallon.programs.allowUnfreeList = [