summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrazazy2022-02-21 13:44:11 +0100
committerCrazazy2022-02-21 13:44:11 +0100
commitb247659dd2b4ae207225ba8025184aa770a728df (patch)
treeb2a2d185f517993674e5107086553ee93ad96d65
parent60f3268f6997ffa0a3d089dd0b7685182e5cc904 (diff)
make niv init faster
you can init niv without downloading nixpkgs in the first place
-rw-r--r--readme.org3
1 files changed, 1 insertions, 2 deletions
diff --git a/readme.org b/readme.org
index 1afbe4c..0dc8d10 100644
--- 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