summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorAndrew Marshall <andrew@johnandrewmarshall.com>2024-04-02 18:56:14 -0400
committerAndrew Marshall <andrew@johnandrewmarshall.com>2024-04-02 19:26:16 -0400
commit49e6c686f870addfd89b7fc3af68141a57659aee (patch)
treedc29c2dc38accae36118436bd6288842069dd8e7 /pkgs/development/python-modules/rangehttpserver
parent269f5806e0523962932659a454ff097a27f526f5 (diff)
mdadm: Fix hardcoded directory
In [upstream change][1], handling of creating `/run/mdadm/creating-%s` file was changed to fail if it was unable to create the file. This revealed that the path itself incorrectly hardcodes `/run/mdadm` instead of using `MAP_DIR` or similar. Since nixpkgs sets `RUN_DIR=/run/.mdadm` at compile time, and `MAP_DIR=$(RUN_DIR)` in upstream, the `/run/mdadm` is never created. This remedies by fixing the hard-coded directory. [1]: https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=9f376da6439b07dc93ae084ab576e133b9d8d839
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions