put modem-manager-small in overlay
This commit is contained in:
parent
7ad42c43b2
commit
f847830a06
@ -12,7 +12,6 @@ let
|
||||
makeFlags = ["prefix=${placeholder "out"}"];
|
||||
};
|
||||
|
||||
modemmanager_ = pkgs.callPackage ./pkgs/modem-manager {};
|
||||
saturn = pkgs.callPackage ./pkgs/saturn {};
|
||||
|
||||
drm-framebuffer = pkgs.stdenv.mkDerivation {
|
||||
@ -42,11 +41,15 @@ in {
|
||||
|
||||
config = {
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
wlr-randr = prev.wlr-randr.overrideAttrs(o: {
|
||||
depsBuildBuild = [ final.pkgsBuildBuild.pkg-config ];
|
||||
});
|
||||
})
|
||||
(final: prev:
|
||||
let mm = pkgs.callPackage ./pkgs/modem-manager {};
|
||||
in {
|
||||
wlr-randr = prev.wlr-randr.overrideAttrs(o: {
|
||||
depsBuildBuild = [ final.pkgsBuildBuild.pkg-config ];
|
||||
});
|
||||
modemmanager-small = mm;
|
||||
satellite = prev.satellite.override { modemmanager = mm; };
|
||||
})
|
||||
];
|
||||
|
||||
mobile = {
|
||||
@ -158,7 +161,7 @@ SUBSYSTEM=="wwan", ENV{DEVNAME}=="/dev/wwan0qmi0", ENV{DEVTYPE}=="wwan_port", \
|
||||
let script = pkgs.writeScript "start-modem-manager" ''
|
||||
#!${pkgs.bash}/bin/bash
|
||||
source ${config.system.build.setEnvironment}
|
||||
${modemmanager_}/bin/ModemManager
|
||||
${pkgs.modemmanager-small}/bin/ModemManager
|
||||
'';
|
||||
in {
|
||||
StandardInput = "journal";
|
||||
|
Loading…
Reference in New Issue
Block a user