diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-08-29 23:20:59 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-08-29 23:31:50 +0200 |
commit | 86d1953ed4a5317e6d103aaa08bc622d7e5fb34a (patch) | |
tree | 6dc83576dec23d8651f4095b996e884c585b9b22 /pkgs | |
parent | 3996aa89534b7960034fb19eeb15bc62bfe3a289 (diff) | |
download | nixlib-86d1953ed4a5317e6d103aaa08bc622d7e5fb34a.tar nixlib-86d1953ed4a5317e6d103aaa08bc622d7e5fb34a.tar.gz nixlib-86d1953ed4a5317e6d103aaa08bc622d7e5fb34a.tar.bz2 nixlib-86d1953ed4a5317e6d103aaa08bc622d7e5fb34a.tar.lz nixlib-86d1953ed4a5317e6d103aaa08bc622d7e5fb34a.tar.xz nixlib-86d1953ed4a5317e6d103aaa08bc622d7e5fb34a.tar.zst nixlib-86d1953ed4a5317e6d103aaa08bc622d7e5fb34a.zip |
build-rebar3: Append postPatch to original hook
The postPatch attribute is already in the function argument but is unused elsewhere in the code, so setting postPatch with buildRebar3 is going to end up in a no-op. This now allows to use postPatch within buildRebar3 by simply appending to the existing postPatch hook that removes the rebar and rebar3 escripts. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @ericbmerritt
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/beam-modules/build-rebar3.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/beam-modules/build-rebar3.nix b/pkgs/development/beam-modules/build-rebar3.nix index ac40b76a78af..f783683cd4a5 100644 --- a/pkgs/development/beam-modules/build-rebar3.nix +++ b/pkgs/development/beam-modules/build-rebar3.nix @@ -49,7 +49,7 @@ let postPatch = '' rm -f rebar rebar3 - ''; + '' + postPatch; configurePhase = if configurePhase == null then '' |