4 ms·
I use Nix: https://bou.ke/blog/nix/ https://bou.ke/blog/nix/ I'm able to have the same shell with all my Vim plugins across macOS and Linux with changes commit
by bouk 4y ago
I use Nix: https://bou.ke/blog/nix/ https://bou.ke/blog/nix/
I'm able to have the same shell with all my Vim plugins across macOS and Linux with changes committed to git. It's been so good, setting up all my command-line tooling now takes about 15 minutes from scratch.
- JamesSwift 4y agoNice writeup, just wanted to comment in case you hadn't thought of it, that you can achieve a nix-shebang with flakes by adding a wrapper script. e.g. foo_wrapper.sh: #!/usr/bin/env bash readonly gitsha="..." nix shell nixpkgs/${gitsha}#bash nixpkgs/${gitsha}#{foo-pkg} nixpkgs/${gitsha}#{bar-pkg} -c bash foo.sh $@