Skip to content

Commit dbf267d

Browse files
committed
Dont use tmp on CI
1 parent fb4be1b commit dbf267d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
test-templates = pkgs.writeShellApplication {
130130
name = "test-templates";
131131
text = ''
132-
env -i PATH="${
132+
env -i CI="$CI" PATH="${
133133
with pkgs;
134134
lib.makeBinPath [
135135
direnv

test-templates.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
base="$PWD"
66
function test_template() {
77
set -vaeuo pipefail
8-
env
98
template="$1"
109
echo "===== $template =====" | tr '[:print:]' '='
1110
echo "|| $template ||"
@@ -16,6 +15,8 @@ function test_template() {
1615
else
1716
out="$HOME"
1817
fi
18+
env
19+
1920
mkdir -p "$HOME/.config/nix"
2021
echo "extra-experimental-features = nix-command flakes" >"$HOME/.config/nix/nix.conf"
2122

0 commit comments

Comments
 (0)