Skip to content

Instantly share code, notes, and snippets.

@onsah
Last active October 17, 2023 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onsah/ce74f5bc408fb42358f23280bc68ac9f to your computer and use it in GitHub Desktop.
Save onsah/ce74f5bc408fb42358f23280bc68ac9f to your computer and use it in GitHub Desktop.
Nix Shell Template
# Assumes, there is a channel called 'nixpkgs', see https://nixos.wiki/wiki/Nix_channels
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
# Package goes there
# You can search packages via `nix search $term` or from https://search.nixos.org/packages
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment