Skip to content

Nix flake packaging #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Nix flake packaging #67

wants to merge 2 commits into from

Conversation

pseudocc
Copy link

@pseudocc pseudocc commented Jan 9, 2025

So NixOS users can load the firmware.

Test

On my ThinkPad X13 Yoga Gen5, good.

[pseudoc@zipzap:~]$ sudo dmesg | grep "intel_vpu"
[   10.404035] intel_vpu 0000:00:0b.0: enabling device (0000 -> 0002)
[   10.411564] intel_vpu 0000:00:0b.0: [drm] Firmware: intel/vpu/vpu_37xx_v0.0.bin, version: 20241025*MTL_CLIENT_SILICON-release*1830*ci_tag_ud202444_vpu_rc_20241025_1830*ae072b315bc
[   10.599330] [drm] Initialized intel_vpu 1.0.0 for 0000:00:0b.0 on minor 0

My flake

pseudocc/nix-config@27ee1af

@pseudocc pseudocc marked this pull request as draft January 9, 2025 17:39
@pseudocc pseudocc marked this pull request as ready for review January 9, 2025 17:48
@jwludzik
Copy link
Contributor

@pseudocc , can you provide a more detailed reason why this PR should be merged? How does this change apply to Nix main repository? I am not familiar with NixOS, any guidance would be appreciated

@pseudocc
Copy link
Author

pseudocc commented Feb 16, 2025

@jwludzik Sorry for the late reply, was enjoying the Chinese New Year holidays and missed your comment.

This "flake.nix" for Nix packages is more like a PPA for debs, it is more flexible (users might still want to use state version 23.05, 23.11, etc. Then the nix-flake can help them getting this package without update the main channel that leads to a completely nixos rebuild), these commits do not affect the Nix main repository, but I may create PR for this firmware package in the NixOS/nixpkgs later on.

Copy link

@osbm osbm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for packaging this repo. its awesome

Copy link

@osbm osbm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !!!!

@pseudocc pseudocc marked this pull request as draft February 20, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants