nix-helpers: 5b9c716f7253b4c93fef74669b5b4520cd0a454a

     1: # Turns a fixed-output derivation (like fetchgit or fetchurl) into a normal
     2: # derivation. This can be useful if we know its hash isn't going to work.
     3: { lib }:
     4: 
     5: drv:
     6: lib.overrideDerivation drv (old: {
     7:   outputHash = null;
     8:   outputHashAlgo = null;
     9:   outputHashMode = null;
    10:   sha256 = null;
    11: 
    12:   # We're not fixed-output, so we need to bypass the sandbox
    13:   __noChroot = true;
    14: })

Generated by git2html.