Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/default.nix b/default.nix index 137dee5a..d94e707d 100644 --- a/default.nix +++ b/default.nix @@ -6,8 +6,7 @@ installShellFiles, git, gitRev ? null, - grammarOverlays ? [], - includeGrammarIf ? _: true, + ... }: let fs = lib.fileset; @@ -29,7 +28,7 @@ # that they reside in. It is built by calling the derivation in the # grammars.nix file, then taking the runtime directory in the git repo # and hooking symlinks up to it. - grammars = callPackage ./grammars.nix {inherit grammarOverlays includeGrammarIf;}; + grammars = callPackage ./grammars.nix {}; runtimeDir = runCommand "helix-runtime" {} '' mkdir -p $out ln -s ${./runtime}/* $out @@ -46,8 +45,6 @@ in allowBuiltinFetchGit = true; }; - propagatedBuildInputs = [ runtimeDir ]; - nativeBuildInputs = [ installShellFiles git @@ -78,9 +75,9 @@ in mkdir -p $out/lib installShellCompletion ${./contrib/completion}/hx.{bash,fish,zsh} mkdir -p $out/share/{applications,icons/hicolor/{256x256,scalable}/apps} - cp ${./contrib/Helix.desktop} $out/share/applications/Helix.desktop + cp ${./contrib/Helix.desktop} $out/share/applications cp ${./logo.svg} $out/share/icons/hicolor/scalable/apps/helix.svg - cp ${./contrib/helix.png} $out/share/icons/hicolor/256x256/apps/helix.png + cp ${./contrib/helix.png} $out/share/icons/hicolor/256x256/apps ''; meta.mainProgram = "hx"; |