summaryrefslogtreecommitdiff
path: root/shell.nix
blob: fd71b9be6b1a0545a2df4b4ea5055d393f599aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 dhall
  ];
}