diff options
Diffstat (limited to 'org/config_nix.org')
| -rw-r--r-- | org/config_nix.org | 20 | 
1 files changed, 8 insertions, 12 deletions
| diff --git a/org/config_nix.org b/org/config_nix.org index 2ef18e5..8e2a830 100644 --- a/org/config_nix.org +++ b/org/config_nix.org @@ -54,6 +54,9 @@        ];        inherit system;      }; +    preBuild = '' +      export HOME=$(pwd) +    '';      installPhase = ''        runHook preInstall        mkdir -p $out/bin @@ -80,9 +83,6 @@            inherit devEnv;            buildInputs = [sqlite];            nativeBuildInputs = [dub ldc gnumake]; # [ dub dmd ]; [ dub ldc ]; [ dub gdc ]; -          preBuild = '' -            export HOME=$(pwd) -          '';            buildPhase = ''              runHook preBuild              for DC_ in dmd ldmd2 ldc2 gdc gdmd; do @@ -95,6 +95,7 @@              dub build --cache=local --compiler=$DC --build=$DC_ --combined --skip-registry=all              runHook postBuild            ''; +          inherit preBuild;            inherit checkPhase;            inherit installPhase;            inherit postInstall; @@ -109,14 +110,12 @@            inherit devEnv;            buildInputs = [sqlite];            nativeBuildInputs = [dub dmd gnumake]; -          preBuild = '' -            export HOME=$(pwd) -          '';            buildPhase = ''              runHook preBuild              dub build --cache=local --compiler=$(type -P dmd) --build=dmd --combined --skip-registry=all              runHook postBuild            ''; +          inherit preBuild;            inherit checkPhase;            inherit installPhase;            inherit postInstall; @@ -131,14 +130,12 @@            inherit devEnv;            buildInputs = [sqlite];            nativeBuildInputs = [dub ldc gnumake]; -          preBuild = '' -            export HOME=$(pwd) -          '';            buildPhase = ''              runHook preBuild              dub build --cache=local --compiler=$(type -P ldc2) --build=ldc2 --combined --skip-registry=all              runHook postBuild            ''; +          inherit preBuild;            inherit checkPhase;            inherit installPhase;            inherit postInstall; @@ -153,14 +150,12 @@            inherit devEnv;            buildInputs = with pkgs; [sqlite];            nativeBuildInputs = with pkgs; [dub ldc gnumake]; -          preBuild = '' -            export HOME=$(pwd) -          '';            buildPhase = ''              runHook preBuild              dub build --cache=local --compiler=$(type -P ldc2) --build=ldc2 --combined --skip-registry=all              runHook postBuild            ''; +          inherit preBuild;            inherit checkPhase;            inherit installPhase;            inherit postInstall; @@ -180,6 +175,7 @@          #    dub build --cache=local --compiler=$(type -P gdc) --build=gdc --combined --skip-registry=all          #    runHook postBuild          #  ''; +        #  inherit preBuild;          #  inherit checkPhase;          #  inherit installPhase;          #  inherit postInstall; | 
