···15 Note that this uses "import from derivation", meaning that Nix will perform
16 a build during the evaluation phase if you use this `dhallToNix` utility
17*/
18-{ stdenv, dhall-nix }:
1920let
21 dhallToNix = code :
22 let
23- file = builtins.toFile "dhall-expression" code;
2425 drv = stdenv.mkDerivation {
26 name = "dhall-compiled.nix";
···15 Note that this uses "import from derivation", meaning that Nix will perform
16 a build during the evaluation phase if you use this `dhallToNix` utility
17*/
18+{ stdenv, dhall-nix, writeText }:
1920let
21 dhallToNix = code :
22 let
23+ file = writeText "dhall-expression" code;
2425 drv = stdenv.mkDerivation {
26 name = "dhall-compiled.nix";