diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2015-05-09 00:58:18 +0000 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2015-05-17 20:15:09 -0400 |
commit | 45052c02a8b27f76a0a4ad9d43a37f7e23d637eb (patch) | |
tree | e7ee2e3317c6c55d7a421699760d4a66fa35656b /pkgs/build-support/agda | |
parent | 705c4d7b49a7a824be70b6ead4799dfe328df783 (diff) |
agda: Replace `eval` with `runHook`
This is what haskell-ng does, so I figure it is the right thing to do.
Diffstat (limited to 'pkgs/build-support/agda')
-rw-r--r-- | pkgs/build-support/agda/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/build-support/agda/default.nix b/pkgs/build-support/agda/default.nix index a137704a30c77..03a417a37847b 100644 --- a/pkgs/build-support/agda/default.nix +++ b/pkgs/build-support/agda/default.nix @@ -69,22 +69,22 @@ in # configurePhase is idempotent configurePhase = '' - eval "$preConfigure" + runHook preConfigure export PATH="${self.agdaWrapper}/bin:$PATH" - eval "$postConfigure" + runHook postConfigure ''; buildPhase = '' - eval "$preBuild" + runHook preBuild ${Agda}/bin/agda ${self.buildFlags} ${self.everythingFile} - eval "$postBuild" + runHook postBuild ''; installPhase = '' - eval "$preInstall" + runHook preInstall mkdir -p $out/share/agda cp -pR ${unwords self.sourceDirectories} ${mapInside self.topSourceDirectories} $out/share/agda - eval "$postInstall" + runHook postInstall ''; }; in stdenv.mkDerivation |