installer: make configuration writable
If the installer is built from a channel or url the example is copied from the store and won't have write permissions.
This commit is contained in:
parent
cdab52bbe8
commit
49b899dd97
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ stdenv.mkDerivation {
|
|||
echo "copying example configuration.nix" >&2
|
||||
mkdir -p "$HOME/.nixpkgs"
|
||||
cp "${toString ../../modules/examples/simple.nix}" "$config"
|
||||
chmod u+w "$config"
|
||||
fi
|
||||
|
||||
# Skip when stdin is not a tty, eg.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue