3
0
Fork 0
forked from mirrors/nixpkgs

buildRustCrateTests: fix some formatting issues

This commit is contained in:
Andreas Rammhold 2020-01-21 17:32:48 +01:00
parent d6a8b55fb0
commit 406e0c9d51
No known key found for this signature in database
GPG key ID: E432E410B5E48C86

View file

@ -1,17 +1,17 @@
{ lib, buildRustCrate, runCommand, writeTextFile, symlinkJoin, callPackage, releaseTools }:
let
mkCrate = args: let
p = {
crateName = "nixtestcrate";
version = "0.1.0";
authors = [ "Test <test@example.com>" ];
} // args;
in buildRustCrate p;
p = {
crateName = "nixtestcrate";
version = "0.1.0";
authors = [ "Test <test@example.com>" ];
} // args;
in buildRustCrate p;
mkFile = destination: text: writeTextFile {
name = "src";
destination = "/${destination}";
inherit text;
mkFile = destination: text: writeTextFile {
name = "src";
destination = "/${destination}";
inherit text;
};
mkBin = name: mkFile name ''