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