mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
bootstrap: refactor special args to reduce inputs
This commit is contained in:
parent
2ef9a7faa2
commit
b10dd78e18
4 changed files with 13 additions and 18 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ config, lib, pkgs, customPkgs, ... }:
|
||||
{ config, lib, pkgs, initialPackageInfo, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ let
|
|||
|
||||
login = pkgs.callPackage ./login.nix { inherit config; };
|
||||
|
||||
loginInner = pkgs.callPackage ./login-inner.nix { inherit config customPkgs; };
|
||||
loginInner = pkgs.callPackage ./login-inner.nix { inherit config initialPackageInfo; };
|
||||
in
|
||||
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright (c) 2019-2020, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ config, lib, customPkgs, writeText }:
|
||||
{ config, lib, initialPackageInfo, writeText }:
|
||||
|
||||
let
|
||||
inherit (customPkgs.packageInfo) cacert nix;
|
||||
inherit (initialPackageInfo) cacert nix;
|
||||
in
|
||||
|
||||
writeText "login-inner" ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue