Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Cannot run makes on NixOS systems which configure programs.git #979

@kraftnix

Description

@kraftnix

Problem

I am unable to run any makes commands in any NixOS system which uses NixOS to configure git (resulting in a read-only ~/.config/git/config file).

Reproduction Steps

  1. Have a read-only ~/.config/git/config or configure NixOS with programs.git.config.*
  2. Run nix run github:fluidattacks/makes -- m github:fluidattacks/makes /helloWorld 1 2 3
error: could not lock config file /home/kraftnix/.config/git/config: Read-only file system

if you remove/move .config/git/config then the command works as expected.

Expected Result

I should be able to run makes on NixOS under a user with a read-only config or NixOS configured config.

I looked through the current documentation and issues and found nothing related to this problem.

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