Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

stack-to-nix: Cache entry prevents generation of missing file #57

Copy link
Copy link
Open
@rvl

Description

@rvl
Issue body actions

There is a usability problem/bug with the stack-to-nix cache file.

Firstly, users don't understand what it is, and assume that this file is the real product of stack-to-nix (e.g. cardano-foundation/cardano-wallet@17485e1).

Secondly, after running stack-to-nix and then git commit -a -m "regenerate stuff", there may have been new .stack.nix/*.nix files that are not checked in to git and then lost.

Thirdly, after the .nix file is lost, but .stack-to-nix.cache is updated with an entry, the necessary file will never again be generated, and stack-to-nix will not work properly until the cache file is removed.

There need to be additional checks that cache entries are valid before using them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.