GithubHelp home page GithubHelp logo

jordanisaacs / kernel-module-flake Goto Github PK

View Code? Open in Web Editor NEW
129.0 4.0 10.0 151 KB

Nix flake for linux kernel module development with rust support

License: MIT License

Makefile 7.47% Nix 70.21% C 4.52% Shell 4.19% Rust 5.27% Python 8.34%
nix flake linux-kernel linux-kernel-module nix-flake kernel rust

kernel-module-flake's People

Contributors

jordanisaacs avatar ocfox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kernel-module-flake's Issues

Question - M1 Aarch64 support

Thanks for the great project. Are you aware of the necessary changes to make the VM work on a M1 aarch64 machine?

Support rust modules

Kernel 6.1 now supports rust. I will wait to see if nixpkgs decides to package 6.1 with CONFIG_RUST. If so then the primary thing to figure out is compiling rust kernel modules. Otherwise, will also need to figure out compiling the kernel with rust support.

Proc macro error from rust-analyzer

Recieve an error for the module! proc macro on both 6.1 and RFL. Full error is:

proc macro `module` not expanded: Proc-macro dylib loading failed: No such file or directory (OS Error 2)

Refactor nix code

As the flake gets more complex with more options, the flake.nix file is getting cumbersome (already at ~700 lines). Refactor it it into multiple files.

  • Refactor into a library of builder functions
  • Redo the directory structure
  • Expose the library to users
  • Update the readme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.