Add niv init script

This commit is contained in:
coolneng 2021-05-24 17:02:59 +02:00
parent afaf220e98
commit 23c85ccb2b
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/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