chore(3p/nix): Use packages from depot tree

This commit is contained in:
Vincent Ambo 2020-05-17 16:27:36 +01:00
parent 939cec746e
commit c94ef8d00b
3 changed files with 28 additions and 5 deletions

View file

@ -1,10 +1,9 @@
{ useClang ? false }:
with import (builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz) {};
let pkgs = (import <nixpkgs> {}).third_party;
in with pkgs;
with import ./release-common.nix { inherit pkgs; };
(if useClang then clangStdenv else stdenv).mkDerivation {
clangStdenv.mkDerivation {
name = "nix";
buildInputs = buildDeps ++ propagatedDeps ++ tarballDeps ++ perlDeps;