Merge branch 'master' of prism.r:stockholm
This commit is contained in:
commit
cf2e59b806
@ -8,6 +8,7 @@ with import <stockholm/lib>;
|
|||||||
krebs.go = {
|
krebs.go = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts.go = {
|
virtualHosts.go = {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, makeDesktopItem
|
{ stdenv, fetchurl
|
||||||
, jre, libX11, libXext, libXcursor, libXrandr, libXxf86vm
|
, jre, libX11, libXext, libXcursor, libXrandr, libXxf86vm
|
||||||
, openjdk
|
, openjdk
|
||||||
, mesa, openal
|
, mesa, openal
|
||||||
@ -7,23 +7,12 @@ with stdenv.lib;
|
|||||||
|
|
||||||
assert useAlsa -> alsaOss != null;
|
assert useAlsa -> alsaOss != null;
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation {
|
||||||
desktopItem = makeDesktopItem {
|
|
||||||
name = "minecraft";
|
|
||||||
exec = "minecraft";
|
|
||||||
icon = "minecraft";
|
|
||||||
comment = "A sandbox-building game";
|
|
||||||
desktopName = "Minecraft";
|
|
||||||
genericName = "minecraft";
|
|
||||||
categories = "Game;";
|
|
||||||
};
|
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
|
||||||
name = "ftb";
|
name = "ftb";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://ftb.cursecdn.com/FTB2/launcher/FTB_Launcher.jar";
|
url = "http://ftb.cursecdn.com/FTB2/launcher/FTB_Launcher.jar";
|
||||||
sha256 = "10ga4jgyfsj5dy4rj2rla0fpnfpnxv8r3bmxpqpwn7fsry4il79v";
|
sha256 = "0pyh83hhni97ryvz6yy8lyiagjrlx67cwr780s2bja92rxc1sqpj";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = "installPhase";
|
phases = "installPhase";
|
||||||
@ -43,9 +32,6 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
chmod +x $out/bin/ftb
|
chmod +x $out/bin/ftb
|
||||||
|
|
||||||
mkdir -p $out/share/applications
|
|
||||||
ln -s ${desktopItem}/share/applications/* $out/share/applications/
|
|
||||||
|
|
||||||
${openjdk}/bin/jar xf $out/ftb.jar favicon.png
|
${openjdk}/bin/jar xf $out/ftb.jar favicon.png
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ in
|
|||||||
stockholm.file = toString <stockholm>;
|
stockholm.file = toString <stockholm>;
|
||||||
nixpkgs.git = {
|
nixpkgs.git = {
|
||||||
url = https://github.com/NixOS/nixpkgs;
|
url = https://github.com/NixOS/nixpkgs;
|
||||||
ref = "b222a0713f4a689519686421b3fbf5ca0c9bd3da"; # nixos-17.09 @ 2018-01-23
|
ref = "b34a5f6d874e3c3f3f7812371b858b79ddb5be35"; # nixos-17.09 @ 2018-02-09
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
override
|
override
|
||||||
|
Loading…
Reference in New Issue
Block a user