mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
985aa8174d
`appimageTools.wrapType2` no longer creates a binary `$out/bin/${name}` if `pname` and `version` is provided. Derivations that have worked around this behavior with a `mv $out/bin/{${name},${pname}}` broke as a result. This should fix most instances. contex: #271071
11 lines
148 B
Nix
11 lines
148 B
Nix
{ pname
|
|
, version
|
|
, src
|
|
, meta
|
|
, appimageTools
|
|
}:
|
|
appimageTools.wrapType2 rec {
|
|
inherit pname version src meta;
|
|
name = "${pname}-${version}";
|
|
}
|