Skip to content

Commit b42de1a

Browse files
committed
fix: add experimental flake command config
1 parent 5e327bd commit b42de1a

8 files changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ ifd_check () {
5959
6060
# TODO import nixConfig from nix flakes
6161
nixConfig = {
62+
allow-import-from-derivation = "true";
63+
extra-experimental-features = "nix-command flakes";
6264
# This sets the flake to use nix cache.
6365
# Nix should ask for permission before using it,
6466
# but remove it here if you do not want it to.
@@ -76,7 +78,6 @@ ifd_check () {
7678
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
7779
"hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0="
7880
];
79-
allow-import-from-derivation = "true";
8081
};
8182
}
8283
EOF

hix-plutus/flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969

7070
# --- Flake Local Nix Configuration ----------------------------
7171
nixConfig = {
72+
extra-experimental-features = "nix-command flakes";
73+
allow-import-from-derivation = "true";
7274
# This sets the flake to use nix cache.
7375
# Nix should ask for permission before using it,
7476
# but remove it here if you do not want it to.
@@ -86,6 +88,5 @@
8688
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
8789
"hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0="
8890
];
89-
allow-import-from-derivation = "true";
9091
};
9192
}

hix/flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
# --- Flake Local Nix Configuration ----------------------------
2929
nixConfig = {
30+
extra-experimental-features = "nix-command flakes";
31+
allow-import-from-derivation = "true";
3032
# This sets the flake to use nix cache.
3133
# Nix should ask for permission before using it,
3234
# but remove it here if you do not want it to.
@@ -44,7 +46,6 @@
4446
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
4547
"hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0="
4648
];
47-
allow-import-from-derivation = "true";
4849
};
4950

5051
}

hor-plutus/flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161

6262
# --- Flake Local Nix Configuration ----------------------------
6363
nixConfig = {
64+
extra-experimental-features = "nix-command flakes";
65+
allow-import-from-derivation = "true";
6466
# This sets the flake to use nix cache.
6567
# Nix should ask for permission before using it,
6668
# but remove it here if you do not want it to.
@@ -78,6 +80,5 @@
7880
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
7981
"hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0="
8082
];
81-
allow-import-from-derivation = "true";
8283
};
8384
}

hor/flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636

3737
# --- Flake Local Nix Configuration ----------------------------
3838
nixConfig = {
39+
extra-experimental-features = "nix-command flakes";
40+
allow-import-from-derivation = "true";
3941
# This sets the flake to use nix cache.
4042
# Nix should ask for permission before using it,
4143
# but remove it here if you do not want it to.
@@ -53,6 +55,5 @@
5355
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
5456
"hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0="
5557
];
56-
allow-import-from-derivation = "true";
5758
};
5859
}

pix-ctl-full/flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213

214214
# --- Flake Local Nix Configuration ----------------------------
215215
nixConfig = {
216+
extra-experimental-features = "nix-command flakes";
216217
# This sets the flake to use nix cache.
217218
# Nix should ask for permission before using it,
218219
# but remove it here if you do not want it to.

pix-ctl/flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060

6161
# --- Flake Local Nix Configuration ----------------------------
6262
nixConfig = {
63+
extra-experimental-features = "nix-command flakes";
6364
# This sets the flake to use nix cache.
6465
# Nix should ask for permission before using it,
6566
# but remove it here if you do not want it to.

pix/flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656

5757
# --- Flake Local Nix Configuration ----------------------------
5858
nixConfig = {
59+
extra-experimental-features = "nix-command flakes";
5960
# This sets the flake to use nix cache.
6061
# Nix should ask for permission before using it,
6162
# but remove it here if you do not want it to.

0 commit comments

Comments
 (0)