Skip to content

Commit

Permalink
fix: call postInstall in installPhase (#20)
Browse files Browse the repository at this point in the history
As installPhase is defined in default.nix, don't forget to call
postInstall at the end of it.
  • Loading branch information
mycroft committed Jun 14, 2024
1 parent 95cea3c commit edac329
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/dagger/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ stdenvNoCC.mkDerivation {
installPhase = ''
mkdir -p $out/bin
cp -vr ./dagger $out/bin/dagger
runHook postInstall
'';
postInstall = ''
installShellCompletion --cmd dagger \
Expand Down

0 comments on commit edac329

Please sign in to comment.