nixfmt-rfc-style

There is nothing in this commit except for the changes made by
nix-shell -p nixfmt-rfc-style --run "nixfmt ."

If this has mucked up your open branches then sorry about that. You
can probably nixfmt them to match before merging
This commit is contained in:
Daniel Barlow
2025-02-10 21:55:08 +00:00
parent 13cc5a8992
commit 7e2b0068e6
211 changed files with 6049 additions and 4355 deletions

View File

@@ -12,30 +12,40 @@
openssl,
rxi-json,
makeWrapper,
stdenv
stdenv,
}:
let name = "tangc";
in stdenv.mkDerivation {
let
name = "tangc";
in
stdenv.mkDerivation {
inherit name;
src = ./.;
buildInputs = [fetch-freebsd rxi-json openssl lua jose];
buildInputs = [
fetch-freebsd
rxi-json
openssl
lua
jose
];
nativeBuildInputs = [ makeWrapper ];
buildPhase = "";
installPhase = ''
mkdir -p $out/bin
cp -p ${writeFennel name {
packages = [
fetch-freebsd
rxi-json
fennel
anoia
lualinux
jose
] ;
mainFunction = "run";
} ./tangc.fnl } $out/bin/${name}
cp -p ${
writeFennel name {
packages = [
fetch-freebsd
rxi-json
fennel
anoia
lualinux
jose
];
mainFunction = "run";
} ./tangc.fnl
} $out/bin/${name}
wrapProgram $out/bin/${name} --set JOSE_BIN ${jose}/bin/jose
'';
}