summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--shell.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/shell.nix b/shell.nix
index bcb9f47..fd71b9b 100644
--- a/shell.nix
+++ b/shell.nix
@@ -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
];
}