Update flake inputs
1. Use `stdenv.hostPlatform.system` instead of `system`. 2. Use `runCommand` instead of `runCommandNoCC`. 3. Add new nixpkgs instance for neochat. 4. Set niri config to null when other GUI module.
This commit is contained in:
parent
0db7c6ec72
commit
1319168f0b
10 changed files with 186 additions and 269 deletions
|
|
@ -2,7 +2,7 @@
|
|||
lib,
|
||||
srcs,
|
||||
stdenv,
|
||||
runCommandNoCCLocal,
|
||||
runCommandLocal,
|
||||
}:
|
||||
let
|
||||
buildGrammar =
|
||||
|
|
@ -80,18 +80,18 @@ let
|
|||
}
|
||||
)
|
||||
|> lib.mapAttrsToList (_: value: "ln -s ${value.value}/${value.name}.so $out/${value.name}.so");
|
||||
grammarDir = runCommandNoCCLocal "helix-grammars" { } ''
|
||||
grammarDir = runCommandLocal "helix-grammars" { } ''
|
||||
mkdir -p $out
|
||||
|
||||
${builtins.concatStringsSep "\n" grammarLinks}
|
||||
'';
|
||||
queryDir = runCommandNoCCLocal "helix-query" { } ''
|
||||
queryDir = runCommandLocal "helix-query" { } ''
|
||||
mkdir -p $out
|
||||
|
||||
${builtins.concatStringsSep "\n" queries}
|
||||
'';
|
||||
in
|
||||
runCommandNoCCLocal "helix-runtime" { } ''
|
||||
runCommandLocal "helix-runtime" { } ''
|
||||
mkdir -p $out
|
||||
|
||||
ln -s ${grammarDir} $out/grammars
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue