friedow / centerpiece

Your trusty omnibox search.
MIT License
177 stars 6 forks source link

👷 init crane #6

Closed a-kenji closed 10 months ago

a-kenji commented 10 months ago

Use crane to build crates, since it drastically improves caching behavior.

This builds:

Also includes a checks attribute, that will build centerpiece, index-git-repositories and an unobtrusively configured clippy check that can be run with nix flake check.

nix flake show:

├───checks
│   └───x86_64-linux
│       ├───cargoClippy: derivation 'centerpiece-clippy-0.6.0'
│       ├───default: derivation 'centerpiece-0.6.0'
│       └───index-git-repositories: derivation 'index-git-repositories-0.6.0'
├───devShells
│   └───x86_64-linux
│       └───default: development environment 'nix-shell'
└───packages
    └───x86_64-linux
        ├───default: package 'centerpiece-0.6.0'
        └───index-git-repositories: package 'index-git-repositories-0.6.0'