about summary refs log tree commit diff
path: root/pkgs/profpatsch/importDhall.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2022-02-28 15:17:53 +0100
committerProfpatsch <mail@profpatsch.de>2022-02-28 15:49:28 +0100
commite79084dd8bd64b9dccb0b98a99e58ac4f084d3ca (patch)
tree922eb933aca55d1a37c1dac6668fc3e2abcee986 /pkgs/profpatsch/importDhall.nix
parentdf2425d6e964dc94038786d91e53c511dbb305cc (diff)
pkgs/profpatsch: remove easy-dhall-nix, use dhall from nixpkgs
Diffstat (limited to 'pkgs/profpatsch/importDhall.nix')
-rw-r--r--pkgs/profpatsch/importDhall.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/profpatsch/importDhall.nix b/pkgs/profpatsch/importDhall.nix
index d1028c41..4334be3c 100644
--- a/pkgs/profpatsch/importDhall.nix
+++ b/pkgs/profpatsch/importDhall.nix
@@ -1,4 +1,4 @@
-{ pkgs, dhall-nix, dhall-json, exactSource }:
+{ pkgs, exactSource }:
 let
 
   # import the dhall file as nix expression via dhall-nix.
@@ -40,7 +40,7 @@ let
         # TODO: This is a bit of a hack hrm.
         cd "${src}"
         printf '%s' ${pkgs.lib.escapeShellArg "${src}/${main} : ${type}"} \
-          | ${dhall-nix}/bin/dhall-to-nix \
+          | ${pkgs.dhall-nix}/bin/dhall-to-nix \
           > $out
       '';
     in import convert;
@@ -52,7 +52,7 @@ let
     let
       convert = pkgs.runCommandLocal "dhall-to-json" {} ''
         printf '%s' ${pkgs.lib.escapeShellArg "${file} : ${dhallType}"} \
-          | ${dhall-json}/bin/dhall-to-json \
+          | ${pkgs.dhall-json}/bin/dhall-to-json \
           > $out
       '';
     in builtins.fromJSON (builtins.readFile convert);