patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 467f877330163f35a15dcff62b2f27416228548e 337 bytes (raw)
name: nix/eval-config.nix 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
# 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> {} }: {
  inherit pkgs;
}) config

debug log:

solving 467f877 ...
found 467f877 in https://inbox.spectrum-os.org/spectrum-devel/20220831093727.282797-2-hi@alyssa.is/
found 9265df7 in https://inbox.spectrum-os.org/spectrum-devel/20220831093727.282797-1-hi@alyssa.is/

applying [1/2] https://inbox.spectrum-os.org/spectrum-devel/20220831093727.282797-1-hi@alyssa.is/
diff --git a/nix/eval-config.nix b/nix/eval-config.nix
new file mode 100644
index 0000000..9265df7


applying [2/2] https://inbox.spectrum-os.org/spectrum-devel/20220831093727.282797-2-hi@alyssa.is/
diff --git a/nix/eval-config.nix b/nix/eval-config.nix
index 9265df7..467f877 100644

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

index at:
100644 467f877330163f35a15dcff62b2f27416228548e	nix/eval-config.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/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).