Skip to content

Instantly share code, notes, and snippets.

U-Boot SPL 2021.01 (Jan 11 2021 - 18:11:43 +0000)
DRAM: 3072 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.4(release):
NOTICE: BL31: Built : 00:00:00, Jan 1 1980
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x208abd8, model: Pine64 PinePhone (1.2)
NOTICE: PSCI: System suspend is available via SCPI
(_: topSuper: {
lib = topSuper.lib.extend(self: super: {
mkOption = { auto-enable ? true, ... }@attrs:
let
attrs' = builtins.removeAttrs attrs [ "auto-enable" ];
in
(super.mkOption attrs') // { inherit auto-enable; };
});
})
while evaluating the attribute 'xorg' at /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/pkgs/top-level/all-packages.nix:14990:3:
while evaluating 'recurseIntoAttrs' at /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/pkgs/top-level/all-packages.nix:67:22, called from /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/pkgs/top-level/all-packages.nix:14990:10:
while evaluating 'callPackageWith' at /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/lib/customisation.nix:108:35, called from /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/pkgs/top-level/all-packages.nix:14990:29:
while evaluating 'makeOverridable' at /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/lib/customisation.nix:67:24, called from /nix/store/rdsir7xmi2
@kalbasit
kalbasit / Gemfile
Last active May 20, 2020 19:02 — forked from jdennes/Gemfile
Export a list of members from a GitHub organisation
source "https://rubygems.org"
gem "octokit"
@kalbasit
kalbasit / full.nix
Last active March 15, 2020 08:06
Set all options named 'enable' to true
{ lib, options, ... }:
with lib;
{
config = mapAttrsRecursiveCond
(attrs: ! isOption attrs)
(path: value: mkIf (last path == "enable") true)
{ inherit (options) myOptions; };
}
# ============================================= #
# Start with defaults from the Sensible plugin #
# --------------------------------------------- #
run-shell /nix/store/sy5y4892r4zp4q881363bcclx099prgn-tmuxplugin-sensible/share/tmux-plugins/sensible/sensible.tmux
# ============================================= #
set -g default-terminal "screen"
set -g base-index 0
setw -g pane-base-index 0
#! /usr/bin/env nix-shell
#! nix-shell <shabka/shell.nix>
nixops "$@"
@kalbasit
kalbasit / proto.sh
Last active September 6, 2019 06:10
#! /usr/bin/env bash
set -euo pipefail
OS="$(go env GOHOSTOS)"
ARCH="$(go env GOARCH)"
echo -e ">>> Compiling the Go proto"
for label in $(bazel query 'kind(go_proto_library, //...)'); do
package="${label%%:*}"
mkExternal =
{ name, revision, src, patches }:
stdenvNoCC.mkDerivation {
inherit src patches;
name = "${name}-${revision}";
preferLocalBuild = true;
buildPhase = ''
echo -n "${revision}" > .git-revision