Skip to content

support for lockfiles #28

@teto

Description

@teto

Though it's quite rare to see in the wild, luarocks supports lockfiles:
https://github.com/luarocks/luarocks/wiki/Pinning-versions-with-a-lock-file

Only example I know is:
https://github.com/luarocks/luarocks-site/blob/master/luarocks.lock

this is a lua file but simple enough that it can be parsed robustly (at least more easily than the rockspec).
This means it could be parsed directly via nix and in the case we are interested in fetching only dependencies (like in neorocks). The interesting aspect of this for luarocks-nix is to pin dependencies but it could be interesting for nixpkgs too.

cc @mrcjkb

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