mirror of
https://github.com/wlcx/home.git
synced 2026-09-15 12:38:22 +01:00
nix: use nixfmt-rfc-style
This commit is contained in:
+10
-7
@@ -2,11 +2,14 @@
|
||||
pkgs,
|
||||
lib,
|
||||
stdenv,
|
||||
}: let
|
||||
zbar = pkgs.zbar.override {enableVideo = false;};
|
||||
}:
|
||||
let
|
||||
zbar = pkgs.zbar.override { enableVideo = false; };
|
||||
in
|
||||
(pkgs.writeShellScriptBin "qrclip" ''
|
||||
set -eo pipefail
|
||||
${pkgs.pngpaste}/bin/pngpaste - | ${zbar}/bin/zbarimg --raw -q1 -
|
||||
'')
|
||||
// {meta.platforms = lib.platforms.darwin;}
|
||||
(pkgs.writeShellScriptBin "qrclip" ''
|
||||
set -eo pipefail
|
||||
${pkgs.pngpaste}/bin/pngpaste - | ${zbar}/bin/zbarimg --raw -q1 -
|
||||
'')
|
||||
// {
|
||||
meta.platforms = lib.platforms.darwin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user