patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob b418954a44674b76d1ec57edf4d9d97e89aa8c20 591 bytes (raw)
name: host/initramfs/shell.nix 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021-2022, 2024 Alyssa Ross <hi@alyssa.is>

import ../../lib/call-package.nix (
{ callSpectrumPackage, rootfs, pkgsStatic, stdenv
, cryptsetup, jq, qemu_kvm, util-linux
, config
}:

let
  initramfs = callSpectrumPackage ./. {};
in

initramfs.overrideAttrs ({ nativeBuildInputs ? [], env ? {}, ... }: {
  nativeBuildInputs = nativeBuildInputs ++ [
    cryptsetup jq qemu_kvm util-linux
  ];

  env = env // {
    KERNEL = "${rootfs.kernel}/${rootfs.kernel.target}";
    ROOT_FS = rootfs;
    VERSION = config.version;
  };
})) (_: {})

debug log:

solving b418954 ...
found b418954 in https://inbox.spectrum-os.org/spectrum-devel/20260708154315.678807-2-hi@alyssa.is/
found 76b744b in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 76b744b77340ea93ba8533e858e0917ccb295ed9	host/initramfs/shell.nix

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20260708154315.678807-2-hi@alyssa.is/
diff --git a/host/initramfs/shell.nix b/host/initramfs/shell.nix
index 76b744b..b418954 100644

Checking patch host/initramfs/shell.nix...
Applied patch host/initramfs/shell.nix cleanly.

index at:
100644 b418954a44674b76d1ec57edf4d9d97e89aa8c20	host/initramfs/shell.nix

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).