You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
218 B
Bash

#!/bin/sh -e
cd "$(dirname "$0")" || exit
overlay_dir=$HOME/.config/nixpkgs/overlays
name=rust-overlay.nix
echo Installing $name as an overlay
set -x
mkdir -p "$overlay_dir"
ln -s "$PWD/$name" "$overlay_dir/$name"