mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
sway: set version and pname attribute
This commit is contained in:
parent
83267ae441
commit
6bed76a2a9
|
@ -31,8 +31,10 @@ let
|
|||
exec ${lib.optionalString dbusSupport "${dbus}/bin/dbus-run-session"} ${lib.getExe sway} "$@"
|
||||
fi
|
||||
'';
|
||||
in symlinkJoin {
|
||||
name = "${sway.meta.mainProgram}-${sway.version}";
|
||||
in symlinkJoin rec {
|
||||
pname = lib.replaceStrings ["-unwrapped"] [""] sway.pname;
|
||||
inherit (sway) version;
|
||||
name = "${pname}-${version}";
|
||||
|
||||
paths = (optional withBaseWrapper baseWrapper)
|
||||
++ [ sway ];
|
||||
|
|
Loading…
Reference in a new issue