1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-18 10:03:03 +00:00

oscar: use stdenv.mkDerivation

This commit is contained in:
Tomo 2024-10-14 16:55:46 +00:00
parent 9f0e002ec1
commit 99a939f442

View file

@ -5,7 +5,7 @@
fetchFromGitLab,
libGLU,
}:
qt5.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "oscar";
version = "1.5.1";
@ -22,7 +22,10 @@ qt5.mkDerivation rec {
qt5.qtserialport
libGLU
];
nativeBuildInputs = [ qt5.qmake ];
nativeBuildInputs = [
qt5.wrapQtAppsHook
qt5.qmake
];
postPatch = ''
substituteInPlace oscar/oscar.pro --replace "/bin/bash" "${stdenv.shell}"
'';