1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

dhallPackages.buildDhallUrl: small formatting fixes

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Dennis Gosnell 2021-11-01 13:44:50 +09:00 committed by GitHub
parent 06a3718bc9
commit 2e1d84e9fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 5 deletions

View file

@ -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:

View file

@ -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}"

View file

@ -3,4 +3,3 @@
lib.recurseIntoAttrs {
buildDhallUrl = callPackage ./buildDhallUrl { };
}