feat: introduce treefmt and fmt all

This commit is contained in:
steveej 2024-11-15 10:17:56 +01:00
parent 80250b0179
commit 27c6c4f9fa
237 changed files with 5440 additions and 5214 deletions

View file

@ -1,27 +1,27 @@
with import <nixpkgs> {};
stdenv.mkDerivation rec {
broken = true;
with import <nixpkgs> { };
stdenv.mkDerivation rec {
broken = true;
name = "browserpass";
version = "2.0.9";
name = "browserpass";
version = "2.0.9";
src = fetchzip {
url = "https://github.com/dannyvankooten/browserpass/releases/download/${version}/${name}-linux64.zip";
sha256 = "1nygcfjhyrcvbdmz4hjphcnmr4lm9y24lpdkdcjix6vbsjs0hipw";
stripRoot = false;
};
src = fetchzip {
url = "https://github.com/dannyvankooten/browserpass/releases/download/${version}/${name}-linux64.zip";
sha256 = "1nygcfjhyrcvbdmz4hjphcnmr4lm9y24lpdkdcjix6vbsjs0hipw";
stripRoot = false;
};
buildPhase = ":";
buildPhase = ":";
libPath = lib.makeLibraryPath [];
installPhase = ''
set -x
patchelf --set-interpreter ${glibc}/lib/ld-linux-x86-64.so.2 browserpass-linux64
libPath = lib.makeLibraryPath [ ];
installPhase = ''
set -x
patchelf --set-interpreter ${glibc}/lib/ld-linux-x86-64.so.2 browserpass-linux64
mkdir -p $out/bin
cp -a * $out/bin/
# wrapProgram $out/bin/browserpass-linux64 \
# --prefix LD_LIBRARY_PATH : "${libPath}"
#
'';
}
mkdir -p $out/bin
cp -a * $out/bin/
# wrapProgram $out/bin/browserpass-linux64 \
# --prefix LD_LIBRARY_PATH : "${libPath}"
#
'';
}