mirror of
https://github.com/NixOS/nix
synced 2025-07-01 08:28:00 +02:00
Make the file cache keyed on SourcePath
This commit is contained in:
parent
bc57bd2202
commit
cd893a22f5
7 changed files with 28 additions and 47 deletions
|
@ -1,7 +1,7 @@
|
|||
{ command, renderLinks ? false }:
|
||||
|
||||
with builtins;
|
||||
with import ./utils.nix;
|
||||
with import <nix/utils.nix>;
|
||||
|
||||
let
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ dummy-env = env -i \
|
|||
NIX_STATE_DIR=/dummy \
|
||||
NIX_CONFIG='cores = 0'
|
||||
|
||||
nix-eval = $(dummy-env) $(bindir)/nix eval --experimental-features nix-command -I nix/corepkgs=corepkgs --store dummy:// --impure --raw
|
||||
nix-eval = $(dummy-env) $(bindir)/nix eval --experimental-features nix-command -I nix=doc/manual --store dummy:// --impure --raw
|
||||
|
||||
$(d)/%.1: $(d)/src/command-ref/%.md
|
||||
@printf "Title: %s\n\n" "$$(basename $@ .1)" > $^.tmp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue