vivado: fix ncurses #86

Merged
sb10q merged 1 commits from fsagbuya/nix-scripts:master into master 2023-11-29 14:04:29 +08:00
Contributor

Description

Due to recent nixpkgs update, package ncurses5 is now failing to load libtinfo.so.5 because of soname issue.

Applying the patch to fix ncurses.

Closes #85

Tests:

buildPhase completed in 2 minutes 36 seconds
running tests
============================= test session starts ==============================
platform linux -- Python 3.10.13, pytest-7.2.1, pluggy-1.0.0
rootdir: /build/5fdp0c68kk875wm1ajz1lmygw961qx6p-source
collected 12 items                                                             

test_adc.py .                                                            [  8%]
test_iir.py ..                                                           [ 25%]
test_interpolate.py ..                                                   [ 41%]
test_link.py ......                                                      [ 91%]
test_phaser.py .                                                         [100%]

============================== 12 passed in 1.56s ==============================
installing
pytestcachePhase
pytestRemoveBytecodePhase
/nix/store/dmsr35r72qb9nqvsf5np1br5mqgcl4d7-fastino-fpga
/nix/store/zg6pl8w283pn0vjhkaqwg7slz0yvy4x0-mirny-cpld-master
/nix/store/2hpd9zlg8wx10rz44nk60y1iwq8wzlfx-mirny-cpld-0.2.4
/nix/store/7vk1jkkc1qq9z8qdfpycap9v0dss7rfq-phaser-fpga
/nix/store/2xqxf2nrjr6rl13igw2pl4aw6ssk2gp5-urukul-cpld-1.3.1
/nix/store/ja7cfjy12mfai7a52b3dm7scxlrhmg7l-urukul-cpld-master
/nix/store/d9wsna1c12nmwlj3yr3696yhf4zxh9rn-urukul-cpld-1.4.0

Related issue: https://github.com/m-labs/artiq/issues/2274

## Description Due to recent [nixpkgs update](https://github.com/NixOS/nixpkgs/pull/263201/files), package `ncurses5` is now failing to load `libtinfo.so.5` because of [soname issue](https://github.com/NixOS/nixpkgs/issues/89769). Applying the [patch](https://github.com/nix-community/nix-environments/pull/54/files) to fix `ncurses`. Closes #85 ### Tests: ``` buildPhase completed in 2 minutes 36 seconds running tests ============================= test session starts ============================== platform linux -- Python 3.10.13, pytest-7.2.1, pluggy-1.0.0 rootdir: /build/5fdp0c68kk875wm1ajz1lmygw961qx6p-source collected 12 items test_adc.py . [ 8%] test_iir.py .. [ 25%] test_interpolate.py .. [ 41%] test_link.py ...... [ 91%] test_phaser.py . [100%] ============================== 12 passed in 1.56s ============================== installing pytestcachePhase pytestRemoveBytecodePhase /nix/store/dmsr35r72qb9nqvsf5np1br5mqgcl4d7-fastino-fpga /nix/store/zg6pl8w283pn0vjhkaqwg7slz0yvy4x0-mirny-cpld-master /nix/store/2hpd9zlg8wx10rz44nk60y1iwq8wzlfx-mirny-cpld-0.2.4 /nix/store/7vk1jkkc1qq9z8qdfpycap9v0dss7rfq-phaser-fpga /nix/store/2xqxf2nrjr6rl13igw2pl4aw6ssk2gp5-urukul-cpld-1.3.1 /nix/store/ja7cfjy12mfai7a52b3dm7scxlrhmg7l-urukul-cpld-master /nix/store/d9wsna1c12nmwlj3yr3696yhf4zxh9rn-urukul-cpld-1.4.0 ``` Related issue: https://github.com/m-labs/artiq/issues/2274
fsagbuya added 1 commit 2023-11-29 11:20:08 +08:00
02ffc97089 vivado: fix ncurses
Signed-off-by: Florian Agbuya <fa@m-labs.ph>
sb10q merged commit 02ffc97089 into master 2023-11-29 14:04:29 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nix-scripts#86
No description provided.