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
commit f1f1476d457e232faa35670a1950b7963737042d | |
Author: Patrick Hilhorst <[email protected]> | |
Date: Sun May 19 12:50:21 2019 +0200 | |
Remove version checks | |
diff --git a/setup.py b/setup.py | |
index 7bdf25f..ea31a0b 100644 | |
--- a/setup.py | |
+++ b/setup.py |
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
these derivations will be built: | |
/nix/store/py5jm1i3pg5yaxs05lspvrza80dvw8bq-dejavu-fonts-full-2.37-armv7l-unknown-linux-gnueabi.drv | |
/nix/store/yr4zlmwc29vm6kvpzg11ippd95q2piwm-dejavu-fonts-minimal-2.37-armv7l-unknown-linux-gnueabi.drv | |
/nix/store/ndva6xs37fzkifhl37c2ai7pf1mfnk9m-dejavu-fonts-2.37-armv7l-unknown-linux-gnueabi.drv | |
building '/nix/store/py5jm1i3pg5yaxs05lspvrza80dvw8bq-dejavu-fonts-full-2.37-armv7l-unknown-linux-gnueabi.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/v7wik3xar8rkap69d5smm047rfcigq4p-source | |
source root is source | |
patching sources | |
updateAutotoolsGnuConfigScriptsPhase |
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
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then | |
echo "starting sway" | |
LOGFILE=/tmp/sway_$(date +"%Y-%m-%dT%H:%M:%S").log | |
exec sway | unbuffer -p tee $LOGFILE | |
fi | |
exec fish |
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
#!/usr/bin/env python3 | |
import i3ipc | |
i3 = i3ipc.Connection() | |
def main(): | |
windows = i3.get_tree().find_focused().workspace().leaves() | |
for window in windows: |
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
#!/usr/bin/env nix-shell | |
#!nix-shell -i 'python3.7' -p "python37.withPackages (p: with p; [pandas matplotlib beautifulsoup4 requests])" | |
from matplotlib import pyplot as plt | |
import pandas as pd | |
import requests | |
import re | |
from datetime import datetime | |
from textwrap import wrap |
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
nixpkgs.config.packageOverrides = pkgs: { | |
redshift = pkgs.redshift.overrideAttrs (oldAttrs: rec { | |
src = pkgs.fetchFromGitHub { | |
owner = "breznak"; | |
repo = "redshift"; | |
rev = "Lourens-Rich-master"; | |
sha256 = "1b9gjz1crw8fzlpdisafn6lx37m5dg7s1ak35qcrgzgqlcsldw1l"; | |
}; | |
}); | |
} |
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
redshift = pkgs.redshift.overrideAttrs (oldAttrs: rec { | |
src = pkgs.fetchFromGitHub { | |
owner = "breznak"; | |
repo = "redshift"; | |
rev = "Lourens-Rich-master"; | |
sha256 = "1b9gjz1crw8fzlpdisafn6lx37m5dg7s1ak35qcrgzgqlcsldw1l"; | |
}; | |
}); |
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
# Doesn't work: | |
$ cat examples/diyInherit.nix | ./result/bin/nix-linter /dev/stdin | |
Failure when parsing: | |
/dev/stdin:1:1: | |
| | |
1 | <empty line> | |
| ^ | |
unexpected end of input | |
expecting '{', assert, if, let block, letter, or with |
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
instance DiscreteOrdered a => Semigroup (RSet a) where | |
(<>) = rSetUnion | |
instance DiscreteOrdered a => Monoid (RSet a) where | |
mempty = rSetEmpty | |
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
- /nix/store/a39q29hy3k65ypfbhkv2sq7axsmcnpbd-nixos-system-AquaRing-19.03pre161797.c26dbef830a.drv:{out} | |
+ /nix/store/wshajz6imk1hjwqpiflgrcgqh53hnhps-nixos-system-AquaRing-19.03pre161797.c26dbef830a.drv:{out} | |
• The input named `etc` differs | |
- /nix/store/aiid1f10x4x9hd8h4m8439p04rrm40fq-etc.drv:{out} | |
+ /nix/store/m956vlwmgaj9q7mkcpw5m9wqnwxs63vh-etc.drv:{out} | |
• The input named `etc-nixos.conf` differs | |
- /nix/store/1xqpmqskz77n3p9df1rc6njrl08n3dqf-etc-nixos.conf.drv:{out} | |
+ /nix/store/ma3am349cfl7h40gix9cwmpz4421rsx6-etc-nixos.conf.drv:{out} | |
• The input named `firmware` differs | |
- /nix/store/na9n8mrfrghiv1xxgmjbbnqpib0b3hg6-firmware.drv:{out} |