Skip to content

nix run .#regenerate-files fails (missing .attrs.sh) #200

@tripplilley

Description

@tripplilley
$ nix run .#regenerate-files
error: builder for '/nix/store/0gh34k924ii1n986w0m5sacq9430i7yv-regenerate-files.drv' failed with exit code 1;
       last 1 log lines:
       > bash: line 1: /tmp/nix-build-regenerate-files.drv-0/.attrs.sh: No such file or directory
       For full logs, run 'nix log /nix/store/0gh34k924ii1n986w0m5sacq9430i7yv-regenerate-files.drv'.

I'm still relatively new to Nix, Nickel, and Organist, so I fully allow this might be operator error.

My project.ncl is bone stock output from nix flake init -t github:nickel-lang/organist and I have done nix run .#regenerate-lockfile. I've tried this both from within and without a nix develop shell.

let inputs = import "./nickel.lock.ncl" in
let organist = inputs.organist in

{
  shells = organist.shells.Bash,

  shells.build = {
    packages = {},
  },

  shells.dev = {
    packages.hello = organist.import_nix "nixpkgs#hello",
  },
}
  | organist.OrganistExpression

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