-
-
Save LnL7/12b22b67db146f7ae33ed484a16e0f64 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
{ pkgs ? import <nixpkgs> {} }: | |
pkgs.stdenv.mkDerivation { | |
name = "foo"; | |
unpackPhase = ":"; | |
postHook = '' | |
fooPhase() { | |
echo "Whoops!" >&2 | |
} | |
failureHooks+=(fooPhase) | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment