mirror of
https://github.com/NixOS/bundlers.git
synced 2024-09-11 07:05:23 +03:00
add warning
This commit is contained in:
parent
da6944052e
commit
1ec758bb4d
@ -76,11 +76,12 @@
|
||||
listToAttrs (map
|
||||
(name: {
|
||||
inherit name;
|
||||
value = {system,program}@drv: self.bundlers.${system}.${name}
|
||||
value = builtins.trace "The bundler API has been updated to require the form `bundlers.<system>.<name>`. The previous API will be deprecated in Nix 2.7. See `https://github.com/NixOS/nix/pull/5456/`"
|
||||
({system,program}@drv: self.bundlers.${system}.${name}
|
||||
(drv // {
|
||||
name = baseNameOf drv.program;
|
||||
outPath = dirOf (dirOf drv.program);
|
||||
});
|
||||
}));
|
||||
})
|
||||
(attrNames n.x86_64-linux))
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user