me
/
guix
Archived
1
0
Fork 0

build: Fix typo that would lead to hitting the socket name length limit.

* tests/guix-register.sh: Remove redundant $new_store in $NIX_STATE_DIR,
  introduced in 689142cd ("guix-register: Add '--state-directory'
  parameter.")  Reported by Eric Bavier <ericbavier@gmail.com> and
  Alen Skondro <askondro@gmail.com>.
master
Ludovic Courtès 2014-07-20 22:32:34 +02:00
parent 7779ab611d
commit 58f485cc80
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ guix-register -p "$new_store" \
# Now make sure this is recognized as valid.
ls -R "$new_store"
for state_dir in "$new_store$localstatedir/guix" "$new_store/chbouib"
for state_dir in "$localstatedir/guix" "/chbouib"
do
NIX_STORE_DIR="$new_store_dir"
NIX_STATE_DIR="$new_store$state_dir"