Skip to content

BUG: $ arion -p $absolutePath not working #268

@izelnakri

Description

@izelnakri

arion cli version: 0.2.1.0

Hi there,

When I supply:

$ arion up -f /home/izelnakri/.config/home-manager/containers/arion-compose.nix -p /home/izelnakri/.config/home-manager/containers/arion-pkgs.nix

I get:

error:
       … in the left operand of the update (//) operator
         at /nix/store/pvqsjhfadkq0cwy0zgx5cp9vjrgjzbvz-arion-0.2.1.0-data/share/ghc-9.6.6/x86_64-linux-ghc-9.6.6/arion-compose-0.2.1.0/nix/eval-composition.nix:33:15:
           32|   # Typically you need composition.config.out.dockerComposeYaml
           33|   composition // {
             |               ^
           34|     # throw in lib and pkgs for repl conveniencewhile calling the 'import' builtin
         at /nix/store/pvqsjhfadkq0cwy0zgx5cp9vjrgjzbvz-arion-0.2.1.0-data/share/ghc-9.6.6/x86_64-linux-ghc-9.6.6/arion-compose-0.2.1.0/nix/eval-composition.nix:7:15:
            6|   pkgs = if builtins.typeOf _pkgs == "path"
            7|          then import _pkgs
             |               ^
            8|          else if builtins.typeOf _pkgs == "set"

       error: path '/home/izelnakri/arion-pkgs.nix' does not exist

arion argument parser for -p need to improve, probably along with -f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions