commit b247659dd2b4ae207225ba8025184aa770a728df
parent 60f3268f6997ffa0a3d089dd0b7685182e5cc904
Author: Crazazy <crazazy@tilde.cafe>
Date: Mon, 21 Feb 2022 13:44:11 +0100
make niv init faster
you can init niv without downloading nixpkgs in the first place
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/readme.org b/readme.org
@@ -21,12 +21,11 @@ You can then install required dependencies with [[shell:./bootstrap.sh &][the bo
#+begin_src sh :tangle bootstrap.sh :tangle-mode (identity #o755)
#!/usr/bin/env nix-shell
#!nix-shell -p niv -i bash
- niv init
+ niv init --no-nixpkgs
#+end_src
Then, we remove the default stuff that niv comes with by default
#+begin_src sh :tangle bootstrap.sh
- niv drop nixpkgs
niv drop niv
#+end_src
** Adding dependencies