mirror of
https://github.com/NixOS/bundlers.git
synced 2024-09-11 07:05:23 +03:00
not really known
e858819e6e
This allows nix 2.8 and up to use the default bundler. I don't actually know what the pre Nix2.6 bundler API was, I simply tested this by trying bundle hello with the command nix bundle nixpkgs#hello --bundler .# while having nixpkgs#nixVersions.nix_2_{5,6,7,8} in path. This seems to work with the listed nix versions, but there might be some other cases where it doesn't. I'm not knowledgeable enough to test. |
||
---|---|---|
report | ||
COPYING | ||
flake.lock | ||
flake.nix | ||
README.md |
Nix Bundlers
Bundlers are a way to transform derivations. The most common and default usage is based on the original by matthewbauer. Each bundler is function over a value (usually a derivation) that produces another derivation.
$ nix bundle --bundler github:NixOS/bundlers nixpkgs#hello
How to contribute
Main purpose of this repository is to collect most common bundlers to make common use-cases easy. For this purpose the collection of bundlers is limited to provided an opinionated and curated list.
TODO: bundlers should be also discoverable on search.nixos.org
Opening issues
- Make sure you have a GitHub account
- Make sure there is no open issue on the topic
- Submit a new issue
What is required to submit a bundler?
Note: This section is a WIP
Each bundler is a function that generally takes a derivation and produces a derivation as an output.
Inspired by
License
Note: contributing implies licensing those contributions under the terms of COPYING, which is the MIT license.