diff options
Diffstat (limited to '')
-rw-r--r-- | shell.nix | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,10 +1,20 @@ let sources = import ./nix/sources.nix; pkgs = import sources.nixpkgs {}; + + dhall = pkgs.stdenv.mkDerivation rec { + name = "dhall-${version}"; + version = sources.dhall.version; + src = sources.dhall; + installPhase = '' + mkdir -p $out/bin + cp $src/* $out/bin/ + ''; + }; in pkgs.mkShell { buildInputs = with pkgs; [ binutils cmake gcc gnumake openssl pkgconfig rustup - niv + niv dhall ]; } |