Skip to content

Instantly share code, notes, and snippets.

@tomberek
tomberek / default.nix
Created Jul 19, 2019 — forked from dmjio/default.nix
Nix release builder
View default.nix
# Function which takes a list of packages to install and creates a
# tarball which contains the full list of dependencies of those paths,
# and a script which will install them.
#
# For example, here's how you would create a tarball packaging up
# python3 and nodejs:
#
#
# let
# pkgs = import <nixpkgs> {};