dotfiles/scripts/.local/share/scripts/niv-init

6 lines
173 B
Bash
Executable File

#!/bin/sh
niv init
niv update nixpkgs -b nixpkgs-unstable
sed "s/pkgs ? import <nixpkgs>/sources ? import .\/nix\/sources.nix, pkgs ? import sources.nixpkgs/" -i shell.nix