Skip to content

nix archive (*.nar) double commander packer plugin (unpack only)

License

Notifications You must be signed in to change notification settings

xBZZZZ/nix-archive-doublecmd

Repository files navigation

nix archive (*.nar) double commander packer plugin (unpack only)

how to install

note: double commander doesn't copy plugin file, don't delete nix-archive-doublecmd-linux-amd64.wcx after installing

  1. download nix-archive-doublecmd-linux-amd64.wcx from latest release or compile source code
  2. open double commander Options window
  3. select Plugins WCX left (←) side
  4. click Add
  5. open nix-archive-doublecmd-linux-amd64.wcx in file picker
  6. type nar in Enter extension window and click OK
  7. click OK in Options window

how to compile source code

note: don't use paths with shell or makefile special characters (like space)

  1. create folder where nix-archive-doublecmd-linux-amd64.wcx and intermediary files will be created:
    mkdir /tmp/asd
  2. cd /tmp/asd
  3. download and extract zig compiler binary from https://ziglang.org/download/
  4. download this repo:
    git clone --depth=1 https://github.com/xBZZZZ/nix-archive-doublecmd.git
  5. compile nix-archive-doublecmd-linux-amd64.wcx:
    nix-archive-doublecmd/makefile zig=/tmp/asd/zig-linux-x86_64-0.14.0-dev.2851+b074fb7dd/zig
    (replace /tmp/asd/zig-linux-x86_64-0.14.0-dev.2851+b074fb7dd/zig with zig executable path)