mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
merge multiple extra-experimental-features args
This commit is contained in:
parent
b8ac792d3c
commit
3629a12231
2 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
let
|
||||
inherit (initialPackageInfo) cacert nix;
|
||||
|
||||
nixCmd = "${nix}/bin/nix --extra-experimental-features flakes --extra-experimental-features nix-command";
|
||||
nixCmd = "${nix}/bin/nix --extra-experimental-features 'flakes nix-command'";
|
||||
in
|
||||
|
||||
writeText "login-inner" ''
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!@bash@/bin/bash
|
||||
|
||||
# Copyright (c) 2019-2021, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
PATH=@coreutils@/bin:@nix@/bin:${PATH:+:}$PATH
|
||||
|
||||
|
|
@ -136,7 +136,7 @@ while [[ $# -gt 0 ]]; do
|
|||
shift
|
||||
;;
|
||||
-F|--flake)
|
||||
PASSTHROUGH_OPTS+=(--extra-experimental-features flakes --extra-experimental-features nix-command)
|
||||
PASSTHROUGH_OPTS+=(--extra-experimental-features "flakes nix-command")
|
||||
# add "nixOnDroidConfigurations." as prefix in attribute name, e.g.
|
||||
# /path/to/flake#device -> /path/to/flake#nixOnDroidConfigurations.device
|
||||
FLAKE_CONFIG_URI="${1%#*}#nixOnDroidConfigurations.${1#*#}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue