Make use of cachix in order to fetch pre compiled phpcs packages

The phps used via flake for local development of legacy projects
distributed pre build packages via cachix.

Install cachix and add configuration to allow fetching of pre compiled
packages.
This commit is contained in:
Daniel Siepmann 2022-02-10 20:38:16 +01:00
parent de06dbcd13
commit 593a1ad7e2
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 6 additions and 1 deletions

View file

@ -61,6 +61,10 @@
pkgs.yamllint
pkgs.kcachegrind
# In order to pull binaries from their.
# E.g. phpcs: https://github.com/fossar/nix-phps#how-to-use
pkgs.cachix
# Coding / Neovim
# Does not provide any autocompletion yet, don't know why
# Use in conjuncion with https://github.com/autozimu/LanguageClient-neovim

View file

@ -1 +1,3 @@
experimental-features = nix-command flakes
substituters = https://cache.nixos.org https://fossar.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= fossar.cachix.org-1:Zv6FuqIboeHPWQS7ysLCJ7UT7xExb4OE8c4LyGb5AsE=

View file

@ -103,7 +103,6 @@ Todos
* Begin migrating local development to execute php. On a per customer project.
* I make use of https://github.com/fossar/nix-phps
* `flake.nix` and `flake.lock` need to be checked into a repo … How to handle that if customer doesn't want the file?
Maybe symlinks will work, so I've a dedicated repo with the project flakes and link them into project repos?