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:
@@ -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
|
||||
'';
|
||||
}
|
||||
|
Reference in New Issue
Block a user