mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #326347 from gcleroux/bazecor-1.4.0
This commit is contained in:
commit
43439d8318
@ -6,12 +6,12 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
pname = "bazecor";
|
pname = "bazecor";
|
||||||
version = "1.3.11";
|
version = "1.4.0";
|
||||||
src = appimageTools.extract {
|
src = appimageTools.extract {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Dygmalab/Bazecor/releases/download/v${version}/Bazecor-${version}-x64.AppImage";
|
url = "https://github.com/Dygmalab/Bazecor/releases/download/v${version}/Bazecor-${version}-x64.AppImage";
|
||||||
hash = "sha256-iMurQDF0CBMnJnjmEgNIKYd8C5B4FguMi4Jqa3dHr3o=";
|
hash = "sha256-BKTOWpQT+5DCbPl+lQvbGBtpfRe098BJmQr+bMMMjKg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Workaround for https://github.com/Dygmalab/Bazecor/issues/370
|
# Workaround for https://github.com/Dygmalab/Bazecor/issues/370
|
||||||
@ -19,7 +19,7 @@ let
|
|||||||
substituteInPlace \
|
substituteInPlace \
|
||||||
$out/usr/lib/bazecor/resources/app/.webpack/main/index.js \
|
$out/usr/lib/bazecor/resources/app/.webpack/main/index.js \
|
||||||
--replace-fail \
|
--replace-fail \
|
||||||
'checkUdev=()=>{try{if(c.default.existsSync(f))return c.default.readFileSync(f,"utf-8").trim()===l.trim()}catch(e){console.error(e)}return!1}' \
|
'checkUdev=()=>{try{if(c.default.existsSync(f))return c.default.readFileSync(f,"utf-8").trim()===d.trim()}catch(e){u.default.error(e)}return!1}' \
|
||||||
'checkUdev=()=>{return 1}'
|
'checkUdev=()=>{return 1}'
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user