3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #161258 from alyssais/kmod-blacklist-ubuntu-run-booted-system

This commit is contained in:
Artturi 2022-02-21 23:21:53 +02:00 committed by GitHub
commit 05bb35fdb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, gnugrep, findutils }:
{ lib, stdenv, fetchurl }:
let
version = "28-1ubuntu4"; # impish 2021-06-24
@ -26,8 +26,8 @@ in stdenv.mkDerivation {
--replace /sbin/lsmod /run/booted-system/sw/bin/lsmod \
--replace /sbin/rmmod /run/booted-system/sw/bin/rmmod \
--replace /sbin/modprobe /run/booted-system/sw/bin/modprobe \
--replace " grep " " ${gnugrep}/bin/grep " \
--replace " xargs " " ${findutils}/bin/xargs "
--replace " grep " " /run/booted-system/sw/bin/grep " \
--replace " xargs " " /run/booted-system/sw/bin/xargs "
'';
meta = with lib; {