summaryrefslogtreecommitdiff
path: root/shell.nix
blob: 70c8edd12414fe9e4a999b4d3fd9dd4b9f30acb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
let

  sources = import ./nix/sources.nix;

  nixpkgs = sources."nixpkgs-unstable";

  pkgs = import nixpkgs {};

  nix-dependencies = import ./nix-dependencies { nixpkgs = pkgs; } ;
  update-deps = import ./nix-import-tools { nixpkgs = pkgs; } ;

in pkgs.mkShell rec {

  name = "hello-nix";

  buildInputs = with pkgs; [
     niv
     update-deps
     cargo
     nix-dependencies
  ];

  shellHook = ''
     alias just-mr="just-mr --rc ${nix-dependencies}/share/rc.json"
  '';

}