Skip to content

Kernel hacking on NixOS? #14721

@lukego

Description

@lukego

This is a NixOS newbie question.

I would like to make some experimental changes to the Linux mlx4 module on my NixOS machine. I am looking for an edit-compile-run workflow where I would build and load (insmod) the module. It is important that this would happen directly on the host and not inside a VM.

Can anybody please tell me how to do this? I am hoping that I can do something like nix-build ... && insmod .../mlx4.ko but I am not sure how to connect those dots :).

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: questionRequests for a specific question to be answered6.topic: kernelThe Linux kernel
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions