Skip to content

Instantly share code, notes, and snippets.

/nix/store/2lf9kavlxwjvf2zdv1i6hjimc0ic27pz-cargo-crev-0.18.1
└── bin
├── cargo-crev
└── crevsum
1 directory, 2 files
plugin "beancount.plugins.ira_contribs" "{
'currency': 'HSAUSD',
'accounts': {
'Expenses:Medical': (
'Expenses:HSA:Spent',
'Assets:HSA:Withdrawable'),
('C', 'Assets:Checking'): (
'Assets:HSA:Withdrawable',
'Expenses:HSA:Withdrawn')
}

Evals report

Report built at 2020-11-14 07:08:55 UTC

Built for evals:


2020-09-28T02:46:31 victoriametrics 1.40.0 -> 1.41.1 https://github.com/VictoriaMetrics/VictoriaMetrics/releases
2020-09-28T02:46:40 FAIL Received ExitFailure 1 when running
Raw command: /nix/store/83f38s2vp9nlkh3akilbhw2869xy0b9l-nix-2.3.3/bin/nix-env -qa victoriametrics-1.40.0 -f . --attr-path --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]"
Standard output:
error: selector 'victoriametrics-1.40.0' matches no derivations
@ryantm
ryantm / gist:422df749e70871568d4c56b20421a764
Created September 15, 2020 02:00
Nix activation script
let
pkgs = import <nixpkgs> {};
lib = pkgs.lib;
addAttributeName = with lib; mapAttrs (a: v: v // {
text = ''
${v.text}
'';
});
in
with lib;
@ryantm
ryantm / .sops.yaml
Created August 28, 2020 21:27
DRY sops.yaml
users:
- &ryantm 0000000000000000000000000000000000000000
systems:
- &nix-ryantm 0000000000000000000000000000000000000000
creation_rules:
- path_regex: blah.yaml
key_groups:
- pgp:
these derivations will be built:
/nix/store/yd1s1x2wvzkjdli64ppm9a3wznbz7v5x-packages.json.drv
building '/nix/store/yd1s1x2wvzkjdli64ppm9a3wznbz7v5x-packages.json.drv'...
running post-build-hook '/nix/store/q56pid4rvlly41fn4q5hnmmd9860ylsf-post-build-hook.sh'...
post-build-hook: panic: runtime error: invalid memory address or nil pointer dereference
post-build-hook: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5223a2]
post-build-hook:
post-build-hook: goroutine 1 [running]:
post-build-hook: main.RunClient(0x7ffc0443f8a3, 0x19, 0x0, 0x0)
post-build-hook: /build/go/src/github.com/nix-community/queued-build-hook/client.go:11 +0x82
$ ./ab9f2149647bc178d75f8157c8eec084e13daf775a2c8212004641017bddb034.sh
++ nix-store -r /nix/store/dhnspmn5hc312lm46a98w4n1bz27bp40-ghc-8.8.3
these paths will be fetched (134.19 MiB download, 1863.96 MiB unpacked):
/nix/store/dhnspmn5hc312lm46a98w4n1bz27bp40-ghc-8.8.3
/nix/store/jvkljrfxk8svpak297a0raqyrm10xq3h-ghc-8.8.3-doc
copying path '/nix/store/jvkljrfxk8svpak297a0raqyrm10xq3h-ghc-8.8.3-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/dhnspmn5hc312lm46a98w4n1bz27bp40-ghc-8.8.3' from 'https://cache.nixos.org'...
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
/nix/store/dhnspmn5hc312lm46a98w4n1bz27bp40-ghc-8.8.3
++ echo 0
This file has been truncated, but you can view the full file.
2020-01-15T04:50:30 New run of ups.sh
2020-01-15T04:50:30 btrfs-progs 5.4 -> 5.4.1
2020-01-15T04:55:26 cachix "/nix/store/k7r6kcjsbay7y8r33v78nm8ddgd7zx2g-btrfs-progs-5.4.1"
2020-01-15T04:57:22 SUCCESS
2020-01-15T04:57:22 apache-felix 5.6.1 -> 6.0.3
2020-01-15T04:57:22 FAIL Update branch already on origin.
2020-01-15T04:57:23 batik 1.6 -> 1.12
2020-01-15T04:57:34 FAIL stderr did not split as expected full stderr was:
@ryantm
ryantm / -
Created January 15, 2020 14:40
{ AMB-plugins = { homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html"; version = "0.8.1"; }; AgdaSheaves = { homepage = "https://github.com/jonsterling/Agda-Sheaves"; version = "8a06162a8f0f7df308458db91d720cf8f7345d69"; }; AgdaStdlib = { homepage = "http://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary"; version = "1.1"; }; CoinMP = { homepage = "https://projects.coin-or.org/CoinMP/"; version = "1.8.4"; }; EmptyEpsilon = { homepage = "https://daid.github.io/EmptyEpsilon/"; version = "2019.11.01"; }; FIL-plugins = { homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html"; version = "0.3.0"; }; Fabric = { homepage = "https://www.fabfile.org/"; version = "2.5.0"; }; LASzip = { homepage = "https://laszip.org"; version = "2.2.0"; }; MMA = { homepage = "http://www.mellowood.ca/mma/index.html"; version = "19.08"; }; PPSSPP = { homepage = "https://www.ppsspp.org/"; version = "1.9.3"; }; QmidiNet = { homepage = "http://qmidinet.sourceforge.net/"; versio