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.

19 lines
382 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. exec ${nixFlakes}/bin/nix --option experimental-features "nix-command flakes" "$@"
  7. '';
  8. in mkShell {
  9. buildInputs = [
  10. git
  11. ];
  12. shellHook = ''
  13. export FLAKE="$(pwd)"
  14. export PATH="$FLAKE/bin:${nixBin}/bin:$PATH"
  15. '';
  16. }