GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use --store-dir for haskell · Issue #3501 · pre-commit/pre-commit

Use --store-dir for haskell #3501

New issue
Copy link
New issue
Copy link
Open
Open
Use --store-dir for haskell#3501
Copy link

Description

@Freed-Wu
Freed-Wu
opened on Jul 23, 2025
Issue body actions

search you tried in the issue tracker

store-dir

describe your actual problem

I use https://github.com/NixOS/nixfmt 's pre-commit hook:

❯ ldd /home/wzy/.cache/pre-commit/repob1vcsmt9/hs_env-default/bin/nixfmt
        linux-vdso.so.1 (0x00007f673f4c1000)
        /usr/$LIB/librl_custom_function.so => /usr/lib/librl_custom_function.so (0x00007f673f469000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f673f371000)
        libHSsafe-exceptions-0.1.7.4-3Z5aHvleGFbLTLwdzNM383-ghc9.4.8.so => /usr/lib/libHSsafe-exceptions-0.1.7.4-3Z5aHvleGFbLTLwdzNM383-ghc9.4.8.so (0x00007f673f359000)
        libHSnixfmt-1.0.0-b1605426f403e509c1ae87e6b7c6d168f2b86090ec32a7676c1d258cfb68b7b0-ghc9.4.8.so => /home/wzy/.cabal/store/ghc-9.4.8/nixfmt-1.0.0-b1605426f403e509c1ae87e6b7c6d168f2b86090ec32a7676c1d258cfb68b7b0/lib/libHSnixfmt-1.0.0-b1605426f403e509c1ae87e6b7c6d168f2b86090ec32a7676c1d258cfb68b7b0-ghc9.4.8.so (0x00007f673f18f000)
        ...

/home/wzy/.cabal/store/ghc-9.4.8/ is not system path (normal user can delete it), and also outside of ~/.cache/pre-commit.

Why not use --store-dir=/home/wzy/.cache/pre-commit/repob1vcsmt9/hs_env-default/store/ghc-9.4.8/?

pre-commit --version

4.2.0

Activity

  1. asottile commented on Jul 23, 2025

    @asottile
    asottile
    on Jul 23, 2025
    Member
    More actions

    please actually fill out the issue template. "yes" does not lead to any useful issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.