[NixOS] Add scala, updates for nixos-unstable

This commit is contained in:
Ivan Malison 2018-07-10 00:04:26 -07:00
parent cbbab4f11f
commit cd9d7cc31b
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -35,40 +35,6 @@ let
libappindicator-gtk3 libappindicator-gtk3
]; ];
}); });
git-sync = with pkgs; stdenv.mkDerivation rec {
name = "git-sync-${version}";
version = "20151024";
src = fetchFromGitHub {
owner = "simonthum";
repo = "git-sync";
rev = "eb9adaf2b5fd65aac1e83d6544b9076aae6af5b7";
sha256 = "01if8y93wa0mwbkzkzx2v1vqh47zlz4k1dysl6yh5rmppd1psknz";
};
buildInputs = [ makeWrapper ];
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp -a git-sync $out/bin/git-sync
'';
wrapperPath = with stdenv.lib; makeBinPath [
coreutils
git
gnugrep
gnused
];
fixupPhase = ''
patchShebangs $out/bin
wrapProgram $out/bin/git-sync \
--prefix PATH : "${wrapperPath}"
'';
};
pasystray-appindicator = with pkgs; pasystray.overrideAttrs (oldAttrs: rec { pasystray-appindicator = with pkgs; pasystray.overrideAttrs (oldAttrs: rec {
buildInputs = oldAttrs.buildInputs ++ [libappindicator-gtk3]; buildInputs = oldAttrs.buildInputs ++ [libappindicator-gtk3];
}); });
@ -165,7 +131,8 @@ in
gnome3.gpaste gnome3.gpaste
kdeconnect kdeconnect
libnotify libnotify
lxqt.lxqt-powermanagement # XXX: renable this
# lxqt.lxqt-powermanagement
networkmanagerapplet networkmanagerapplet
customizable-notify-osd customizable-notify-osd
pasystray-appindicator pasystray-appindicator
@ -191,16 +158,19 @@ in
cabal-install cabal-install
cabal2nix cabal2nix
ghc ghc
stack2nix
stack stack
# Scala
sbt
scala
# Tools # Tools
bazaar bazaar
binutils binutils
dfeet dfeet
gcc gcc
gdb gdb
git-sync gitAndTools.git-sync
gitAndTools.git-fame gitAndTools.git-fame
gitAndTools.hub gitAndTools.hub
gitFull gitFull
@ -209,6 +179,7 @@ in
htop htop
inotify-tools inotify-tools
ispell ispell
mercurial
ncdu ncdu
neofetch neofetch
pass pass
@ -327,5 +298,5 @@ in
}; };
}; };
system.stateVersion = "18.03"; system.nixos.stateVersion = "18.03";
} }