mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-12-16 14:01:10 +01:00
parent
97e1e71b84
commit
3aa377bf01
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ in
|
||||||
if [[ $generationDir =~ ^${profileDirectory}-([0-9]+)-link$ ]]; then
|
if [[ $generationDir =~ ^${profileDirectory}-([0-9]+)-link$ ]]; then
|
||||||
$DRY_RUN_CMD nix-env --profile "${profileDirectory}" --switch-generation "''${BASH_REMATCH[1]}"
|
$DRY_RUN_CMD nix-env --profile "${profileDirectory}" --switch-generation "''${BASH_REMATCH[1]}"
|
||||||
else
|
else
|
||||||
$DRY_RUN_CMD nix-env --profile "${profileDirectory}" --set "$generationDir"
|
$DRY_RUN_CMD nix-env --profile "${profileDirectory}" --set "$(realpath "$generationDir")"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue