brave: remove duplicating arguments

This commit is contained in:
Bintang 2024-04-12 21:42:31 +07:00
parent 88328366a3
commit dd6d24ac8d
No known key found for this signature in database
GPG Key ID: 929ED6C40414D3F5
2 changed files with 4 additions and 24 deletions

View File

@ -1,17 +1,7 @@
# Expression generated by update.sh; do not edit it by hand!
{ stdenv, callPackage
{ stdenv, callPackage, ... }@args:
# Package customization:
, commandLineArgs ? ""
, pulseSupport ? stdenv.isLinux
, libvaSupport ? stdenv.isLinux
, vulkanSupport ? false
}:
callPackage ./make-brave.nix
{
inherit commandLineArgs pulseSupport libvaSupport vulkanSupport;
}
callPackage ./make-brave.nix (removeAttrs args [ "callPackage" ])
(
if stdenv.isAarch64 then
{

View File

@ -19,19 +19,9 @@ hashAmd64="$(nix hash to-sri --type sha256 \
cat > $SCRIPT_DIR/default.nix << EOF
# Expression generated by update.sh; do not edit it by hand!
{ stdenv, callPackage
{ stdenv, callPackage, ... }@args:
# Package customization:
, commandLineArgs ? ""
, pulseSupport ? stdenv.isLinux
, libvaSupport ? stdenv.isLinux
, vulkanSupport ? false
}:
callPackage ./make-brave.nix
{
inherit commandLineArgs pulseSupport libvaSupport vulkanSupport;
}
callPackage ./make-brave.nix (removeAttrs args [ "callPackage" ])
(
if stdenv.isAarch64 then
{