about summary refs log tree commit diff
path: root/corepkgs
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-06-25T11·27+0200
committerEelco Dolstra <edolstra@gmail.com>2019-06-25T11·27+0200
commit88571219d97f2bdfdbafcff25ef6ee424b0b008f (patch)
tree76030dc84fb2ac15d0fbc28fb7f6198a240c8d57 /corepkgs
parent09dde33c19129b949a064d35e248a3e318178b08 (diff)
nix-channel: Don't fetch binary-cache-url
This has been ignored since the Perl->C++ rewrite.
Diffstat (limited to 'corepkgs')
-rw-r--r--corepkgs/unpack-channel.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/corepkgs/unpack-channel.nix b/corepkgs/unpack-channel.nix
index a654db40e62a..d39a20637818 100644
--- a/corepkgs/unpack-channel.nix
+++ b/corepkgs/unpack-channel.nix
@@ -18,21 +18,17 @@ let
       if [ * != $channelName ]; then
         mv * $out/$channelName
       fi
-      if [ -n "$binaryCacheURL" ]; then
-        mkdir $out/binary-caches
-        echo -n "$binaryCacheURL" > $out/binary-caches/$channelName
-      fi
     '';
 
 in
 
-{ name, channelName, src, binaryCacheURL ? "" }:
+{ name, channelName, src }:
 
 derivation {
   system = builtins.currentSystem;
   builder = shell;
   args = [ "-e" builder ];
-  inherit name channelName src binaryCacheURL;
+  inherit name channelName src;
 
   PATH = "${nixBinDir}:${coreutils}";