aboutsummaryrefslogtreecommitdiff
path: root/default.nix
blob: 11d6ca7b4b02f52a01865716da46b27c74c6c18a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
let 
  sources = import ./nix/sources.nix;
  nixpkgs-mozilla = import sources.nixpkgs-mozilla;
  pkgs = import sources.nixpkgs {
    overlays =
      [
        nixpkgs-mozilla
        (self: super:
        {
          rustc = self.latest.rustChannels.nightly.rust;
          cargo = self.latest.rustChannels.nightly.rust;
        }
        )
      ];
    };
  naersk = pkgs.callPackage sources.naersk {};
in
  naersk.buildPackage ./.