Created
January 9, 2019 17:11
-
-
Save samrose/d08de89a368feec7213ef30fc5f7775a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#via https://gist.githubusercontent.com/thefloweringash/cc73f3a545fe0cdcfb16fb05dd4ba570/raw/6b9789c1089643d1099ec1bf076dda0b45b76661/hydra.nix | |
self: super: { | |
hydra = | |
let | |
pkgs = import <nixpkgs> {}; | |
notDarcs = pkgs.writeShellScriptBin "darcs" '' | |
echo "Stub darcs for unspported platform" | |
exit 1 | |
''; | |
in (super.hydra.override { | |
darcs = notDarcs; | |
}).overrideAttrs (attrs: { | |
doCheck = false; # it tries to check darcs | |
}); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment