diff options
author | Luke Granger-Brown <git@lukegb.com> | 2023-01-23 20:08:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-23 20:08:27 +0000 |
commit | 4988397b32a5f1d0021954217e193709afedf715 (patch) | |
tree | 7cbd76b8258ba5148bb21a2f3fdc257b80b6991c /pkgs/applications/misc | |
parent | 02d3fe64189055ef8ae3528eb8404d17dd4ce7a8 (diff) | |
parent | 9a1a1f1faa9edc7548dabd3727576609673b60c7 (diff) |
Merge pull request #212209 from lukegb/yubioath-flutter-lite
yubioath-flutter: flutter itself should not be in the closure
Diffstat (limited to 'pkgs/applications/misc')
-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"; |