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
let | |
overlay = self: super: { | |
opencv3 = super.opencv3.overrideAttrs (oa: rec { | |
version = "3.4.3"; | |
src = self.fetchFromGitHub { | |
owner = "opencv"; | |
repo = "opencv"; | |
rev = version; | |
sha256 = "138q3wiv4g4xvqzsp93xaqayv7kz7bl2vrgppp8jm8w6m25cd4i2"; | |
}; |
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
let | |
overlay = self: super: { | |
python = super.python.override { | |
packageOverrides = pself: psuper: { | |
opencv3 = pself.toPythonModule ((super.opencv3.overrideAttrs (oa: rec { | |
version = "3.4.3"; | |
src = self.fetchFromGitHub { | |
owner = "opencv"; | |
repo = "opencv"; | |
rev = version; |
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/b32cc55x77wr8vcbb0flb5sr8df893qj-kubernetes-1.11.2.drv | |
+---/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh | |
+---/nix/store/x55fdqpxr93wwfjbsh2cyp9vv51wjflf-bash-4.4-p23.drv | |
| +---/nix/store/20sqhza7ab7ah73bxj1ydzx7b4y0fs8f-bash44-021.drv | |
| +---/nix/store/29w58xpj3jhbv2bppxiyid5icfhfayp1-bash44-012.drv | |
| +---/nix/store/635dy76rd1211p02ryzz5zkfwlwl1hkd-bash44-015.drv | |
| +---/nix/store/7xbxf2h7560iscm4vl3yziy6bkq497db-bash44-002.drv | |
| +---/nix/store/9c8v0sgy158p18wh3gfmyi45fic8gkz7-bash44-019.drv | |
| +---/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh [...] | |
| +---/nix/store/bfil786fxmnjcwc7mqpm0mk4xnm2cphg-bootstrap-tools.drv |
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/gcyi0bxz14saqmwbrc8g0n133ya466yh-kubernetes-1.11.2.drv | |
+---/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh | |
+---/nix/store/x55fdqpxr93wwfjbsh2cyp9vv51wjflf-bash-4.4-p23.drv | |
| +---/nix/store/20sqhza7ab7ah73bxj1ydzx7b4y0fs8f-bash44-021.drv | |
| +---/nix/store/29w58xpj3jhbv2bppxiyid5icfhfayp1-bash44-012.drv | |
| +---/nix/store/635dy76rd1211p02ryzz5zkfwlwl1hkd-bash44-015.drv | |
| +---/nix/store/7xbxf2h7560iscm4vl3yziy6bkq497db-bash44-002.drv | |
| +---/nix/store/9c8v0sgy158p18wh3gfmyi45fic8gkz7-bash44-019.drv | |
| +---/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh [...] | |
| +---/nix/store/bfil786fxmnjcwc7mqpm0mk4xnm2cphg-bootstrap-tools.drv |
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
let | |
overlay = self: super: { | |
nix = super.nix.overrideAttrs (oa: { | |
doCheck = false; | |
}); | |
}; | |
in | |
{ pkgs? import <nixpkgs> { overlays = [ overlay ];} }: | |
pkgs |
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
let | |
overlay = self: super: { | |
nix = super.nix.overrideAttrs (oa: { | |
doCheck = false; | |
}); | |
}; | |
in | |
import <nixpkgs> { overlays = [ overlay ]; } |
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
self: super: { | |
haskellPackages = with self.haskell.lib; super.haskellPackages.extend (selfHS: superHS: { | |
gitit = overrideCabal superHS.gitit (oa: { | |
src = self.fetchFromGitHub { | |
owner = "jgm"; | |
repo = "gitit"; | |
rev = "ee9927f8c22bc76353aa8589220b6aafc343847c"; | |
sha256 = "19f3wj83i8igsy86ri54qynvi94061lhgy6wr2brypmqpa160l93"; | |
}; | |
}); |
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
lens-aeson-lossy.hs:30:27: error: | |
• No instance for (Data.String.IsString | |
(Getting | |
(base-4.11.1.0:Data.Semigroup.Internal.Endo [a0]) Value a0)) | |
arising from the literal ‘"mapset"’ | |
(maybe you haven't applied a function to enough arguments?) | |
• In the second argument of ‘(^..)’, namely ‘"mapset"’ | |
In the first argument of ‘(^@..)’, namely ‘o ^.. "mapset"’ | |
In the second argument of ‘($)’, namely |
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
~/scratch | |
❯ mkdir testrepo && cd testrepo | |
~/scratch/testrepo | |
❯ git init | |
Initialized empty Git repository in /home/sarah/scratch/testrepo/.git/ | |
~/scratch/testrepo master | |
❯ echo '#!/bin/sh\necho foo' >> .git/hooks/pre-commit |
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/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash | |
/nix/store/qcn9ck2zfk9bj5m3g1jv0lcc9yicjq2j-git-2.19.1/bin/git fetch -fu \ | |
${2:-$(/nix/store/qcn9ck2zfk9bj5m3g1jv0lcc9yicjq2j-git-2.19.1/bin/git remote | grep "^upstream" || echo origin)} \ | |
"refs/pull/$1/head:pr/$1" && \ | |
/nix/store/qcn9ck2zfk9bj5m3g1jv0lcc9yicjq2j-git-2.19.1/bin/git checkout "pr/$1"; | |