Skip to content

Instantly share code, notes, and snippets.

@alphashuro
Last active Jun 17, 2022
Embed
What would you like to do?
a base for starting nix shell scripts
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
just # a command runner
];
shellHook = ''
echo nix shell!
'';
# MY_ENVIRONMENT_VARIABLE = "";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment