Skip to content

ostree planner does not understand --no-start-daemon/$NIX_INSTALLER_START_DAEMON=false  #1297

@lina-bh

Description

@lina-bh

I am attempting to add Nix to a universal blue image (https://github.com/ublue-os/image-template), but I cannot stop the installer from erroring out when it does not see a running systemd. Installing on a live system works fine. No combination of --no-start-daemon or $NIX_INSTALLER_START_DAEMON=false will get it to start installing.

ENV NIX_INSTALLER_EXTRA_CONF="extra-trusted-users = @wheel\n"
ENV NIX_INSTALLER_NO_CONFIRM=true
ENV NIX_INSTALLER_START_DAEMON=false
RUN set -o pipefail && \
    curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
    sh -s -- install ostree --no-start-daemon
[2/2] STEP 8/16: RUN set -o pipefail &&     curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix |     sh -s -- install ostree --no-start-daemon
info: downloading installer (https://install.determinate.systems/nix/tag/v0.28.0/nix-installer-x86_64-linux)
error: unexpected argument '--no-start-daemon' found

Usage: nix-installer install ostree [OPTIONS]

For more information, try '--help'.
Error: building at STEP "RUN set -o pipefail &&     curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix |     sh -s -- install ostree --no-start-daemon": while running runtime: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions