Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 7517bd0

Browse files
committed
fix: remove env var usage for build command
This makes little sense anyway (do you really want to build an environment when in it?) and caused issues with the build job.
1 parent 3fee240 commit 7517bd0

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

minikube-build.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,10 @@ spec:
1111
template:
1212
spec:
1313
restartPolicy: Never
14-
# Prevent Kubernetes setting `NIXSTER_SERVICE_*` environment variables
15-
# which makes the `nixster` CLI tool complain about unrecognised options
16-
# because of the `NIXTER_` prefix clash.
17-
enableServiceLinks: false
1814
initContainers:
1915
# Create the `profiles` directory
2016
# This is a workaround which could be avoided by a fix in the `nixster` app
21-
- name: init-nix-volumne
17+
- name: init-nix-volume
2218
image: busybox
2319
command: ["sh", "-c", "mkdir -p /nixroot/nix/profiles/"]
2420
volumeMounts:

src/cli.ts

-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ yargs
183183
alias: 'd',
184184
default: false
185185
})
186-
.env('NIXSTER')
187186
.option('store', {
188187
describe: 'The Nix store to be built into.',
189188
type: 'string',

0 commit comments

Comments
 (0)