summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/languages-frameworks/dhall.section.md2
-rw-r--r--pkgs/development/interpreters/dhall/build-dhall-url.nix4
-rw-r--r--pkgs/test/dhall/default.nix1
3 files changed, 2 insertions, 5 deletions
diff --git a/doc/languages-frameworks/dhall.section.md b/doc/languages-frameworks/dhall.section.md
index 20470e337c1..4ea26682d56 100644
--- a/doc/languages-frameworks/dhall.section.md
+++ b/doc/languages-frameworks/dhall.section.md
@@ -345,7 +345,7 @@ $ dhall-to-nixpkgs directory ~/proj/dhall-semver
 ### Remote imports as fixed-output derivations {#ssec-dhall-remote-imports-as-fod}
 
 `dhall-to-nixpkgs` has the ability to fetch and build remote imports as
-fixed-output derivations by using their Dhall integrity check.  This is
+fixed-output derivations by using their Dhall integrity check. This is
 sometimes easier than manually packaging all remote imports.
 
 This can be used like the following:
diff --git a/pkgs/development/interpreters/dhall/build-dhall-url.nix b/pkgs/development/interpreters/dhall/build-dhall-url.nix
index 54aa775ef14..5dce209a6b0 100644
--- a/pkgs/development/interpreters/dhall/build-dhall-url.nix
+++ b/pkgs/development/interpreters/dhall/build-dhall-url.nix
@@ -79,12 +79,10 @@ in
   runCommand name { } (''
     set -eu
 
-    mkdir -p ${cacheDhall}
+    mkdir -p ${cacheDhall} $out/${cacheDhall}
 
     export XDG_CACHE_HOME=$PWD/${cache}
 
-    mkdir -p $out/${cacheDhall}
-
     SHA_HASH="${dhall-hash}"
 
     HASH_FILE="''${SHA_HASH/sha256:/1220}"
diff --git a/pkgs/test/dhall/default.nix b/pkgs/test/dhall/default.nix
index 487e045bab5..bdb33acf023 100644
--- a/pkgs/test/dhall/default.nix
+++ b/pkgs/test/dhall/default.nix
@@ -3,4 +3,3 @@
 lib.recurseIntoAttrs {
   buildDhallUrl = callPackage ./buildDhallUrl { };
 }
-