Skip to content

Instantly share code, notes, and snippets.

@boxofrox
Last active December 4, 2017 19:30
Show Gist options
  • Save boxofrox/8b5c71ec29c477108809d868f8acda3e to your computer and use it in GitHub Desktop.
Save boxofrox/8b5c71ec29c477108809d868f8acda3e to your computer and use it in GitHub Desktop.
Installing pijul 0.8.3 on NixOS
# 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