Skip to content

Instantly share code, notes, and snippets.

@superherointj
superherointj / configuration.nix
Created December 17, 2020 15:35
Retornar 2 derivações para o environment.systemPackages
# configuration.nix
{ config, pkgs, ... }:
environment.systemPackages = [ (import ./win10boot.nix {inherit pkgs; }) ]
{
nix = {
maxJobs = 5;
distributedBuilds = true;
buildMachines = [
{
hostName = "k2";
maxJobs = 1;
system = "aarch64-linux";
}
@superherointj
superherointj / stderr
Created April 11, 2021 13:36
Firebird 3.0.7
can't format message 17:3 -- message file /home/intj/sandbox/firebird/firebird-R3_0_7/gen/Release/firebird/firebird.msg not found
can't format message 17:0 -- message file /home/intj/sandbox/firebird/firebird-R3_0_7/gen/Release/firebird/firebird.msg not found
Could not find acceptable ICU library
make[3]: *** [Makefile:391: msg.timestamp] Error 1
make[2]: *** [Makefile:192: master_process] Error 2
make[1]: *** [Makefile:66: firebird] Error 2
make: *** [Makefile:6: firebird] Error 2
@superherointj
superherointj / nix-build.err.log
Created April 22, 2021 02:38
Nixpkg: ArgoCD: Tests fail on pkgs/applications/networking/cluster/argocd/default.nix
$ nix build .#argocd
warning: Git tree '/home/intj/git/nixpkgs' is dirty
error: builder for '/nix/store/9w0c4fxma78yycvakd28r8yx933ra3mj-argocd-2.0.1.drv' failed with exit code 1;
last 10 log lines:
> panic(0x1b77ba0, 0x2effb10)
> runtime/panic.go:965 +0x1b9
> github.com/argoproj/argo-cd/v2/reposerver/repository.TestGenerateYamlManifestInDir(0xc000802900)
> github.com/argoproj/argo-cd/v2/reposerver/repository/repository_test.go:137 +0x163
> testing.tRunner(0xc000802900, 0x1eae5c0)
> testing/testing.go:1193 +0xef
@superherointj
superherointj / argocd.log
Created April 27, 2021 12:40
Nixpkgs: ArgoCD: Test fail because Ksonnet package is missing.
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/gzzpgqkrzhl9rndmxz4y29pzajwsndpi-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
@superherointj
superherointj / vim.nix
Created May 4, 2021 21:23
home-manager - vim
{ config, pkgs, ... }:
{
home.sessionVariables = {
VISUAL = "vim";
EDITOR = "vim";
};
programs.vim = {
enable = true;
@superherointj
superherointj / go-generate.log
Created May 8, 2021 22:01
# $ go generate -mod=readonly ./pkg/charts/static
# $ go generate -mod=readonly ./pkg/charts/static
go: inconsistent vendoring in /home/intj/git/nixpkgs/source:
contrib.go.opencensus.io/exporter/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Masterminds/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Masterminds/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Masterminds/[email protected]+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/briandowns/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/clarketm/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/containernetworking/[email protected]: is explicitly required in go.mod, but not marked as expl
@superherointj
superherointj / gist:50b5e8ffbd81e563ca8472165abba418
Created May 18, 2021 21:06
virt-manager: server deprecated. use server=on instead
File "/nix/store/6cyl3ps85gqyhip6q13qqfz0j1vids8y-virt-manager-3.2.0/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/nix/store/6cyl3ps85gqyhip6q13qqfz0j1vids8y-virt-manager-3.2.0/share/virt-manager/virtManager/createvm.py", line 2001, in _do_async_install
installer.start_install(guest, meter=meter)
File "/nix/store/6cyl3ps85gqyhip6q13qqfz0j1vids8y-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py", line 701, in start_install
domain = self._create_guest(
File "/nix/store/6cyl3ps85gqyhip6q13qqfz0j1vids8y-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py", line 649, in _create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File "/nix/store/n0vl28m6pdmvwagyzfadw346411vj2zr-python3.8-libvirt-7.0.0/lib/python3.8/site-packages/libvirt.py", line 4366, in createXML
raise libvirtError('virDomainCreateXML() failed')
@superherointj
superherointj / test_checkprops.py.log
Created May 20, 2021 17:45
Nixpkgs: Virt-Manager: v3.2.0: Tests
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs = { nixpkgs = { follows = "nixpkgs"; }; };
};
};
outputs =
inputs@{ self, nixpkgs, home-manager, ... }: {