Fortran-FOSS-Programmers / Fortran-FOSS-Programmers/ford

Ford doesn't work when installed using nix/nixos

Open
#734 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
458
Forks
138
PR merge metrics
No merged PRs in 30d

Description

There's following problem. All data installed by nix is marked read-only both files and directories. And when ford copies static data using shutils permissions are preserved. So when kord tries to write data into read-only directories it predictably fails.

I have small patch which add write by owner bit after copying and it fixes this issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce Ford installed through nix/NixOS and trace the static-data copy path used by shutil. Confirm that copied files and directories can be written by Ford at runtime, then run the repository's available tests or a minimal documentation-generation check to verify the installation no longer fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
nixos, python
Domain
documentation, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.