Commit 99a939f4 authored by Tomo's avatar Tomo
Browse files

oscar: use stdenv.mkDerivation

parent 9f0e002e
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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}"
  '';