1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

chore: format with alejandra

This commit is contained in:
2022-03-10 21:52:12 +01:00
parent 13727abfd6
commit d37e90cb97
159 changed files with 4239 additions and 3405 deletions

View File

@@ -1,5 +1,9 @@
{ ruby, stdenv, bundlerEnv, fetchFromGitHub }:
let
{
ruby,
stdenv,
bundlerEnv,
fetchFromGitHub,
}: let
src = fetchFromGitHub {
owner = "kmein";
repo = "bvg";
@@ -13,12 +17,13 @@ let
lockfile = "${src.out}/Gemfile.lock";
gemset = "${src.out}/gemset.nix";
};
in stdenv.mkDerivation {
name = "bvg";
buildInputs = [ env.wrappedRuby ];
script = "${src.out}/bvg.rb";
buildCommand = ''
install -D -m755 $script $out/bin/bvg
patchShebangs $out/bin/bvg
'';
}
in
stdenv.mkDerivation {
name = "bvg";
buildInputs = [env.wrappedRuby];
script = "${src.out}/bvg.rb";
buildCommand = ''
install -D -m755 $script $out/bin/bvg
patchShebangs $out/bin/bvg
'';
}