mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +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
|
||||
$DRY_RUN_CMD nix-env --profile "${profileDirectory}" --switch-generation "''${BASH_REMATCH[1]}"
|
||||
else
|
||||
$DRY_RUN_CMD nix-env --profile "${profileDirectory}" --set "$generationDir"
|
||||
$DRY_RUN_CMD nix-env --profile "${profileDirectory}" --set "$(realpath "$generationDir")"
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue