Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christopher League
nixvm
Commits
8d3c34e7
Commit
8d3c34e7
authored
Dec 22, 2018
by
Christopher League
Browse files
Fix use of strace
parent
c11c9293
Changes
1
Hide whitespace changes
Inline
Side-by-side
version.nix
View file @
8d3c34e7
...
...
@@ -20,11 +20,11 @@ let
[[ $(id -un) == root ]] || {
exec sudo -H $0 "$@"
}
set -o xtrace
latest=$(
${
pkgs
.
git
}
/bin/git ls-remote
${
repo
}
${
ref
}
|cut -f1)
if [[ "
${
hash
}
" == "$latest" ]]; then
echo Already up to date.
else
set -o xtrace
nix-channel --update liucs
nixos-rebuild switch
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment