diff options
author | Luke Granger-Brown <git@lukegb.com> | 2023-01-23 03:55:02 +0000 |
---|---|---|
committer | Luke Granger-Brown <git@lukegb.com> | 2023-01-23 03:55:02 +0000 |
commit | 9a1a1f1faa9edc7548dabd3727576609673b60c7 (patch) | |
tree | 059e0b2269d4832f48332cef5a68b5b638c99ec8 /pkgs/applications/misc/yubioath-flutter | |
parent | eb88ec04094d51e2ce308a69a304fa0a065c6e81 (diff) |
yubioath-flutter: flutter itself should not be in the closure for yubioath-flutter
Diffstat (limited to 'pkgs/applications/misc/yubioath-flutter')
-rw-r--r-- | pkgs/applications/misc/yubioath-flutter/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/misc/yubioath-flutter/default.nix b/pkgs/applications/misc/yubioath-flutter/default.nix index 6b58dd1caf5db..bac11b6899b37 100644 --- a/pkgs/applications/misc/yubioath-flutter/default.nix +++ b/pkgs/applications/misc/yubioath-flutter/default.nix @@ -6,6 +6,7 @@ , pcre2 , gnome , makeWrapper +, removeReferencesTo }: let vendorHashes = { @@ -64,16 +65,25 @@ flutter.mkFlutterApp rec { substituteInPlace "$out/share/applications/com.yubico.authenticator.desktop" \ --replace "@EXEC_PATH/authenticator" "$out/bin/yubioath-flutter" \ --replace "@EXEC_PATH/linux_support/com.yubico.yubioath.png" "$out/share/icons/com.yubico.yubioath.png" + + # Remove unnecessary references to Flutter. + remove-references-to -t ${flutter.unwrapped} $out/app/data/flutter_assets/shaders/ink_sparkle.frag ''; nativeBuildInputs = [ makeWrapper + removeReferencesTo ]; buildInputs = [ pcre2 ]; + disallowedReferences = [ + flutter + flutter.unwrapped + ]; + meta = with lib; { description = "Yubico Authenticator for Desktop"; homepage = "https://github.com/Yubico/yubioath-flutter"; |