builtins.storePath the configured nix shell

This commit is contained in:
Graham Christensen 2018-08-08 09:04:18 -04:00
parent 8772eba53e
commit 5e2747cc13
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
4 changed files with 9 additions and 9 deletions

View file

@ -4,7 +4,7 @@ in {
success = derivation {
name = "success";
system = builtins.currentSystem;
builder = nix.shell;
builder = builtins.storePath nix.shell;
args = [
"-c"
"echo hi; printf '1\n2\n3\n4\n'; echo ${toString builtins.currentTime} > $out" ];
@ -13,7 +13,7 @@ in {
failed = derivation {
name = "failed";
system = builtins.currentSystem;
builder = nix.shell;
builder = builtins.storePath nix.shell;
args = [
"-c"
"echo hi; echo ${toString builtins.currentTime}" ];

View file

@ -4,7 +4,7 @@ in {
success = derivation {
name = "success";
system = builtins.currentSystem;
builder = nix.shell;
builder = builtins.storePath nix.shell;
args = [
"-c"
"echo hi; echo ${toString builtins.currentTime} > $out" ];
@ -13,7 +13,7 @@ in {
failed = derivation {
name = "failed";
system = builtins.currentSystem;
builder = nix.shell;
builder = builtins.storePath nix.shell;
args = [
"-c"
"echo hi; echo ${toString builtins.currentTime}" ];

View file

@ -4,7 +4,7 @@ in rec {
success = derivation {
name = "success";
system = builtins.currentSystem;
builder = nix.shell;
builder = builtins.storePath nix.shell;
args = [
"-c"
"echo hi; echo ${toString builtins.currentTime} > $out" ];
@ -13,7 +13,7 @@ in rec {
failed = derivation {
name = "failed";
system = builtins.currentSystem;
builder = nix.shell;
builder = builtins.storePath nix.shell;
args = [
"-c"
"echo hi; echo ${toString builtins.currentTime}; echo ${success}" ];
@ -22,7 +22,7 @@ in rec {
passes-instantiation = derivation {
name = "passes-instantiation";
system = builtins.currentSystem;
builder = nix.shell;
builder = builtins.storePath nix.shell;
args = [
"-c"
"echo this ones cool" ];

View file

@ -4,7 +4,7 @@ in rec {
success = derivation {
name = "success";
system = builtins.currentSystem;
builder = nix.shell;
builder = builtins.storePath nix.shell;
args = [
"-c"
"echo hi; echo ${toString builtins.currentTime} > $out" ];
@ -13,7 +13,7 @@ in rec {
failed = derivation {
name = "failed";
system = builtins.currentSystem;
builder = nix.shell;
builder = builtins.storePath nix.shell;
args = [
"-c"
"echo hi; echo ${toString builtins.currentTime}; echo ${success}" ];