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:
+3
-2
@@ -1,4 +1,5 @@
|
||||
# TODO: auto import everything
|
||||
{pkgs, ...}: {
|
||||
qrclip = pkgs.callPackage ./qrclip {};
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
qrclip = pkgs.callPackage ./qrclip { };
|
||||
}
|
||||
|
||||
+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