Last active
December 4, 2017 19:30
-
-
Save boxofrox/8b5c71ec29c477108809d868f8acda3e to your computer and use it in GitHub Desktop.
Installing pijul 0.8.3 on NixOS
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
# Setup rust overlay to gain access to rust nightlies with fix for jobserver error | |
cd $HOME | |
git clone https://github.com/mozilla/nixpkgs-mozilla.git | |
cd nixpkgs-mozilla | |
./rust-overlay-install.sh | |
# Install rust nightly (swap nixos with nixpkgs if not on NixOS?) | |
nix-env -iA nixos.latest.rustChannels.nightly.rust | |
# Setup environment to link openssl | |
nix-shell -p openssl -p pkgconfig | |
# Install pijul 0.8.3 from crates.io | |
cargo install --vers=0.8.3 pijul | |
# Fetch pijul repo | |
cd ~ | |
~/.cargo/bin/pijul clone https://nest.pijul.com/pijul_org/pijul | |
# Build pijul from master branch (build 0.8.3 + fixes for pijul checkout) | |
cd pijul/pijul | |
cargo install -f | |
~/.cargo/bin/pijul --version | |
pijul 0.8.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment