From c85a64002c62623c41886964182d4f71d1a009f1 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 25 Mar 2021 15:40:50 +0100 Subject: [PATCH] gnubg: use python3 --- pkgs/games/gnubg/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/games/gnubg/default.nix b/pkgs/games/gnubg/default.nix index feff18e9bb6f..7402049a9d82 100644 --- a/pkgs/games/gnubg/default.nix +++ b/pkgs/games/gnubg/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, pkg-config, glib, python, gtk2, readline }: +{ lib, stdenv, fetchurl, pkg-config, glib, python3, gtk2, readline }: let version = "1.06.002"; in stdenv.mkDerivation { @@ -9,8 +9,10 @@ stdenv.mkDerivation { sha256 = "11xwhcli1h12k6rnhhyq4jphzrhfik7i8ah3k32pqw803460n6yf"; }; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ python glib gtk2 readline ]; + nativeBuildInputs = [ pkg-config python3 glib ]; + buildInputs = [ gtk2 readline ]; + + strictDeps = true; configureFlags = [ "--with-gtk" "--with--board3d" ];