hm: cleanup

This commit is contained in:
Motiejus Jakštys 2023-10-23 10:20:36 +03:00 committed by Motiejus Jakštys
parent a664d6709c
commit 4d7028f2fe
1 changed files with 11 additions and 14 deletions

View File

@ -16,7 +16,7 @@
src = "${git}/share/git-core/templates/hooks/fsmonitor-watchman.sample"; src = "${git}/share/git-core/templates/hooks/fsmonitor-watchman.sample";
buildInputs = [gnused]; buildInputs = [gnused];
} '' } ''
sed -e 's@/usr@${perl}@' $src > $out sed -e 's@^#!/usr/bin/perl@#!${perl}@' $src > $out
chmod +x $out chmod +x $out
''; '';
in in
@ -33,21 +33,18 @@ in {
}; };
home.packages = with pkgs; home.packages = with pkgs;
[glibcLocales] if devEnvironment
++ ( then [
if devEnvironment go
then [
go
zigpkgs."0.11.0" zigpkgs."0.11.0"
sbt sbt
scala_2_12 scala_2_12
metals metals
coursier coursier
] ]
else [] else [];
);
programs.direnv.enable = true; programs.direnv.enable = true;