mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
Use user name of user module
This commit is contained in:
parent
a1a8485578
commit
0647fc2535
1 changed files with 2 additions and 2 deletions
|
|
@ -47,8 +47,8 @@ stdenv.mkDerivation {
|
|||
PKG_NIX=$(find ${buildRootDirectory}/nix/store -path '*/bin/nix' | sed 's,^${buildRootDirectory},,')
|
||||
PKG_NIX=''${PKG_NIX%/bin/nix}
|
||||
|
||||
USER=nix-on-droid ${prootCommand} "$PKG_NIX/bin/nix-store" --init
|
||||
USER=nix-on-droid ${prootCommand} "$PKG_NIX/bin/nix-store" --load-db < .reginfo
|
||||
USER=${config.user.userName} ${prootCommand} "$PKG_NIX/bin/nix-store" --init
|
||||
USER=${config.user.userName} ${prootCommand} "$PKG_NIX/bin/nix-store" --load-db < .reginfo
|
||||
|
||||
cat > package-info.nix <<EOF
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue