Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
30e62efa
Commit
30e62efa
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
guix paths
parent
88f80ed6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-utils-guile
+8
-9
8 additions, 9 deletions
src/freedombone-utils-guile
with
8 additions
and
9 deletions
src/freedombone-utils-guile
+
8
−
9
View file @
30e62efa
...
...
@@ -174,11 +174,17 @@ function install_guix {
echo
$'guix directory var/guix not found'
exit
8726325
fi
mv
var/guix /var/
if
[
-d
/var/guix
]
;
then
rm
-rf
/var/guix
fi
mv
$INSTALL_DIR
/guix/var/guix /var/
if
[
!
-d
gnu
]
;
then
echo
$'guix gnu directory not found'
exit
743383235
fi
if
[
-d
/gnu
]
;
then
rm
-rf
/gnu
fi
mv
gnu /
ln
-sf
/var/guix/profiles/per-user/root/guix-profile /root/.guix-profile
...
...
@@ -195,7 +201,7 @@ function install_guix {
guixbuilder
$i
;
done
GUIX_DAEMON
=
$(
find
$INSTALL_DIR
/guix
-name
guix-daemon.service
)
GUIX_DAEMON
=
$(
find
/var
/guix
-name
guix-daemon.service
)
if
[
!
-f
$GUIX_DAEMON
]
;
then
echo
$"
$GUIX_DAEMON
"
echo
$'No guix systemd daemon found'
...
...
@@ -214,13 +220,6 @@ function install_guix {
if
[
!
-d
/usr/local/share/info
]
;
then
mkdir
-p
/usr/local/share/info
fi
cd
/usr/local/share/info
if
[
!
-d
/var/guix/profiles/per-user/root/guix-profile/share/info
]
;
then
echo
$'Directory not found /var/guix/profiles/per-user/root/guix-profile/share/info'
exit
7835202
fi
for
i
in
/var/guix/profiles/per-user/root/guix-profile/share/info/
*
;
do
ln
-s
$i
;
done
install_guix_user /root
install_guix_user /etc/skel
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment