Skip to content

Skips build/evaluation based on modification date of nix files.

Notifications You must be signed in to change notification settings

numtide/nix-eval-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-eval-cache

Status: alpha

skips build/evaluation based on modification date of nix files.

Usage:

$ cat > foo.nix <<EOF
with import <nixpkgs> {};
pkgs.hello
EOF
$ cargo build
$ time ./target/debug/nix-eval-cache result nix-build foo.nix
/nix/store/g124820p9hlv4lj8qplzxw1c44dxaw1k-hello-2.12
./target/debug/nix-eval-cache result nix-build foo.nix  0,42s user 0,12s system 82% cpu 0,657 total
$ time ./target/debug/nix-eval-cache result nix-build foo.nix
skip build
./target/debug/nix-eval-cache result nix-build foo.nix  0,00s user 0,01s system 91% cpu 0,009 total

About

Skips build/evaluation based on modification date of nix files.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published