From 23c85ccb2b308fb73f294d03baeb19b1fe740735 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 24 May 2021 17:02:59 +0200 Subject: [PATCH] Add niv init script --- scripts/.local/share/scripts/niv-init | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/.local/share/scripts/niv-init diff --git a/scripts/.local/share/scripts/niv-init b/scripts/.local/share/scripts/niv-init new file mode 100755 index 0000000..861b4f6 --- /dev/null +++ b/scripts/.local/share/scripts/niv-init @@ -0,0 +1,5 @@ +#!/bin/sh + +niv init +niv update nixpkgs -b nixpkgs-unstable +sed "s/pkgs ? import /sources ? import .\/nix\/sources.nix, pkgs ? import sources.nixpkgs/" -i shell.nix