I hereby claim:
- I am ronnypfannschmidt on github.
- I am ronnyp (https://keybase.io/ronnyp) on keybase.
- I have a public key ASDaVw33h5A4VZb91Hfct1OkguFONgDgx5qU_NgQ7JkUeAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| $ md5sum /boot/EFI/nixos/* /boot/kernels/*|sort | |
| 0aa43089982ffee8b14e78e2c7c58c04 /boot/EFI/nixos/w5vaz3h9zadvflc5dpyykgfwsdq4305r-linux-4.4.39-bzImage.efi | |
| 0aa43089982ffee8b14e78e2c7c58c04 /boot/kernels/w5vaz3h9zadvflc5dpyykgfwsdq4305r-linux-4.4.39-bzImage | |
| 1a511bbd38c54e4bf75c746c97f4d432 /boot/EFI/nixos/nps1wsc1m31p1rdhq3bkpq39l25df79a-initrd-initrd.efi | |
| 2ec9e2160426cae263080005ebda37d5 /boot/EFI/nixos/y69k12dv269snlc888mmszqnhdv68p6p-linux-4.4.35-bzImage.efi | |
| 30ad7c18df60ac8d30cbd8a6c72e13f9 /boot/EFI/nixos/04m0bsp1fw91gzc1jys7r98qbfv9w34g-initrd-initrd.efi | |
| 30ad7c18df60ac8d30cbd8a6c72e13f9 /boot/kernels/04m0bsp1fw91gzc1jys7r98qbfv9w34g-initrd-initrd | |
| 3b2f9d1302928404eac93e5ee28780ad /boot/EFI/nixos/9nm8anfl8b69jrvvrhhq0dzcg9d4y4yn-initrd-initrd.efi | |
| 4d9f18207824b32472a7478f5a194751 /boot/EFI/nixos/cafxh4c0xnx7hs7cwpzrcab5n15i8bpc-linux-4.4.39-bzImage.efi | |
| 4d9f18207824b32472a7478f5a194751 /boot/kernels/cafxh4c0xnx7hs7cwpzrcab5n15i8bpc-linux-4.4.39-bzImage |
| import attr | |
| import importlib | |
| from operator import attrgetter | |
| @attr.s | |
| class DefferedImport(object): | |
| module = attr.ib() | |
| attribute = attr.ib(default=None) | |
| def __get__(self, instance, owner): |
| #!/run/current-system/sw/bin/env nix-shell | |
| #! nix-shell -f script_env.nix -i python3 -p python3 | |
| import click | |
| @click.command() | |
| def test(): | |
| print("hi") |
| [root@ronny-work-nix:~]# nix-channel --update | |
| downloading Nix expressions from ‘https://d3g5gsiof5omrk.cloudfront.net/nixpkgs/nixpkgs-17.03pre96825.497e6d2/nixexprs.tar.xz’... | |
| downloading ‘https://d3g5gsiof5omrk.cloudfront.net/nixpkgs/nixpkgs-17.03pre96825.497e6d2/nixexprs.tar.xz’... [5619/7892 KiB, 5616.7 KiB/s] | |
| unpacking channels... | |
| [root@ronny-work-nix:~]# nixos-rebuild switch | |
| warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’ does not exist, ignoring | |
| error: file ‘nixpkgs/nixos’ was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13 | |
| building Nix... | |
| warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’ does not exist, ignoring |
| {pkgs ? (import <nixpkgs> {})}: | |
| let | |
| src = pkgs.fetchFromGitHub { | |
| owner = "borgbackup"; | |
| repo = "borg"; | |
| rev = "7e5ed40e2fe49ebf75ba6594e5247e763a2f9e68"; | |
| sha256 = null; | |
| }; | |
| borg = pkgs.stdenv.lib.overrideDerivation pkgs.borgbackup (old: { |
| $ nixos-rebuild build | |
| building Nix... | |
| building the system configuration... | |
| these derivations will be built: | |
| /nix/store/3xl8l4vddvfqx0gyd9z3fgm0jr2by04a-system-path.drv | |
| /nix/store/mpqrssb0kp9w7gw7ba9sp5w4a4ghbdx5-dbus-conf.drv | |
| /nix/store/6ksh6khm1zhbaaajrnz19xn0r7vkf8yr-unit-dbus.service.drv | |
| /nix/store/ik8s9nl1yp0kqmjyq7ln2sn0886wpqk0-xsession.drv | |
| /nix/store/6nq41xm72h8vyyh1a9f4hmqcya54zifz-desktops.drv | |
| /nix/store/mrq5406caknwwkdd6cvhlm7wg6g9dsbh-hwdb.bin.drv |
| import contextlib | |
| @contextlib.contextmanager | |
| def raises_kind(exc_type, kind): | |
| with pytest.raises(exc_type) as e: | |
| yield | |
| assert e.value.kind == kind |
| 351 - Bitbucket: https://bitbucket.org/hpk42/tox/issue/350 | |
| 349 - Bitbucket: https://bitbucket.org/hpk42/tox/issue/347 | |
| 348 - Bitbucket: https://bitbucket.org/hpk42/tox/issue/346 | |
| 347 - Bitbucket: https://bitbucket.org/hpk42/tox/issue/345 | |
| 346 - Bitbucket: https://bitbucket.org/hpk42/tox/issue/344 | |
| 345 - Bitbucket: https://bitbucket.org/hpk42/tox/issue/343 | |
| 344 - Bitbucket: https://bitbucket.org/hpk42/tox/issue/342 | |
| 343 - Bitbucket: https://bitbucket.org/hpk42/tox/issue/341 | |
| 341 - Bitbucket: https://bitbucket.org/hpk42/tox/issue/339 | |
| 340 - Bitbucket: https://bitbucket.org/hpk42/tox/issue/338 |
| class WarningsRelpathFilter(logging.Filter): | |
| """filter to modify warnings messages, to use relative paths in the project""" | |
| def filter(self, record): | |
| if record.args: | |
| new_record = record.args[0].replace(project_path.strpath, '.') | |
| record.args = (new_record,) + record.args[1:] | |
| return True |