mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
export a single function from apply-overlays-dtmerge
This commit is contained in:
parent
245d8f9f97
commit
3f0991b531
1 changed files with 26 additions and 28 deletions
|
@ -2,8 +2,7 @@
|
||||||
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/device-tree/default.nix
|
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/device-tree/default.nix
|
||||||
{ lib, pkgs, stdenvNoCC, dtc, libraspberrypi }:
|
{ lib, pkgs, stdenvNoCC, dtc, libraspberrypi }:
|
||||||
|
|
||||||
with lib; {
|
with lib; (base: overlays': stdenvNoCC.mkDerivation {
|
||||||
applyOverlays = (base: overlays': stdenvNoCC.mkDerivation {
|
|
||||||
name = "device-tree-overlays";
|
name = "device-tree-overlays";
|
||||||
nativeBuildInputs = [ dtc libraspberrypi ];
|
nativeBuildInputs = [ dtc libraspberrypi ];
|
||||||
buildCommand = let
|
buildCommand = let
|
||||||
|
@ -28,5 +27,4 @@ with lib; {
|
||||||
'')}
|
'')}
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue