Commit Graph

8 Commits

Author SHA1 Message Date
Tom Bereknyei
3476034902 fix: protect drv if it cannot be converted to a string 2022-12-28 15:02:26 -05:00
Tom Bereknyei
aa68785e30 fix: provide fallback for name 2022-12-28 13:54:28 -05:00
bad
e858819e6e Fix default bundler not working with nix 2.8
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.
2022-06-17 12:57:48 +02:00
Tom Bereknyei
e3f787e5d1 remove unrelated comments 2022-02-08 02:20:04 -05:00
Tom Bereknyei
1ec758bb4d add warning 2022-02-04 08:39:14 -05:00
Tom Bereknyei
da6944052e Hacks to support both bundler APIs 2022-01-25 02:47:31 -05:00
Tom Bereknyei
13ac2bd539 add nix-bundle as default 2022-01-24 22:39:21 -05:00
Tom Bereknyei
9899904b5a initial bundlers 2021-10-31 14:15:16 -04:00