patches and low-level development discussion
 help / color / mirror / code / Atom feed
42343219e8085d8c4506d63f58559237815d8ed0 blob 511 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2022 Unikie

{ config ?
  let customPath = builtins.tryEval <spectrum-config>; in
  if customPath.success then import customPath.value
  else if builtins.pathExists ../config.nix then import ../config.nix
  else {}
}:

({ pkgs ? import <nixpkgs> {} }: with pkgs; {
  inherit pkgs;

  archSuffix =
    if pkgs.stdenv.isx86_64 then
      "x64"
    else if pkgs.stdenv.isAarch64 then
      "aa64"
    else
      throw "Unsupported architecture";

}) config
debug log:

solving 4234321 ...
found 4234321 in https://spectrum-os.org/lists/archives/spectrum-devel/20220927105649.2265480-1-ivan.nikolaenko@unikie.com/
found 467f877 in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 467f877330163f35a15dcff62b2f27416228548e	nix/eval-config.nix

applying [1/1] https://spectrum-os.org/lists/archives/spectrum-devel/20220927105649.2265480-1-ivan.nikolaenko@unikie.com/
diff --git a/nix/eval-config.nix b/nix/eval-config.nix
index 467f877..4234321 100644

Checking patch nix/eval-config.nix...
Applied patch nix/eval-config.nix cleanly.

index at:
100644 42343219e8085d8c4506d63f58559237815d8ed0	nix/eval-config.nix

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

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

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).