forked from the-distro/ofborg
test-srcs: apply nixpkgs-fmt
This commit is contained in:
parent
6449f71ef8
commit
502f1dd627
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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; { };
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
lib = import ./lib;
|
lib = import ./lib;
|
||||||
foo.bar.packageA = {
|
foo.bar.packageA = { };
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue