patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob bd234e90ee19bdfa6591d29c518cb0dc393b01c8 801 bytes (raw)
name: host/rootfs/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
25
 
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021, 2023-2024 Alyssa Ross <hi@alyssa.is>
# SPDX-FileCopyrightText: 2022 Unikie

import ../../lib/call-package.nix (
{ callSpectrumPackage, rootfs, pkgsStatic, srcOnly, stdenv
, btrfs-progs, cryptsetup, jq, netcat, qemu_kvm, reuse, util-linux
}:

rootfs.overrideAttrs (
{ passthru ? {}, nativeBuildInputs ? [], env ? {}, ... }:

{
  nativeBuildInputs = nativeBuildInputs ++ [
    btrfs-progs cryptsetup jq netcat qemu_kvm reuse util-linux
  ];

  env = env // {
    INITRAMFS = callSpectrumPackage ../initramfs {};
    KERNEL = "${passthru.kernel}/${stdenv.hostPlatform.linux-kernel.target}";
    LINUX_SRC = srcOnly passthru.kernel;
    VMLINUX = "${passthru.kernel.dev}/vmlinux";
    VERSION = import ../../lib/version.nix;
  };
})) (_: {})

debug log:

solving bd234e90ee19bdfa6591d29c518cb0dc393b01c8 ...
found bd234e90ee19bdfa6591d29c518cb0dc393b01c8 in https://inbox.spectrum-os.org/spectrum-devel/20251029-updates-v1-4-401c1be2a11b@gmail.com/
found 3d986f7327823cb855e5980759ad2a3935793340 in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 3d986f7327823cb855e5980759ad2a3935793340	host/rootfs/shell.nix

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20251029-updates-v1-4-401c1be2a11b@gmail.com/
diff --git a/host/rootfs/shell.nix b/host/rootfs/shell.nix
index 3d986f7327823cb855e5980759ad2a3935793340..bd234e90ee19bdfa6591d29c518cb0dc393b01c8 100644

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

index at:
100644 bd234e90ee19bdfa6591d29c518cb0dc393b01c8	host/rootfs/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).