nix-on-droid/pkgs/lib/load-nixpkgs.nix

17 lines
583 B
Nix

# Copyright (c) 2019-2020, see AUTHORS. Licensed under MIT License, see LICENSE.
let
defaultNixpkgsArgs = {
config = { };
overlays = [ ];
};
# head of nixos-19.09 as of 2019-11-28
# note: when updating nixpkgs, update store paths of proot-termux in modules/environment/login/default.nix
pinnedPkgsSrc = builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/73fb59dbb89ed5f754249761dcd99c6ccbd24bb5.tar.gz";
sha256 = "0fp85c907qw1qnxs40dx4yas9z5fqr9gszk4nazx90hwbimyk6n6";
};
in
args: import pinnedPkgsSrc (args // defaultNixpkgsArgs)