Skip to content

Commit b6fe99d

Browse files
committed
goverlay: distro info
1 parent 8a5a751 commit b6fe99d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkgs/by-name/go/goverlay/package.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
libGLU,
1414
libnotify,
1515
libX11,
16+
lsb-release,
1617
nix-update-script,
1718
polkit,
1819
procps,
@@ -46,7 +47,9 @@ stdenv.mkDerivation rec {
4647
substituteInPlace overlayunit.pas \
4748
--replace-fail '/usr/share/icons/hicolor/128x128/apps/goverlay.png' "$out/share/icons/hicolor/128x128/apps/goverlay.png" \
4849
--replace-fail '/sbin/ip' "${lib.getExe' iproute2 "ip"}" \
49-
--replace-fail '/bin/bash' "${lib.getExe' bash "bash"}"
50+
--replace-fail '/bin/bash' "${lib.getExe' bash "bash"}" \
51+
--replace-fail '/usr/lib/os-release' '/etc/os-release' \
52+
--replace-fail 'lsb_release' "${lib.getExe' lsb-release "lsb_release"} 2> /dev/null"
5053
'';
5154

5255
nativeBuildInputs = [

0 commit comments

Comments
 (0)