mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
python312Packages.faster-fifo: pin to gcc12 on linux
This commit is contained in:
parent
8c1235a549
commit
923517acd6
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, gcc12Stdenv
|
||||
|
||||
# build-system
|
||||
, cython
|
||||
@ -11,11 +13,17 @@
|
||||
, unittestCheckHook
|
||||
}:
|
||||
|
||||
let
|
||||
stdenv' = if stdenv.isLinux then gcc12Stdenv else stdenv;
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "faster-fifo";
|
||||
version = "1.4.5";
|
||||
format = "pyproject";
|
||||
|
||||
# https://github.com/alex-petrenko/faster-fifo/issues/47\
|
||||
stdenv = stdenv';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alex-petrenko";
|
||||
repo = "faster-fifo";
|
||||
|
Loading…
Reference in New Issue
Block a user