I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
384 B

3 years ago
  1. # This file is controlled by /etc/dotfiles/README.org
  2. { pkgs ? import <nixpkgs> { } }:
  3. with pkgs;
  4. let
  5. nixBin = writeShellScriptBin "nix" ''
  6. ${nixFlakes}/bin/nix --option experimental-features "nix-command flakes" "$@"
  7. '';
  8. in mkShell {
  9. buildInputs = [
  10. vi
  11. git
  12. ];
  13. shellHook = ''
  14. export FLAKE="$(pwd)"
  15. export PATH="$FLAKE/bin:${nixBin}/bin:$PATH"
  16. '';
  17. }