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:
parent
de06dbcd13
commit
593a1ad7e2
4
home.nix
4
home.nix
|
@ -61,6 +61,10 @@
|
||||||
pkgs.yamllint
|
pkgs.yamllint
|
||||||
pkgs.kcachegrind
|
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
|
# Coding / Neovim
|
||||||
# Does not provide any autocompletion yet, don't know why
|
# Does not provide any autocompletion yet, don't know why
|
||||||
# Use in conjuncion with https://github.com/autozimu/LanguageClient-neovim
|
# Use in conjuncion with https://github.com/autozimu/LanguageClient-neovim
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
experimental-features = nix-command flakes
|
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=
|
||||||
|
|
|
@ -103,7 +103,6 @@ Todos
|
||||||
|
|
||||||
* Begin migrating local development to execute php. On a per customer project.
|
* 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?
|
* `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?
|
Maybe symlinks will work, so I've a dedicated repo with the project flakes and link them into project repos?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue