This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
junitFuck = junit.overrideDerivation (drv: { | |
postPatch = (drv.postPatch or "") + '' | |
sed -i -e '/InaccessibleBaseClassTest/d' \ | |
src/test/java/org/junit/tests/AllTests.java | |
''; | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
item_fields: | |
has_albums: | | |
import gc | |
from beets import library | |
from beetsplug.convert import _fs_lock # Abuse the lock for our purpose | |
with _fs_lock: | |
if not hasattr(library, '_artists_with_albums'): | |
libs = [l for l in gc.get_objects() | |
if isinstance(l, library.Library)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, lib, config, ... }: | |
let | |
inherit (lib) mkOption types; | |
secretsModule = { | |
options.path = mkOption { | |
type = types.path; | |
example = lib.literalExample "pkgs.hello"; | |
description = '' |
OlderNewer