test-srcs: apply nixpkgs-fmt

This commit is contained in:
Daiderd Jordan 2020-11-07 19:15:53 +01:00
parent 6449f71ef8
commit 502f1dd627
No known key found for this signature in database
GPG key ID: D02435D05B810C96
5 changed files with 19 additions and 20 deletions

View file

@ -1,6 +1,7 @@
let let
builder = builtins.storePath <ofborg-test-bash>; builder = builtins.storePath <ofborg-test-bash>;
in { in
{
success = derivation { success = derivation {
name = "success"; name = "success";
system = builtins.currentSystem; system = builtins.currentSystem;

View file

@ -1,7 +1,6 @@
let let
builder = builtins.storePath <ofborg-test-bash>; builder = builtins.storePath <ofborg-test-bash>;
in in
{ {
success = derivation { success = derivation {
name = "success"; name = "success";

View file

@ -1,11 +1,11 @@
let let
fetchGit = builtins.fetchGit or (path: assert builtins.trace '' fetchGit = builtins.fetchGit or (path: assert builtins.trace ''
error: access to path '/fake' is forbidden in restricted mode error: access to path '/fake' is forbidden in restricted mode
'' false; path); ''
false; path);
builder = builtins.storePath <ofborg-test-bash>; builder = builtins.storePath <ofborg-test-bash>;
in in
{ nixpkgs ? fetchGit /fake }: { nixpkgs ? fetchGit /fake }:
rec { rec {
@ -39,5 +39,6 @@ rec {
fails-instantiation = assert builtins.trace '' fails-instantiation = assert builtins.trace ''
You just can't frooble the frozz on this particular system. You just can't frooble the frozz on this particular system.
'' false; {}; ''
false; { };
} }

View file

@ -1,7 +1,6 @@
let let
builder = builtins.storePath <ofborg-test-bash>; builder = builtins.storePath <ofborg-test-bash>;
in in
rec { rec {
success = derivation { success = derivation {
name = "success"; name = "success";

View file

@ -1,6 +1,5 @@
{ ... }: { ... }:
{ {
lib = import ./lib; lib = import ./lib;
foo.bar.packageA = { foo.bar.packageA = { };
};
} }