mirror of
https://github.com/wlcx/home.git
synced 2026-09-09 17:58:22 +01:00
zbar: copy locally and fix for macos aarch64
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{ pkgs }:
|
||||
pkgs.writeShellScriptBin "qrclip" ''
|
||||
let zbar = pkgs.mypkgs.zbar.override { enableVideo = false; };
|
||||
in pkgs.writeShellScriptBin "qrclip" ''
|
||||
set -eo pipefail
|
||||
${pkgs.pngpaste}/bin/pngpaste - | ${pkgs.zbar}/bin/zbarimg --raw -q1 -
|
||||
${pkgs.pngpaste}/bin/pngpaste - | ${zbar}/bin/zbarimg --raw -q1 -
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user