From 1d92f4686c4803c802dce66804eba9ebe61efc1a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 13 Oct 2020 11:57:29 -0400 Subject: Move nix files into Biz.Bild namespace --- nix/sources-overlay.nix | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 nix/sources-overlay.nix (limited to 'nix/sources-overlay.nix') diff --git a/nix/sources-overlay.nix b/nix/sources-overlay.nix deleted file mode 100644 index b19bb34..0000000 --- a/nix/sources-overlay.nix +++ /dev/null @@ -1,16 +0,0 @@ -_: pkgs: - -rec { - pinnedDeps = builtins.attrNames - (builtins.removeAttrs pkgs.sources ["__functor"]); - overridePinnedDeps = builder: pkgs.lib.genAttrs pinnedDeps builder; - - # Modifies a derivation with our source and version, keeping old build - # rules. This will fail if build steps have changed, or if no build - # rules are available upstream.. - overrideSource = name: pkgs.${name}.overrideAttrs (old: old // rec { - name = "${name}-${version}"; - version = pkgs.sources.${name}.version or pkgs.sources.${name}.rev; - src = pkgs.sources.${name}; - }); -} -- cgit v1.2.3