ubpm: set qmakeFlags
- Set `UPDATE_HIDE` and `UPDATE_DISABLE` as updates are to be handled by `nixpkgs` rather than the software itself. - Set `DISTRIBUTION` to mark the binary as being built/maintained via a Linux distribution.
This commit is contained in:
@@ -23,6 +23,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/sources";
|
||||
|
||||
qmakeFlags = [
|
||||
"DEFINES+=DISTRIBUTION"
|
||||
"DEFINES+=UPDATE_HIDE"
|
||||
"DEFINES+=UPDATE_DISABLE"
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapQtApp $out/bin/ubpm
|
||||
'';
|
||||
@@ -36,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
# *.so plugins are being wrapped automatically which breaks them
|
||||
dontWrapQtApps = true;
|
||||
|
||||
|
||||
buildInputs = [
|
||||
qt6.qtbase
|
||||
qt6.qtserialport
|
||||
|
||||
Reference in New Issue
Block a user