Skip to content

Instantly share code, notes, and snippets.

@Jayman2000
Jayman2000 / Installer Log 31-May-2024.txt
Created May 31, 2024 20:06
A log that will help me ask a question about quickemu: <https://github.com/quickemu-project/quickemu>
This file has been truncated, but you can view the full file.
May 31 19:06:58 iMac-Pro InstallAssistant[436]: Hardware: iMacPro1,1 @ 3.60 GHz (x 4), 8192 MB RAM
May 31 19:06:58 iMac-Pro InstallAssistant[436]: Running OS Build: macOS 14.5 (23F79)
May 31 19:06:58 iMac-Pro InstallAssistant[436]: Env: __OSINSTALL_ENVIRONMENT=1
May 31 19:06:58 iMac-Pro InstallAssistant[436]: Env: XPC_SERVICE_NAME=com.apple.recoveryos_agent
May 31 19:06:58 iMac-Pro InstallAssistant[436]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
May 31 19:06:58 iMac-Pro InstallAssistant[436]: Env: XPC_FLAGS=0x0
May 31 19:06:58 iMac-Pro InstallAssistant[436]: Env: LOGNAME=root
May 31 19:06:58 iMac-Pro InstallAssistant[436]: Env: USER=root
May 31 19:06:58 iMac-Pro InstallAssistant[436]: Env: HOME=/var/root
May 31 19:06:58 iMac-Pro InstallAssistant[436]: Env: SHELL=/bin/sh
@Jayman2000
Jayman2000 / draft.md
Last active May 24, 2024 22:41
Draft of a bug report for Nixpkgs: <https://github.com/NixOS/nixpkgs>

Describe the bug

If the git package is out-of-date and you run its update script, then the update script will print errors.

Steps To Reproduce

$ # This first command won’t be necessary once this commit makes it into master: f3692ef627883be00dd6c4b3a4d45d2c21af18b7
$ git switch staging
Already on 'staging'
Your branch is up to date with 'origin/staging'.
@Jayman2000
Jayman2000 / coreutils-log.txt
Created May 22, 2024 14:49
A log used to help me report a bug with Nixpkgs: <https://github.com/NixOS/nixpkgs>
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/f5p28hbmwi3vx4bvsy1crqaiw0wrmnm3-coreutils-9.5.tar.xz
source root is coreutils-9.5
setting SOURCE_DATE_EPOCH to timestamp 1711638784 of file coreutils-9.5/doc/coreutils.info
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
substituteStream(): WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file './tests/install/install-C.sh')
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@Jayman2000
Jayman2000 / gdb-log.txt
Created May 3, 2024 16:44
A log that will help me report a bug with Descent 3: <https://github.com/DescentDevelopers/Descent3/issues/278>
GNU gdb (GDB) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
@Jayman2000
Jayman2000 / log.txt
Created May 3, 2024 15:17
A log that will help me report a bug with Descent 3: <https://github.com/DescentDevelopers/Descent3/issues/278>
11:10:31 [info] :: Logger initialized
GatherArgs: Arg (0) is [./Descent3].
11:10:31 [info] lnxmain.cpp:main:578
Descent 3 Linux Client v1.5.0 0e55dee
Copyright (C) 1999 Outrage Entertainment, Inc.
FindArg: Did not find [-windowed] on command line.
FindArg: Did not find [-fullscreen] on command line.
FindArg: Did not find [-game_checksum] on command line.
@Jayman2000
Jayman2000 / log.txt
Created May 3, 2024 14:46
A log that will help me report a bug with Descent 3: <https://github.com/DescentDevelopers/Descent3/issues/278>
10:38:23 [info] :: Logger initialized
GatherArgs: Arg (0) is [./Descent3].
10:38:23 [info] lnxmain.cpp:main:578
Descent 3 Linux Client v1.5.0 0e55dee
Copyright (C) 1999 Outrage Entertainment, Inc.
FindArg: Did not find [-windowed] on command line.
FindArg: Did not find [-fullscreen] on command line.
FindArg: Did not find [-game_checksum] on command line.
@Jayman2000
Jayman2000 / line-ending-ratios.sh
Created April 21, 2024 11:13
Determine how many files in a repo use LF/CRLF line endings.
#!/usr/bin/env bash
# SPDX-FileNotice: 🅭🄍1.0 This file is dedicated to the public domain using the CC0 1.0 Universal Public Domain Dedication <https://creativecommons.org/publicdomain/zero/1.0/>.
# SPDX-FileContributor: Jason Yundt <jason@jasonyundt.email> (2024)
set -o errexit -o nounset -o pipefail
file_listing="$(git ls-files --eol)"
function echo_file_listing {
printf "%s\n" "$file_listing"
}
@Jayman2000
Jayman2000 / openenclave build log.txt
Created March 14, 2024 19:08
A log used to report an issue with a Nixpkgs PR: <https://github.com/NixOS/nixpkgs/pull/129388>
these 2 paths will be fetched (0.11 MiB download, 0.62 MiB unpacked):
/nix/store/xcx9prry5zc1ya5qpzdss3pkp03a32z4-nixpkgs-review-2.10.3
/nix/store/vjsnpg4awfwgwsp99zlcpsjpasn69lvq-python3.11-argcomplete-3.1.6
copying path '/nix/store/vjsnpg4awfwgwsp99zlcpsjpasn69lvq-python3.11-argcomplete-3.1.6' from 'https://cache.nixos.org'...
copying path '/nix/store/xcx9prry5zc1ya5qpzdss3pkp03a32z4-nixpkgs-review-2.10.3' from 'https://cache.nixos.org'...
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/129388/head:refs/nixpkgs-review/1
remote: Enumerating objects: 28, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 28 (delta 13), reused 17 (delta 13), pack-reused 4
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/47b4cqhk9waii1yx3y8wapklzzwld1m2-vhba-module-20211218.tar.xz
source root is vhba-module-20211218
setting SOURCE_DATE_EPOCH to timestamp 1639826332 of file vhba-module-20211218/vhba.c
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
@Jayman2000
Jayman2000 / default.nix
Last active February 15, 2024 19:45
Nix expressions that will help me test out a Disko PR: <https://github.com/nix-community/disko/>
# 🅭🄍1.0 This file is dedicated to the public domain using the CC0 1.0 Universal
# Public Domain Dedication:
# <https://creativecommons.org/publicdomain/zero/1.0/>
{ diskoDir }:
let
configuration = { pkgs, modulesPath, ... }: {
imports = [ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ];
# This will (hopefully) make the ISO build faster.
isoImage.squashfsCompression = "lz4";