diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-12-19 15:55:27 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-04-14 23:37:35 +0000 |
commit | 67422997d0b1e4f0d7caecc4b041e14df331af6e (patch) | |
tree | 9d6aeca7b1dcfed3209164e7a07adf4191d59cbc /pkgs/os-specific/linux/spectrum | |
parent | 410def4a765321418ea4861a77c2a34812e10e3b (diff) | |
download | nixpkgs-67422997d0b1e4f0d7caecc4b041e14df331af6e.tar nixpkgs-67422997d0b1e4f0d7caecc4b041e14df331af6e.tar.gz nixpkgs-67422997d0b1e4f0d7caecc4b041e14df331af6e.tar.bz2 nixpkgs-67422997d0b1e4f0d7caecc4b041e14df331af6e.tar.lz nixpkgs-67422997d0b1e4f0d7caecc4b041e14df331af6e.tar.xz nixpkgs-67422997d0b1e4f0d7caecc4b041e14df331af6e.tar.zst nixpkgs-67422997d0b1e4f0d7caecc4b041e14df331af6e.zip |
spectrumPackages: export makeRootfs
We'll want service VMs to be able to call this themselves to construct their own root filesystems. Message-Id: <20210411115740.29615-8-hi@alyssa.is> Reviewed-by: Cole Helbling <cole.e.helbling@outlook.com>
Diffstat (limited to 'pkgs/os-specific/linux/spectrum')
-rw-r--r-- | pkgs/os-specific/linux/spectrum/default.nix | 2 | ||||
-rw-r--r-- | pkgs/os-specific/linux/spectrum/rootfs/default.nix | 13 |
2 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/os-specific/linux/spectrum/default.nix b/pkgs/os-specific/linux/spectrum/default.nix index ea4fa902e95..ea86dc25c2b 100644 --- a/pkgs/os-specific/linux/spectrum/default.nix +++ b/pkgs/os-specific/linux/spectrum/default.nix @@ -8,6 +8,8 @@ let linux_vm = callPackage ./linux/vm.nix { linux = linux_cros; }; + makeRootfs = callPackage ./rootfs/generic.nix { }; + rootfs = callPackage ./rootfs { }; }; in diff --git a/pkgs/os-specific/linux/spectrum/rootfs/default.nix b/pkgs/os-specific/linux/spectrum/rootfs/default.nix index cd1cccc1a87..6f46ad8054b 100644 --- a/pkgs/os-specific/linux/spectrum/rootfs/default.nix +++ b/pkgs/os-specific/linux/spectrum/rootfs/default.nix @@ -1,16 +1,9 @@ -{ runCommandNoCC, writeScript, writeText, makeFontsConf, writeReferencesToFile -, lib, dash, busybox, execline, s6, s6-portable-utils, s6-linux-utils -, s6-linux-init, mesa, squashfs-tools-ng -, source-code-pro, zsh, emacs26-nox, gcc, wayfire, sommelier, westonLite +{ writeScript, writeText, lib, makeRootfs +, busybox, execline, s6, sommelier, source-code-pro, wayfire, zsh +, gcc, emacs26-nox, westonLite }: let - makeRootfs = import ./generic.nix { - inherit runCommandNoCC writeScript writeReferencesToFile makeFontsConf lib - dash execline s6 s6-portable-utils s6-linux-utils s6-linux-init busybox - mesa squashfs-tools-ng; - }; - path = [ zsh emacs26-nox gcc wayfire sommelier westonLite busybox s6 execline ]; |