buildRustCrateTests: fix some formatting issues
This commit is contained in:
parent
d6a8b55fb0
commit
406e0c9d51
@ -1,17 +1,17 @@
|
|||||||
{ lib, buildRustCrate, runCommand, writeTextFile, symlinkJoin, callPackage, releaseTools }:
|
{ lib, buildRustCrate, runCommand, writeTextFile, symlinkJoin, callPackage, releaseTools }:
|
||||||
let
|
let
|
||||||
mkCrate = args: let
|
mkCrate = args: let
|
||||||
p = {
|
p = {
|
||||||
crateName = "nixtestcrate";
|
crateName = "nixtestcrate";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
authors = [ "Test <test@example.com>" ];
|
authors = [ "Test <test@example.com>" ];
|
||||||
} // args;
|
} // args;
|
||||||
in buildRustCrate p;
|
in buildRustCrate p;
|
||||||
|
|
||||||
mkFile = destination: text: writeTextFile {
|
mkFile = destination: text: writeTextFile {
|
||||||
name = "src";
|
name = "src";
|
||||||
destination = "/${destination}";
|
destination = "/${destination}";
|
||||||
inherit text;
|
inherit text;
|
||||||
};
|
};
|
||||||
|
|
||||||
mkBin = name: mkFile name ''
|
mkBin = name: mkFile name ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user