wrappers: use system from stdenv.hostPlatform

`pgs.system` is a flaky alias and it is more reliable to directly use
`pkgs.stdenv.hostPlatform.system`
This commit is contained in:
Sandro Jäckel 2024-06-30 00:28:54 +02:00 committed by Gaetan Lepage
parent c062b976ef
commit 662a0e1bdb
5 changed files with 5 additions and 5 deletions

View file

@ -178,7 +178,7 @@ If you want to use it standalone, you can use the `makeNixvim` function:
```nix
{ pkgs, nixvim, ... }: {
environment.systemModules = [
(nixvim.legacyPackages."${pkgs.system}".makeNixvim {
(nixvim.legacyPackages."${pkgs.stdenv.hostPlatform.system}".makeNixvim {
colorschemes.gruvbox.enable = true;
})
];