diff options
author | sohalt <sohalt@sohalt.net> | 2020-09-30 02:17:49 +0200 |
---|---|---|
committer | sohalt <sohalt@sohalt.net> | 2020-09-30 02:17:49 +0200 |
commit | 3718d52f26c5fabf4cf00204d0b7409692b0eaa2 (patch) | |
tree | e00c34c0b384aa7f20a9752ea41698c6987fa91d /pkgs/misc/screensavers | |
parent | 703f052de185c3dd1218165e62b105a68e05e15f (diff) |
electricsheep: 2.7b33-2017-10-20 -> 3.0.2-2019-10-05, fix build
Diffstat (limited to 'pkgs/misc/screensavers')
-rw-r--r-- | pkgs/misc/screensavers/electricsheep/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/misc/screensavers/electricsheep/default.nix b/pkgs/misc/screensavers/electricsheep/default.nix index 71a248bcfa12..0d772da67905 100644 --- a/pkgs/misc/screensavers/electricsheep/default.nix +++ b/pkgs/misc/screensavers/electricsheep/default.nix @@ -4,12 +4,12 @@ stdenv.mkDerivation rec { pname = "electricsheep"; - version = "2.7b33-2017-10-20"; + version = "3.0.2-2019-10-05"; src = fetchFromGitHub { owner = "scottdraves"; repo = pname; - rev = "c02c19b9364733fc73826e105fc983a89a8b4f40"; + rev = "37ba0fd692d6581f8fe009ed11c9650cd8174123"; sha256 = "1z49l53j1lhk7ahdy96lm9r0pklwpf2i5s6y2l2rn6l4z8dxkjmk"; }; @@ -29,6 +29,10 @@ stdenv.mkDerivation rec { "CPPFLAGS=-I${glee}/include/GL" ]; + makeFlags = [ + ''CXXFLAGS+="-DGL_GLEXT_PROTOTYPES"'' + ]; + preBuild = '' sed -i "s|/usr|$out|" Makefile ''; |