summaryrefslogtreecommitdiff
path: root/shell.nix
blob: c59c4066516a5705c4ab5260240bbf94cb2ab855 (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
      cp -r $src/* $out/
    '';
  };
in
pkgs.mkShell {
  buildInputs = with pkgs; [
    binutils cmake gcc gnumake openssl pkgconfig rustup
    niv dhall
  ];
}