Skip to content

example system doesn't work. #85

@wucke13

Description

@wucke13

To Reproduce

I ran these commands:

git clone https://github.com/serokell/deploy-rs
cd deploy-rs/examples/system/
nix build .#nixosConfigurations.bare.config.system.build.vm
QEMU_NET_OPTS=hostfwd=tcp::2221-:22 ./result/bin/run-bare-system-vm &
nix run github:serokell/deploy-rs 

Error

And got this error:

🚀 ℹ️ [deploy] [INFO] Running checks for flake in .
warning: unknown flake output 'deploy'
error: attribute 'activate' missing

       at /nix/store/frx9n1lwlhvl6ab3hm6mnq69yid117xz-source/examples/system/flake.nix:38:18:

           37|           sshUser = "hello";
           38|           path = deploy-rs.lib.x86_64-linux.activate.custom self.defaultPackage.x86_64-linux "./bin/activate";
             |                  ^
           39|           user = "hello";
(use '--show-trace' to show detailed location information)
🚀 ❌ [deploy] [ERROR] Failed to check deployment: Nix checking command resulted in a bad exit code: Some(1)

About my system

  • system: "x86_64-linux"
  • host os: Linux 5.11.11, NixOS, 20.09.4021.2685792d396 (Nightingale)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.4pre20210326_dd77f71
  • channels(root): "nixos-20.09.4021.2685792d396, nixos-unstable-21.05pre285574.8e4fe32876c"
  • channels(wucke13): ""
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

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