Linux kernel: Difference between revisions

imported>Thiagokokada
No edit summary
imported>R-burns
m (Driveby stdenv.lib deprecation cleanup: https://github.com/NixOS/nixpkgs/issues/108938)
Line 179: Line 179:
There are a couple of steps that you will most likely need to do a couple of things. Here is an annotated example:
There are a couple of steps that you will most likely need to do a couple of things. Here is an annotated example:
<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
{ stdenv, fetchFromGitHub, kernel, kmod }:
{ stdenv, lib, fetchFromGitHub, kernel, kmod }:


stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
Line 202: Line 202:
   ];
   ];


   meta = with stdenv.lib; {
   meta = with lib; {
     description = "A kernel module to create V4L2 loopback devices";
     description = "A kernel module to create V4L2 loopback devices";
     homepage = "https://github.com/aramg/droidcam";
     homepage = "https://github.com/aramg/droidcam";