Skip to content

Instantly share code, notes, and snippets.

@samueldr
Created July 2, 2019 17:13
Show Gist options
  • Save samueldr/903bd09b74a5ef580ffac112b822d50c to your computer and use it in GitHub Desktop.
Save samueldr/903bd09b74a5ef580ffac112b822d50c to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {} }:
(pkgs.mkShell.override { stdenv = pkgs.stdenvNoCC; }) {
buildInputs = with pkgs;[ which ];
shellHook = ''
(IFS=:; for p in $PATH; do echo $p; done)
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment