This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# chezmoi install script | |
# contains code from and inspired by | |
# https://github.com/client9/shlib | |
# https://github.com/goreleaser/godownloader | |
set -e | |
BINDIR="${BINDIR:-./bin}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This script installs the Nix package manager on your system by | |
# downloading a binary distribution and running its installer script | |
# (which in turn creates and populates /nix). | |
{ # Prevent execution if this script was only partially downloaded | |
oops() { | |
echo "$0:" "$@" >&2 | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# shellcheck shell=dash | |
# If you need an offline install, or you'd prefer to run the binary directly, head to | |
# https://github.com/DeterminateSystems/nix-installer/releases then pick the version and platform | |
# most appropriate for your deployment target. | |
# | |
# This is just a little script that selects and downloads the right `nix-installer`. It does | |
# platform detection, downloads the installer, and runs it; that's it. | |
# |
OlderNewer