Project import generated by Copybara.
GitOrigin-RevId: b59c06dc92f8d03660eb4155754d93a6c34cda83
This commit is contained in:
parent
0fe1cd7bea
commit
5cae67db9e
197 changed files with 3818 additions and 3685 deletions
|
@ -12,4 +12,4 @@ dont-distribute-packages:
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "Regenerating list of transitive broken packages ..."
|
echo "Regenerating list of transitive broken packages ..."
|
||||||
echo -e $(nix-instantiate --eval --strict maintainers/scripts/haskell/transitive-broken-packages.nix) | sed 's/\"//' | sort -i >> $config_file
|
echo -e $(nix-instantiate --eval --strict maintainers/scripts/haskell/transitive-broken-packages.nix) | sed 's/\"//' | LC_ALL=C.UTF-8 sort -i >> $config_file
|
||||||
|
|
3
third_party/nixpkgs/nixos/doc/manual/README
vendored
3
third_party/nixpkgs/nixos/doc/manual/README
vendored
|
@ -1,3 +0,0 @@
|
||||||
Moved to: ./contributing-to-this-manual.xml. Link:
|
|
||||||
|
|
||||||
https://nixos.org/manual/nixos/unstable/#chap-contributing
|
|
3
third_party/nixpkgs/nixos/doc/manual/README.md
vendored
Normal file
3
third_party/nixpkgs/nixos/doc/manual/README.md
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[Moved to ./contributing-to-this-manual.chapter.md](./contributing-to-this-manual.chapter.md). Link:
|
||||||
|
|
||||||
|
https://nixos.org/manual/nixos/unstable/#chap-contributing
|
|
@ -61,7 +61,7 @@ let
|
||||||
blackhole { badnetworks; };
|
blackhole { badnetworks; };
|
||||||
forward first;
|
forward first;
|
||||||
forwarders { ${concatMapStrings (entry: " ${entry}; ") cfg.forwarders} };
|
forwarders { ${concatMapStrings (entry: " ${entry}; ") cfg.forwarders} };
|
||||||
directory "/run/named";
|
directory "${cfg.directory}";
|
||||||
pid-file "/run/named/named.pid";
|
pid-file "/run/named/named.pid";
|
||||||
${cfg.extraOptions}
|
${cfg.extraOptions}
|
||||||
};
|
};
|
||||||
|
@ -166,6 +166,12 @@ in
|
||||||
";
|
";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
directory = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "/run/named";
|
||||||
|
description = "Working directory of BIND.";
|
||||||
|
};
|
||||||
|
|
||||||
zones = mkOption {
|
zones = mkOption {
|
||||||
default = [ ];
|
default = [ ];
|
||||||
type = with types; coercedTo (listOf attrs) bindZoneCoerce (attrsOf (types.submodule bindZoneOptions));
|
type = with types; coercedTo (listOf attrs) bindZoneCoerce (attrsOf (types.submodule bindZoneOptions));
|
||||||
|
@ -240,6 +246,9 @@ in
|
||||||
|
|
||||||
${pkgs.coreutils}/bin/mkdir -p /run/named
|
${pkgs.coreutils}/bin/mkdir -p /run/named
|
||||||
chown ${bindUser} /run/named
|
chown ${bindUser} /run/named
|
||||||
|
|
||||||
|
${pkgs.coreutils}/bin/mkdir -p ${cfg.directory}
|
||||||
|
chown ${bindUser} ${cfg.directory}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
5
third_party/nixpkgs/nixos/tests/agda.nix
vendored
5
third_party/nixpkgs/nixos/tests/agda.nix
vendored
|
@ -2,6 +2,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
hello-world = pkgs.writeText "hello-world" ''
|
hello-world = pkgs.writeText "hello-world" ''
|
||||||
|
{-# OPTIONS --guardedness #-}
|
||||||
open import IO
|
open import IO
|
||||||
open import Level
|
open import Level
|
||||||
|
|
||||||
|
@ -35,10 +36,6 @@ in
|
||||||
machine.succeed("touch TestEmpty.agda")
|
machine.succeed("touch TestEmpty.agda")
|
||||||
machine.succeed("agda TestEmpty.agda")
|
machine.succeed("agda TestEmpty.agda")
|
||||||
|
|
||||||
# Minimal script that actually uses the standard library
|
|
||||||
machine.succeed('echo "import IO" > TestIO.agda')
|
|
||||||
machine.succeed("agda -l standard-library -i . TestIO.agda")
|
|
||||||
|
|
||||||
# Hello world
|
# Hello world
|
||||||
machine.succeed(
|
machine.succeed(
|
||||||
"cp ${hello-world} HelloWorld.agda"
|
"cp ${hello-world} HelloWorld.agda"
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "charge-lnd";
|
pname = "charge-lnd";
|
||||||
version = "0.2.1";
|
version = "0.2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "accumulator";
|
owner = "accumulator";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0l4h3fdvln03ycbg3xngh8vkhgrz4ad864yyn4gmdjp0ypi69qa1";
|
sha256 = "087y60hpld17bg2ya5nlh4m4sam4s6mx8vrqhm48idj1rmlcpfws";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "chia";
|
pname = "chia";
|
||||||
version = "1.2.1";
|
version = "1.2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Chia-Network";
|
owner = "Chia-Network";
|
||||||
repo = "chia-blockchain";
|
repo = "chia-blockchain";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-ZNSNROWl6RR4GZnoRGAXrdw48wH9OOgrsoKz0RNIIcs=";
|
sha256 = "sha256-ZYncyaX9gqBhDKiC87A2xI7VeU0zGsmm3Sx45lwgnrg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "trezor-suite";
|
pname = "trezor-suite";
|
||||||
version = "21.6.1";
|
version = "21.7.1";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
suffix = {
|
suffix = {
|
||||||
|
@ -20,8 +20,8 @@ let
|
||||||
url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage";
|
url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage";
|
||||||
# sha512 hashes are obtained from latest-linux-arm64.yml and latest-linux.yml
|
# sha512 hashes are obtained from latest-linux-arm64.yml and latest-linux.yml
|
||||||
sha512 = {
|
sha512 = {
|
||||||
aarch64-linux = "sha512-IxWiOJEk2PHdKf4QPHH9Y5rdyhKF3aQCHJe1crS4sYrE+4BLj3rFwRPIIGhJLqzqPyW24Hw/A4lnRnDd/UpsNA==";
|
aarch64-linux = "sha512-GEu1Zx3IQws8wsVsZUaIKvC0kTe8l/BBPSdu5q44tDpszmPugz8G/8FDAO/Ra50dzyiHhRheybZPuf2BBGGb7A==";
|
||||||
x86_64-linux = "sha512-pSJ+4y9v1ltXun3F4UyQoSTJdaFSelIHx49DBbd180MSbpETecVa7OFadKjlSUKD1sknNXG9MDb2hv7SRNdDYw==";
|
x86_64-linux = "sha512-ghPbQa/MstzfUOWve1KNwB1t9dxK0+eYunBSoShWKpb85hgK69+ncTmhY8HejT28OkjFnGk6h4PWbrnQetj8MA==";
|
||||||
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ trivialBuild rec {
|
||||||
version = "1.52";
|
version = "1.52";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dev.gentoo.org/~ulm/emacs/ebuild-mode-${version}.tar.xz";
|
url = "https://dev.gentoo.org/~ulm/emacs/${pname}-${version}.tar.xz";
|
||||||
sha256 = "10nikbbwh612qlnms2i31963a0h3ccyg85vrxlizdpsqs4cjpg6h";
|
sha256 = "10nikbbwh612qlnms2i31963a0h3ccyg85vrxlizdpsqs4cjpg6h";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -125,20 +125,16 @@
|
||||||
license = lib.licenses.free;
|
license = lib.licenses.free;
|
||||||
};
|
};
|
||||||
}) {};
|
}) {};
|
||||||
aggressive-indent = callPackage ({ cl-lib ? null
|
aggressive-indent = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
|
||||||
, elpaBuild
|
|
||||||
, emacs
|
|
||||||
, fetchurl
|
|
||||||
, lib }:
|
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "aggressive-indent";
|
pname = "aggressive-indent";
|
||||||
ename = "aggressive-indent";
|
ename = "aggressive-indent";
|
||||||
version = "1.8.3";
|
version = "1.10.0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://elpa.gnu.org/packages/aggressive-indent-1.8.3.el";
|
url = "https://elpa.gnu.org/packages/aggressive-indent-1.10.0.tar";
|
||||||
sha256 = "0jnzccl50x0wapprgwxinp99pwwa6j43q6msn4gv437j7swy8wnj";
|
sha256 = "166jk1z0vw481lfi3gbg7f9vsgwfv8fiyxpkfphgvgcmf5phv4q1";
|
||||||
};
|
};
|
||||||
packageRequires = [ cl-lib emacs ];
|
packageRequires = [ emacs ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://elpa.gnu.org/packages/aggressive-indent.html";
|
homepage = "https://elpa.gnu.org/packages/aggressive-indent.html";
|
||||||
license = lib.licenses.free;
|
license = lib.licenses.free;
|
||||||
|
@ -670,10 +666,10 @@
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "corfu";
|
pname = "corfu";
|
||||||
ename = "corfu";
|
ename = "corfu";
|
||||||
version = "0.9";
|
version = "0.10";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://elpa.gnu.org/packages/corfu-0.9.tar";
|
url = "https://elpa.gnu.org/packages/corfu-0.10.tar";
|
||||||
sha256 = "0710bq07j6w6zm49ci1bbx580frdbc62b3hbxwzkwm5204nf78bf";
|
sha256 = "0sqr4cld84vgfnf0fjgvbbix1p23s0n2xsszfap6d8a2xzzpp044";
|
||||||
};
|
};
|
||||||
packageRequires = [ emacs ];
|
packageRequires = [ emacs ];
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -775,10 +771,10 @@
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "dash";
|
pname = "dash";
|
||||||
ename = "dash";
|
ename = "dash";
|
||||||
version = "2.18.1";
|
version = "2.19.0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://elpa.gnu.org/packages/dash-2.18.1.tar";
|
url = "https://elpa.gnu.org/packages/dash-2.19.0.tar";
|
||||||
sha256 = "17mrvmrfh5c3kri4r3gf1c3gz4i5vl9ac60grpx4103b56y4cgra";
|
sha256 = "0qszjs60xxqjiqf5f2bgmnbx5jiqii4ghcydwg500za0n2j0f5sx";
|
||||||
};
|
};
|
||||||
packageRequires = [ emacs ];
|
packageRequires = [ emacs ];
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1015,10 +1011,10 @@
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "ebdb";
|
pname = "ebdb";
|
||||||
ename = "ebdb";
|
ename = "ebdb";
|
||||||
version = "0.6.24";
|
version = "0.7";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://elpa.gnu.org/packages/ebdb-0.6.24.tar";
|
url = "https://elpa.gnu.org/packages/ebdb-0.7.tar";
|
||||||
sha256 = "0156rh6fkv2yp509h6i8qzh4gsda2mcmfrxl4r6ywn1z5ahijc3r";
|
sha256 = "0q4ywgh87d6hjac3031s21w91gld2hh7s8nbva94dnzwn6y9d0v1";
|
||||||
};
|
};
|
||||||
packageRequires = [ cl-lib emacs seq ];
|
packageRequires = [ cl-lib emacs seq ];
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1075,10 +1071,10 @@
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "eev";
|
pname = "eev";
|
||||||
ename = "eev";
|
ename = "eev";
|
||||||
version = "20210618";
|
version = "20210710";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://elpa.gnu.org/packages/eev-20210618.tar";
|
url = "https://elpa.gnu.org/packages/eev-20210710.tar";
|
||||||
sha256 = "13sb9shpj9fhns8sl3dxdgnn8z4wf14mgi4s87k5x4nrr012sscf";
|
sha256 = "19k5yncyjg7afvkx54k9mplm86jyr3svjjyprrj1frdi219i5piw";
|
||||||
};
|
};
|
||||||
packageRequires = [ emacs ];
|
packageRequires = [ emacs ];
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -2321,10 +2317,10 @@
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "modus-themes";
|
pname = "modus-themes";
|
||||||
ename = "modus-themes";
|
ename = "modus-themes";
|
||||||
version = "1.4.0";
|
version = "1.5.0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://elpa.gnu.org/packages/modus-themes-1.4.0.tar";
|
url = "https://elpa.gnu.org/packages/modus-themes-1.5.0.tar";
|
||||||
sha256 = "0ssckl06jk08vaq4g7sxpzvc3ybm339fzbn9qw21w82v1l60rzpm";
|
sha256 = "0y5a7g66iiai20fvc6qff3ki792bzca87zxbmxl8hpks4a6znc80";
|
||||||
};
|
};
|
||||||
packageRequires = [ emacs ];
|
packageRequires = [ emacs ];
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -2889,10 +2885,10 @@
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "pyim";
|
pname = "pyim";
|
||||||
ename = "pyim";
|
ename = "pyim";
|
||||||
version = "3.8.2";
|
version = "3.9.2";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://elpa.gnu.org/packages/pyim-3.8.2.tar";
|
url = "https://elpa.gnu.org/packages/pyim-3.9.2.tar";
|
||||||
sha256 = "05sgciqb0hzy07j8pvbg7h2vpa9z5z60m6pknxd3b1kpi45vaihw";
|
sha256 = "18m5wni1zns8fad2ll9flbfgxfy14gi03apnycajdbqxsqfp65j9";
|
||||||
};
|
};
|
||||||
packageRequires = [ async emacs xr ];
|
packageRequires = [ async emacs xr ];
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -3430,10 +3426,10 @@
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "slime-volleyball";
|
pname = "slime-volleyball";
|
||||||
ename = "slime-volleyball";
|
ename = "slime-volleyball";
|
||||||
version = "1.1.7";
|
version = "1.2.0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://elpa.gnu.org/packages/slime-volleyball-1.1.7.tar";
|
url = "https://elpa.gnu.org/packages/slime-volleyball-1.2.0.tar";
|
||||||
sha256 = "0dl1x0ghfwg4vv2asz3g4plghjxpzd56fyw09vsa3s3k9xsmy3yy";
|
sha256 = "07xavg6xq5ckrfy5sk5k5ldb46m5w8nw1r1k006ck8f23ajaw5z2";
|
||||||
};
|
};
|
||||||
packageRequires = [ cl-lib ];
|
packageRequires = [ cl-lib ];
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -3561,16 +3557,16 @@
|
||||||
license = lib.licenses.free;
|
license = lib.licenses.free;
|
||||||
};
|
};
|
||||||
}) {};
|
}) {};
|
||||||
spinner = callPackage ({ elpaBuild, fetchurl, lib }:
|
spinner = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "spinner";
|
pname = "spinner";
|
||||||
ename = "spinner";
|
ename = "spinner";
|
||||||
version = "1.7.3";
|
version = "1.7.4";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://elpa.gnu.org/packages/spinner-1.7.3.el";
|
url = "https://elpa.gnu.org/packages/spinner-1.7.4.tar";
|
||||||
sha256 = "19kp1mmndbmw11sgvv2ggfjl4pyf5zrsbh3871f0965pw9z8vahd";
|
sha256 = "140kss25ijbwf8hzflbjz67ry76w2cyrh02axk95n6qcxv7jr7pv";
|
||||||
};
|
};
|
||||||
packageRequires = [];
|
packageRequires = [ emacs ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://elpa.gnu.org/packages/spinner.html";
|
homepage = "https://elpa.gnu.org/packages/spinner.html";
|
||||||
license = lib.licenses.free;
|
license = lib.licenses.free;
|
||||||
|
@ -3824,10 +3820,10 @@
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "transient";
|
pname = "transient";
|
||||||
ename = "transient";
|
ename = "transient";
|
||||||
version = "0.3.5";
|
version = "0.3.6";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://elpa.gnu.org/packages/transient-0.3.5.tar";
|
url = "https://elpa.gnu.org/packages/transient-0.3.6.tar";
|
||||||
sha256 = "15dlj21gn0zxywic9wdcp5zc8skm1s170bq7smgkpd3p3lxslf68";
|
sha256 = "11n2551kvfjrqyk0x78bz6pirnfs126cbchiv1pchqwyk8z8c9ks";
|
||||||
};
|
};
|
||||||
packageRequires = [ emacs ];
|
packageRequires = [ emacs ];
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "org";
|
pname = "org";
|
||||||
ename = "org";
|
ename = "org";
|
||||||
version = "20210628";
|
version = "20210712";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://orgmode.org/elpa/org-20210628.tar";
|
url = "https://orgmode.org/elpa/org-20210712.tar";
|
||||||
sha256 = "1sn2yyynndk8qf43ss8bayll33r4ina8xfx4ywzcs3m1lm6xy1zl";
|
sha256 = "0xdxzfk7hvsmlyivn61ivci6hy2alxg2ysdm5xad4xxz337jrj7x";
|
||||||
};
|
};
|
||||||
packageRequires = [];
|
packageRequires = [];
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -19,10 +19,10 @@
|
||||||
elpaBuild {
|
elpaBuild {
|
||||||
pname = "org-plus-contrib";
|
pname = "org-plus-contrib";
|
||||||
ename = "org-plus-contrib";
|
ename = "org-plus-contrib";
|
||||||
version = "20210628";
|
version = "20210712";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://orgmode.org/elpa/org-plus-contrib-20210628.tar";
|
url = "https://orgmode.org/elpa/org-plus-contrib-20210712.tar";
|
||||||
sha256 = "0r4kxp1hbhkwvi7939fglng8db4h4n7vigy8pd2gia3a02xcw8l5";
|
sha256 = "1cdpwsfjmjplyik1r9kl4lvd5lm52zrixlfg2ml1mhh28s680k0q";
|
||||||
};
|
};
|
||||||
packageRequires = [];
|
packageRequires = [];
|
||||||
meta = {
|
meta = {
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -5,15 +5,15 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
sublime4 = common {
|
sublime4 = common {
|
||||||
buildVersion = "4107";
|
buildVersion = "4113";
|
||||||
x64sha256 = "05ar7qd1d880442bx4w32mapsib7j27g9l96q2v2s7591r9fgnf7";
|
x64sha256 = "13679mnmigy1sgj355zs4si6gnx42rgjl4rn5d6gqgj5qq7zj3lh";
|
||||||
aarch64sha256 = "4MzwhZ17c6cYtlwPA+SBiey6GiVruADXOLJAeJlMrgM=";
|
aarch64sha256 = "0hg6g3cichma1x82963m7xwazmpdvv5zmz8rpwxs337zq7j3dmb3";
|
||||||
} {};
|
} {};
|
||||||
|
|
||||||
sublime4-dev = common {
|
sublime4-dev = common {
|
||||||
buildVersion = "4106";
|
buildVersion = "4112";
|
||||||
dev = true;
|
dev = true;
|
||||||
x64sha256 = "09jnn52zb0mjxpj5xz4sixl34cr6j60x46c2dj1m0dlgxap0sh8x";
|
x64sha256 = "1yy8wzcphsk3ji2sv2vjcw8ybn62yibzsv9snmm01gvkma16p9dl";
|
||||||
aarch64sha256 = "7blbeSZI0V6q89jMM+zi2ODEdoc1b3Am8F2b2jLr5O8=";
|
aarch64sha256 = "12bl235rxgw3q99yz9x4nfaryb32a2vzyam88by6p1s1zw2fxnp9";
|
||||||
} {};
|
} {};
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,17 +14,17 @@ let
|
||||||
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
|
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
|
||||||
|
|
||||||
sha256 = {
|
sha256 = {
|
||||||
x86_64-linux = "06as63444m2036vk4180dfpavmp9l07qc1jfc4gg86j0apdxr6sh";
|
x86_64-linux = "049spg4c1arkw97mg0h046kiirmcrjj97sy4ldiblwldjn510acw";
|
||||||
x86_64-darwin = "0dxchqwk3flv2cr542y1l7c06lak9zzj09f2kljsan6gs6zbls2b";
|
x86_64-darwin = "0g6b1891ag4a6p7rlkfka5v4nbmpr4ckkmibhw8l3wa9zdzs77x6";
|
||||||
aarch64-linux = "0pdbganyc59mll3232b26cc6fi8a8kpvjm5qky4qr4pk4jsj2r6q";
|
aarch64-linux = "1qvk6cn5v9bz4vl5ifpdgrba94v6a54xx8s3fxdkj3lqvq27kpd1";
|
||||||
aarch64-darwin = "00pax1hakj5l21j7fm1b05s8kkfnbvgfs9h7f27ad379n6482gxl";
|
aarch64-darwin = "1whgjkxy70ifx1vaddxr8f1xcg651fhca4x7rzidzbyyf3baghy0";
|
||||||
armv7l-linux = "1g63xh3k1nm8kls674qavmyl7csb3m4d7ywc0512far76lw39rvr";
|
armv7l-linux = "1k45s81s4ispc0vz7i17a7gss05d82vpymxgangg6f1yxwz944r4";
|
||||||
}.${system};
|
}.${system};
|
||||||
in
|
in
|
||||||
callPackage ./generic.nix rec {
|
callPackage ./generic.nix rec {
|
||||||
# Please backport all compatible updates to the stable release.
|
# Please backport all compatible updates to the stable release.
|
||||||
# This is important for the extension ecosystem.
|
# This is important for the extension ecosystem.
|
||||||
version = "1.58.0";
|
version = "1.58.2";
|
||||||
pname = "vscode";
|
pname = "vscode";
|
||||||
|
|
||||||
sourceExecutableName = "code";
|
sourceExecutableName = "code";
|
||||||
|
|
|
@ -13,10 +13,10 @@ let
|
||||||
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
|
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
|
||||||
|
|
||||||
sha256 = {
|
sha256 = {
|
||||||
x86_64-linux = "16hzhmsh9nv2brpzx8wnz08sanf0v6f3ln5hqgzxck0pafbzqyl5";
|
x86_64-linux = "11h4c5ghgn3qrg66jh2par3cl3fqzn9xb7gdniww4badnyajnij8";
|
||||||
x86_64-darwin = "1a44fm5fx0zqlfr344mvc0m9hbd0vxd6s489pmh8x7m7q3sadi7j";
|
x86_64-darwin = "0hd3qdxg4cknk3fxv509jlblwmfx65bm2a4arsg255224dpg64n2";
|
||||||
aarch64-linux = "082gjmnlvk12vkcxbpsd4xfgs38qbxkfawq9kyl3p7i8y6anrd4i";
|
aarch64-linux = "0waakj413kqf68sawajd3n24qdbx6b2svyb4lgbn0sy1apc96s3c";
|
||||||
armv7l-linux = "0zs66qmlq65166s34qjr6gppxvl5hyz1mjwxc97mki2c6y61fp28";
|
armv7l-linux = "1ij2bmsk601f1vjljj6gvxsxrcjqf2m74s9kc006hmcz7czjgk8f";
|
||||||
}.${system};
|
}.${system};
|
||||||
|
|
||||||
sourceRoot = {
|
sourceRoot = {
|
||||||
|
@ -31,7 +31,7 @@ in
|
||||||
|
|
||||||
# Please backport all compatible updates to the stable release.
|
# Please backport all compatible updates to the stable release.
|
||||||
# This is important for the extension ecosystem.
|
# This is important for the extension ecosystem.
|
||||||
version = "1.58.1";
|
version = "1.58.2";
|
||||||
pname = "vscodium";
|
pname = "vscodium";
|
||||||
|
|
||||||
executableName = "codium";
|
executableName = "codium";
|
||||||
|
|
|
@ -28,15 +28,16 @@
|
||||||
, nss
|
, nss
|
||||||
, pango
|
, pango
|
||||||
, systemd
|
, systemd
|
||||||
|
, udev
|
||||||
, xdg-utils
|
, xdg-utils
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "1password";
|
pname = "1password";
|
||||||
version = "8.0.34";
|
version = "8.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://downloads.1password.com/linux/tar/stable/x86_64/1password-${version}.x64.tar.gz";
|
url = "https://downloads.1password.com/linux/tar/stable/x86_64/1password-${version}.x64.tar.gz";
|
||||||
sha256 = "0mp119v5vgsva7pnxpsbq4xhh4vbhwv7ga9b5b7f6slx3biy1wmh";
|
sha256 = "0y39sfhj9xrgprh01i9apzfkqzm6pdhjc8x59x5p5djjjvxbcwmy";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -95,8 +96,12 @@ stdenv.mkDerivation rec {
|
||||||
patchelf --set-rpath ${rpath}:$out/share/1password $file
|
patchelf --set-rpath ${rpath}:$out/share/1password $file
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Electron is trying to open udev via dlopen()
|
||||||
|
# and for some reason that doesn't seem to be impacted from the rpath.
|
||||||
|
# Adding udev to LD_LIBRARY_PATH fixes that.
|
||||||
makeWrapper $out/share/1password/1password $out/bin/1password \
|
makeWrapper $out/share/1password/1password $out/bin/1password \
|
||||||
--prefix PATH : ${xdg-utils}/bin
|
--prefix PATH : ${lib.makeBinPath [ xdg-utils ]} \
|
||||||
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "scli";
|
pname = "scli";
|
||||||
version = "0.6.3";
|
version = "0.6.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "isamert";
|
owner = "isamert";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-QGVBJKTBo2RckGwW1deM2toRPT73PYDLvr7YVepkQvg=";
|
sha256 = "0fx9ig08whl7bsii9m1h9wp361ngf1szd8v8yqglgl0x8044fwrk";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
|
54
third_party/nixpkgs/pkgs/applications/misc/wofi-emoji/default.nix
vendored
Normal file
54
third_party/nixpkgs/pkgs/applications/misc/wofi-emoji/default.nix
vendored
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, jq }:
|
||||||
|
|
||||||
|
let
|
||||||
|
emojiJSON = fetchFromGitHub {
|
||||||
|
owner = "github";
|
||||||
|
repo = "gemoji";
|
||||||
|
sha256 = "sha256-Tn0vba129LPlX+MRcCBA9qp2MU1ek1jYzVCqoNxCL/w=";
|
||||||
|
rev = "v4.0.0.rc2";
|
||||||
|
};
|
||||||
|
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
pname = "wofi-emoji";
|
||||||
|
version = "unstable-2021-05-24";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dln";
|
||||||
|
repo = pname;
|
||||||
|
rev = "bfe35c1198667489023109f6843217b968a35183";
|
||||||
|
sha256 = "sha256-wMIjTUCVn4uF0cpBkPfs76NRvwS0WhGGJRy9vvtmVWQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ jq ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
cp "${emojiJSON}/db/emoji.json" .
|
||||||
|
substituteInPlace build.sh \
|
||||||
|
--replace 'curl https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json' 'cat emoji.json'
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
|
||||||
|
bash build.sh
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp wofi-emoji $out/bin
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Simple emoji selector for Wayland using wofi and wl-clipboard";
|
||||||
|
homepage = "https://github.com/dln/wofi-emoji";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.ymarkus ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.74";
|
version = "0.75";
|
||||||
pname = "putty";
|
pname = "putty";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
"https://the.earth.li/~sgtatham/putty/${version}/${pname}-${version}.tar.gz"
|
"https://the.earth.li/~sgtatham/putty/${version}/${pname}-${version}.tar.gz"
|
||||||
"ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${pname}-${version}.tar.gz"
|
"ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${pname}-${version}.tar.gz"
|
||||||
];
|
];
|
||||||
sha256 = "0zc43g8ycyf712cdrja4k8ih5s3agw1k0nq0jkifdn8xwn4d7mfx";
|
sha256 = "1xgrr1fbirw79zafspg2b6crzfmlfw910y79md4r7gnxgq1kn5yk";
|
||||||
};
|
};
|
||||||
|
|
||||||
# glib-2.62 deprecations
|
# glib-2.62 deprecations
|
||||||
|
|
|
@ -10,7 +10,7 @@ assert withQt -> qt5 != null;
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.4.6";
|
version = "3.4.7";
|
||||||
variant = if withQt then "qt" else "cli";
|
variant = if withQt then "qt" else "cli";
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
|
@ -20,7 +20,7 @@ in stdenv.mkDerivation {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.wireshark.org/download/src/all-versions/wireshark-${version}.tar.xz";
|
url = "https://www.wireshark.org/download/src/all-versions/wireshark-${version}.tar.xz";
|
||||||
sha256 = "0a26kcj3n1a2kw1f3fc6s1x3rw3f3bj2cq6rp7k0kc4ciwh7i9hj";
|
sha256 = "17d00kl0s010wg2dfhy7sdbr2qm54lsi317fmbcvjz4rxx8ywk3c";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "bcftools";
|
pname = "bcftools";
|
||||||
version = "1.11";
|
version = "1.13";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/samtools/bcftools/releases/download/${version}/${pname}-${version}.tar.bz2";
|
url = "https://github.com/samtools/bcftools/releases/download/${version}/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "0r508mp15pqzf8r1269kb4v5naw9zsvbwd3cz8s1yj7carsf9viw";
|
sha256 = "sha256-E7+h2ipe3aj6URlqR6C0r7P+8XUWRR5PDnhHfz3TC5A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -52,5 +52,10 @@ stdenv.mkDerivation rec {
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ marsam mpickering ];
|
maintainers = with maintainers; [ marsam mpickering ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
|
||||||
|
# Broken due to Agda update. See
|
||||||
|
# https://github.com/NixOS/nixpkgs/pull/129606#issuecomment-881107449.
|
||||||
|
broken = true;
|
||||||
|
hydraPlatforms = platforms.none;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, flint
|
, flint
|
||||||
|
@ -11,57 +10,16 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.7.27";
|
version = "0.7.29";
|
||||||
pname = "pynac";
|
pname = "pynac";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pynac";
|
owner = "pynac";
|
||||||
repo = "pynac";
|
repo = "pynac";
|
||||||
rev = "pynac-${version}";
|
rev = "pynac-${version}";
|
||||||
sha256 = "sha256-1HHCIeaNE2UsJNX92UlDGLJS8I4nC/8FnwX7Y4F9HpU=";
|
sha256 = "sha256-ocR7emXtKs+Xe2f6dh4xEDAacgiolY8mtlLnWnNBS8A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# the five patches below are included with sage 9.3. since pynac
|
|
||||||
# is a self-described "Sage Math support library", we include them
|
|
||||||
# here.
|
|
||||||
|
|
||||||
# https://trac.sagemath.org/ticket/30688
|
|
||||||
(fetchpatch {
|
|
||||||
name = "power_inf_loop.patch";
|
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/power_inf_loop.patch?h=9.3";
|
|
||||||
sha256 = "sha256-VYeaJl8u2wl7FQ/6xnpZv1KpdNYEmJoPhuMrBADyTRs=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# https://trac.sagemath.org/ticket/31479
|
|
||||||
(fetchpatch {
|
|
||||||
name = "disable_poly_mul_expand.patch";
|
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/disable_poly_mul_expand.patch?h=9.3";
|
|
||||||
sha256 = "sha256-gRjoltU9Tzj7fjNyE25fY+iyDxERzSTOMigzxFpUqPo=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# https://trac.sagemath.org/ticket/31530
|
|
||||||
(fetchpatch {
|
|
||||||
name = "too_much_sub.patch";
|
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/too_much_sub.patch?h=9.3";
|
|
||||||
sha256 = "sha256-lw7xSQ/l+rzPu+ghWF4omYF0mKksGGPuuHJTktvbdis=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# https://trac.sagemath.org/ticket/31554
|
|
||||||
(fetchpatch {
|
|
||||||
name = "handle_factor.patch";
|
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/handle_factor.patch?h=9.3";
|
|
||||||
sha256 = "sha256-U1lb5qwBqZZgklfDMhBX4K5u8bz5x42O4w7hyNy2YVw=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# https://trac.sagemath.org/ticket/31645
|
|
||||||
(fetchpatch {
|
|
||||||
name = "seriesbug.patch";
|
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/seriesbug.patch?h=9.3";
|
|
||||||
sha256 = "sha256-b3//oirN7JHDYqrvE+tDYcnKpSYQJ08yBzcNlII2Dts=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
flint
|
flint
|
||||||
gmp
|
gmp
|
||||||
|
@ -84,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||||
of the full GiNaC, and it is *only* meant to be used as a Python library.
|
of the full GiNaC, and it is *only* meant to be used as a Python library.
|
||||||
'';
|
'';
|
||||||
homepage = "http://pynac.org";
|
homepage = "http://pynac.org";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = teams.sage.members;
|
maintainers = teams.sage.members;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,13 +17,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "podman";
|
pname = "podman";
|
||||||
version = "3.2.2";
|
version = "3.2.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "containers";
|
owner = "containers";
|
||||||
repo = "podman";
|
repo = "podman";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-D1gtKaDZ7/SyySYWmDa3eDHbh2f5B3q1VEYKgl1pXCE=";
|
sha256 = "sha256-P8/4jehfcjM+r/pwW6fxrwquMVUqXxvvTur7Tesjmnc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
@ -64,11 +64,9 @@ buildGoModule rec {
|
||||||
installShellCompletion --fish completions/fish/*
|
installShellCompletion --fish completions/fish/*
|
||||||
installShellCompletion --zsh completions/zsh/*
|
installShellCompletion --zsh completions/zsh/*
|
||||||
MANDIR=$man/share/man make install.man-nobuild
|
MANDIR=$man/share/man make install.man-nobuild
|
||||||
'' + lib.optionalString stdenv.isLinux ''
|
|
||||||
install -Dm644 cni/87-podman-bridge.conflist -t $out/etc/cni/net.d
|
install -Dm644 cni/87-podman-bridge.conflist -t $out/etc/cni/net.d
|
||||||
install -Dm644 contrib/tmpfile/podman.conf -t $out/lib/tmpfiles.d
|
install -Dm644 contrib/tmpfile/podman.conf -t $out/lib/tmpfiles.d
|
||||||
install -Dm644 contrib/systemd/system/podman.{socket,service} -t $out/lib/systemd/system
|
install -Dm644 contrib/systemd/system/podman.{socket,service} -t $out/lib/systemd/system
|
||||||
'' + ''
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
, runCommand
|
, runCommand
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, lib
|
, lib
|
||||||
|
, stdenv
|
||||||
, extraPackages ? []
|
, extraPackages ? []
|
||||||
, podman # Docker compat
|
, podman # Docker compat
|
||||||
, runc # Default container runtime
|
, runc # Default container runtime
|
||||||
|
@ -13,12 +14,14 @@
|
||||||
, cni-plugins # not added to path
|
, cni-plugins # not added to path
|
||||||
, iptables
|
, iptables
|
||||||
, iproute2
|
, iproute2
|
||||||
|
, qemu
|
||||||
|
, xz
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
podman = podman-unwrapped;
|
podman = podman-unwrapped;
|
||||||
|
|
||||||
binPath = lib.makeBinPath ([
|
binPath = lib.makeBinPath ([ ] ++ lib.optionals stdenv.isLinux [
|
||||||
runc
|
runc
|
||||||
crun
|
crun
|
||||||
conmon
|
conmon
|
||||||
|
@ -27,6 +30,9 @@ let
|
||||||
util-linux
|
util-linux
|
||||||
iptables
|
iptables
|
||||||
iproute2
|
iproute2
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
qemu
|
||||||
|
xz
|
||||||
] ++ extraPackages);
|
] ++ extraPackages);
|
||||||
|
|
||||||
in runCommand podman.name {
|
in runCommand podman.name {
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "runc";
|
pname = "runc";
|
||||||
version = "1.0.0";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "opencontainers";
|
owner = "opencontainers";
|
||||||
repo = "runc";
|
repo = "runc";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-slNVSlyJLaqIFF4uJP/7u4M0AkJLQjqkHO5TeKFYgSA=";
|
sha256 = "sha256-xd46HlZenTNCzmnCGN3x7Ah8pPLwbG9LSMGmiPIPyv0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
|
|
@ -140,7 +140,7 @@ url_to_name(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Fetch everything and checkout the right sha1
|
# Fetch and checkout the right sha1
|
||||||
checkout_hash(){
|
checkout_hash(){
|
||||||
local hash="$1"
|
local hash="$1"
|
||||||
local ref="$2"
|
local ref="$2"
|
||||||
|
@ -149,6 +149,7 @@ checkout_hash(){
|
||||||
hash=$(hash_from_ref "$ref")
|
hash=$(hash_from_ref "$ref")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
clean_git fetch ${builder:+--progress} --depth=1 origin "$hash" || \
|
||||||
clean_git fetch -t ${builder:+--progress} origin || return 1
|
clean_git fetch -t ${builder:+--progress} origin || return 1
|
||||||
|
|
||||||
local object_type=$(git cat-file -t "$hash")
|
local object_type=$(git cat-file -t "$hash")
|
||||||
|
|
|
@ -193,7 +193,7 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in runCommand "test-writers" {
|
in runCommand "test-writers" {
|
||||||
passthru = { inherit writeTest bin simple; };
|
passthru = { inherit writeTest bin simple path; };
|
||||||
meta.platforms = lib.platforms.all;
|
meta.platforms = lib.platforms.all;
|
||||||
} ''
|
} ''
|
||||||
${lib.concatMapStringsSep "\n" (test: writeTest "success" test.name "${test}/bin/${test.name}") (lib.attrValues bin)}
|
${lib.concatMapStringsSep "\n" (test: writeTest "success" test.name "${test}/bin/${test.name}") (lib.attrValues bin)}
|
||||||
|
|
|
@ -29,7 +29,7 @@ in
|
||||||
ln -s "${srcs.test-images}" "$out/${srcs.test-images.name}"
|
ln -s "${srcs.test-images}" "$out/${srcs.test-images.name}"
|
||||||
ln -s "${srcs.test-labels}" "$out/${srcs.test-labels.name}"
|
ln -s "${srcs.test-labels}" "$out/${srcs.test-labels.name}"
|
||||||
'';
|
'';
|
||||||
phases = [ "installPhase" ];
|
dontUnpack = true;
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A large database of handwritten digits";
|
description = "A large database of handwritten digits";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"commit": "080786cc20b9223cc5c1dc04d3e47ce3ad0b0f36",
|
"commit": "360e4a3b93ab9fc49673c9d91eebd963ddd7e132",
|
||||||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/080786cc20b9223cc5c1dc04d3e47ce3ad0b0f36.tar.gz",
|
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/360e4a3b93ab9fc49673c9d91eebd963ddd7e132.tar.gz",
|
||||||
"sha256": "0shv10s208nazb7q36vsx6a4sy7a14qikad4b984r9gz3j6g7l62",
|
"sha256": "0pzi0kjlma36s0z5wfcghn6h6lwx61vvq8f7322nz80fs4drpn64",
|
||||||
"msg": "Update from Hackage at 2021-07-02T10:49:03Z"
|
"msg": "Update from Hackage at 2021-07-07T20:16:30Z"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
, pantheon
|
, pantheon
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -12,11 +11,12 @@
|
||||||
, gtk3
|
, gtk3
|
||||||
, granite
|
, granite
|
||||||
, libgee
|
, libgee
|
||||||
|
, libhandy
|
||||||
, elementary-icon-theme
|
, elementary-icon-theme
|
||||||
, appstream
|
, appstream
|
||||||
, libpeas
|
, libpeas
|
||||||
, editorconfig-core-c
|
, editorconfig-core-c
|
||||||
, gtksourceview3
|
, gtksourceview4
|
||||||
, gtkspell3
|
, gtkspell3
|
||||||
, libsoup
|
, libsoup
|
||||||
, vte
|
, vte
|
||||||
|
@ -25,11 +25,12 @@
|
||||||
, ctags
|
, ctags
|
||||||
, libgit2-glib
|
, libgit2-glib
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
|
, polkit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-code";
|
pname = "elementary-code";
|
||||||
version = "3.4.1";
|
version = "6.0.0";
|
||||||
|
|
||||||
repoName = "code";
|
repoName = "code";
|
||||||
|
|
||||||
|
@ -37,17 +38,9 @@ stdenv.mkDerivation rec {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = repoName;
|
repo = repoName;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-4AEayj+K/lOW6jEYmvmdan1kTqqqLL1YzwcU7/3PH5U=";
|
sha256 = "1w1m52mq3zr9alkxk1c0s4ncscka1km5ppd0r6zm86qan9cjwq0f";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix build with latest Vala.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/elementary/code/commit/c50580d3336296823da9a2c50b824f21fde50286.patch";
|
|
||||||
sha256 = "F+ZYlnZWYCU68G4oayLfbTnvSnTb4YA0zHVGD/Uf3KA=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = nix-update-script {
|
updateScript = nix-update-script {
|
||||||
attrPath = "pantheon.${pname}";
|
attrPath = "pantheon.${pname}";
|
||||||
|
@ -60,6 +53,10 @@ stdenv.mkDerivation rec {
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
||||||
|
# polkit is needed for ITS rules
|
||||||
|
polkit
|
||||||
|
|
||||||
python3
|
python3
|
||||||
vala
|
vala
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
|
@ -71,10 +68,11 @@ stdenv.mkDerivation rec {
|
||||||
elementary-icon-theme
|
elementary-icon-theme
|
||||||
granite
|
granite
|
||||||
gtk3
|
gtk3
|
||||||
gtksourceview3
|
gtksourceview4
|
||||||
gtkspell3
|
gtkspell3
|
||||||
libgee
|
libgee
|
||||||
libgit2-glib
|
libgit2-glib
|
||||||
|
libhandy
|
||||||
libpeas
|
libpeas
|
||||||
libsoup
|
libsoup
|
||||||
vte
|
vte
|
||||||
|
|
|
@ -25,15 +25,15 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-mail";
|
pname = "elementary-mail";
|
||||||
version = "unstable-2021-06-21";
|
version = "6.0.0";
|
||||||
|
|
||||||
repoName = "mail";
|
repoName = "mail";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = repoName;
|
repo = repoName;
|
||||||
rev = "c64c87fabb31dea8dc388152d5a835401993acf4";
|
rev = version;
|
||||||
sha256 = "yEUg1IbYbzOJiklnqR23X+aGVE9j4F9iH8FkmlB15x4=";
|
sha256 = "07iiipl0nsp63g5bn1y2hg6bmgj6i9cxqcfpd7q3vmldnkijvaxs";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
, gtk3
|
, gtk3
|
||||||
, libxml2
|
, libxml2
|
||||||
, granite
|
, granite
|
||||||
|
, libhandy
|
||||||
, libnotify
|
, libnotify
|
||||||
, vte
|
, vte
|
||||||
, libgee
|
, libgee
|
||||||
|
@ -23,7 +24,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-terminal";
|
pname = "elementary-terminal";
|
||||||
version = "5.5.2";
|
version = "6.0.0";
|
||||||
|
|
||||||
repoName = "terminal";
|
repoName = "terminal";
|
||||||
|
|
||||||
|
@ -31,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = repoName;
|
repo = repoName;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-giVmL0zYEVYJ40ZBQ9dDb4hOx4HaYRt7tUTOu37lMYU=";
|
sha256 = "08akr4sv4jy9kd4s26kib6j7i8hc3vs0sp71fifv7ww4mi9cm6jc";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -57,6 +58,7 @@ stdenv.mkDerivation rec {
|
||||||
granite
|
granite
|
||||||
gtk3
|
gtk3
|
||||||
libgee
|
libgee
|
||||||
|
libhandy
|
||||||
libnotify
|
libnotify
|
||||||
pcre2
|
pcre2
|
||||||
vte
|
vte
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchurl, perl, gcc
|
, fetchurl, perl, gcc
|
||||||
, ncurses6, gmp, glibc, libiconv, numactl
|
, ncurses5
|
||||||
|
, ncurses6, gmp, libiconv, numactl
|
||||||
, llvmPackages
|
, llvmPackages
|
||||||
|
|
||||||
# minimal = true; will remove files that aren't strictly necessary for
|
# minimal = true; will remove files that aren't strictly necessary for
|
||||||
|
@ -14,68 +15,191 @@
|
||||||
assert stdenv.targetPlatform == stdenv.hostPlatform;
|
assert stdenv.targetPlatform == stdenv.hostPlatform;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
downloadsUrl = "https://downloads.haskell.org/ghc";
|
||||||
|
|
||||||
|
version = "8.10.2";
|
||||||
|
|
||||||
|
# Information about available bindists that we use in the build.
|
||||||
|
#
|
||||||
|
# # Bindist library checking
|
||||||
|
#
|
||||||
|
# The field `archSpecificLibraries` also provides a way for us get notified
|
||||||
|
# early when the upstream bindist changes its dependencies (e.g. because a
|
||||||
|
# newer Debian version is used that uses a new `ncurses` version).
|
||||||
|
#
|
||||||
|
# Usage:
|
||||||
|
#
|
||||||
|
# * You can find the `fileToCheckFor` of libraries by running `readelf -d`
|
||||||
|
# on the compiler binary (`exePathForLibraryCheck`).
|
||||||
|
# * To skip library checking for an architecture,
|
||||||
|
# set `exePathForLibraryCheck = null`.
|
||||||
|
# * To skip file checking for a specific arch specfic library,
|
||||||
|
# set `fileToCheckFor = null`.
|
||||||
|
ghcBinDists = {
|
||||||
|
# Binary distributions for the default libc (e.g. glibc, or libSystem on Darwin)
|
||||||
|
# nixpkgs uses for the respective system.
|
||||||
|
defaultLibc = {
|
||||||
|
i686-linux = {
|
||||||
|
src = {
|
||||||
|
url = "${downloadsUrl}/${version}/ghc-${version}-i386-deb9-linux.tar.xz";
|
||||||
|
sha256 = "0bvwisl4w0z5z8z0da10m9sv0mhm9na2qm43qxr8zl23mn32mblx";
|
||||||
|
};
|
||||||
|
exePathForLibraryCheck = "ghc/stage2/build/tmp/ghc-stage2";
|
||||||
|
archSpecificLibraries = [
|
||||||
|
# The i686-linux bindist provided by GHC HQ is currently built on Debian 9,
|
||||||
|
# which link it against `libtinfo.so.5` (ncurses 5).
|
||||||
|
# Other bindists are linked `libtinfo.so.6` (ncurses 6).
|
||||||
|
{ nixPackage = ncurses5; fileToCheckFor = "libtinfo.so.5"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
x86_64-linux = {
|
||||||
|
src = {
|
||||||
|
url = "${downloadsUrl}/${version}/ghc-${version}-x86_64-deb10-linux.tar.xz";
|
||||||
|
sha256 = "0chnzy9j23b2wa8clx5arwz8wnjfxyjmz9qkj548z14cqf13slcl";
|
||||||
|
};
|
||||||
|
exePathForLibraryCheck = "ghc/stage2/build/tmp/ghc-stage2";
|
||||||
|
archSpecificLibraries = [
|
||||||
|
{ nixPackage = ncurses6; fileToCheckFor = "libtinfo.so.6"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
armv7l-linux = {
|
||||||
|
src = {
|
||||||
|
url = "${downloadsUrl}/${version}/ghc-${version}-armv7-deb10-linux.tar.xz";
|
||||||
|
sha256 = "1j41cq5d3rmlgz7hzw8f908fs79gc5mn3q5wz277lk8zdf19g75v";
|
||||||
|
};
|
||||||
|
exePathForLibraryCheck = "ghc/stage2/build/tmp/ghc-stage2";
|
||||||
|
archSpecificLibraries = [
|
||||||
|
{ nixPackage = ncurses6; fileToCheckFor = "libtinfo.so.6"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
aarch64-linux = {
|
||||||
|
src = {
|
||||||
|
url = "${downloadsUrl}/${version}/ghc-${version}-aarch64-deb10-linux.tar.xz";
|
||||||
|
sha256 = "14smwl3741ixnbgi0l51a7kh7xjkiannfqx15b72svky0y4l3wjw";
|
||||||
|
};
|
||||||
|
exePathForLibraryCheck = "ghc/stage2/build/tmp/ghc-stage2";
|
||||||
|
archSpecificLibraries = [
|
||||||
|
{ nixPackage = ncurses6; fileToCheckFor = "libtinfo.so.6"; }
|
||||||
|
{ nixPackage = numactl; fileToCheckFor = null; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
x86_64-darwin = {
|
||||||
|
src = {
|
||||||
|
url = "${downloadsUrl}/${version}/ghc-${version}-x86_64-apple-darwin.tar.xz";
|
||||||
|
sha256 = "1hngyq14l4f950hzhh2d204ca2gfc98pc9xdasxihzqd1jq75dzd";
|
||||||
|
};
|
||||||
|
exePathForLibraryCheck = null; # we don't have a library check for darwin yet
|
||||||
|
archSpecificLibraries = [
|
||||||
|
{ nixPackage = ncurses6; fileToCheckFor = null; }
|
||||||
|
{ nixPackage = libiconv; fileToCheckFor = null; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# Binary distributions for the musl libc for the respective system.
|
||||||
|
musl = {
|
||||||
|
x86_64-linux = {
|
||||||
|
src = {
|
||||||
|
url = "${downloadsUrl}/${version}/ghc-${version}-x86_64-alpine3.10-linux-integer-simple.tar.xz";
|
||||||
|
sha256 = "0xpcbyaxqyhbl6f0i3s4rp2jm67nqpkfh2qlbj3i2fiaix89ml0l";
|
||||||
|
};
|
||||||
|
exePathForLibraryCheck = "bin/ghc";
|
||||||
|
archSpecificLibraries = [
|
||||||
|
# In contrast to glibc builds, the musl-bindist uses `libncursesw.so.*`
|
||||||
|
# instead of `libtinfo.so.*.`
|
||||||
|
{ nixPackage = ncurses6; fileToCheckFor = "libncursesw.so.6"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
distSetName = if stdenv.hostPlatform.isMusl then "musl" else "defaultLibc";
|
||||||
|
|
||||||
|
binDistUsed = ghcBinDists.${distSetName}.${stdenv.hostPlatform.system}
|
||||||
|
or (throw "cannot bootstrap GHC on this platform ('${stdenv.hostPlatform.system}' with libc '${distSetName}')");
|
||||||
|
|
||||||
useLLVM = !stdenv.targetPlatform.isx86;
|
useLLVM = !stdenv.targetPlatform.isx86;
|
||||||
|
|
||||||
libPath = lib.makeLibraryPath ([
|
libPath =
|
||||||
ncurses6 gmp
|
lib.makeLibraryPath (
|
||||||
] ++ lib.optional (stdenv.hostPlatform.isDarwin) libiconv
|
[
|
||||||
++ lib.optional (stdenv.hostPlatform.isAarch64) numactl);
|
gmp
|
||||||
|
]
|
||||||
|
# Add arch-specific libraries.
|
||||||
|
++ map ({ nixPackage, ... }: nixPackage) binDistUsed.archSpecificLibraries
|
||||||
|
);
|
||||||
|
|
||||||
libEnvVar = lib.optionalString stdenv.hostPlatform.isDarwin "DY"
|
libEnvVar = lib.optionalString stdenv.hostPlatform.isDarwin "DY"
|
||||||
+ "LD_LIBRARY_PATH";
|
+ "LD_LIBRARY_PATH";
|
||||||
|
|
||||||
glibcDynLinker = assert stdenv.isLinux;
|
|
||||||
if stdenv.hostPlatform.libc == "glibc" then
|
|
||||||
# Could be stdenv.cc.bintools.dynamicLinker, keeping as-is to avoid rebuild.
|
|
||||||
''"$(cat $NIX_CC/nix-support/dynamic-linker)"''
|
|
||||||
else
|
|
||||||
"${lib.getLib glibc}/lib/ld-linux*";
|
|
||||||
|
|
||||||
downloadsUrl = "https://downloads.haskell.org/ghc";
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "8.10.2";
|
inherit version;
|
||||||
|
|
||||||
name = "ghc-${version}-binary";
|
name = "ghc-${version}-binary";
|
||||||
|
|
||||||
# https://downloads.haskell.org/~ghc/8.10.2/
|
src = fetchurl binDistUsed.src;
|
||||||
src = fetchurl ({
|
|
||||||
i686-linux = {
|
|
||||||
url = "${downloadsUrl}/${version}/ghc-${version}-i386-deb9-linux.tar.xz";
|
|
||||||
sha256 = "0bvwisl4w0z5z8z0da10m9sv0mhm9na2qm43qxr8zl23mn32mblx";
|
|
||||||
};
|
|
||||||
x86_64-linux = {
|
|
||||||
url = "${downloadsUrl}/${version}/ghc-${version}-x86_64-deb10-linux.tar.xz";
|
|
||||||
sha256 = "0chnzy9j23b2wa8clx5arwz8wnjfxyjmz9qkj548z14cqf13slcl";
|
|
||||||
};
|
|
||||||
armv7l-linux = {
|
|
||||||
url = "${downloadsUrl}/${version}/ghc-${version}-armv7-deb10-linux.tar.xz";
|
|
||||||
sha256 = "1j41cq5d3rmlgz7hzw8f908fs79gc5mn3q5wz277lk8zdf19g75v";
|
|
||||||
};
|
|
||||||
aarch64-linux = {
|
|
||||||
url = "${downloadsUrl}/${version}/ghc-${version}-aarch64-deb10-linux.tar.xz";
|
|
||||||
sha256 = "14smwl3741ixnbgi0l51a7kh7xjkiannfqx15b72svky0y4l3wjw";
|
|
||||||
};
|
|
||||||
x86_64-darwin = {
|
|
||||||
url = "${downloadsUrl}/${version}/ghc-${version}-x86_64-apple-darwin.tar.xz";
|
|
||||||
sha256 = "1hngyq14l4f950hzhh2d204ca2gfc98pc9xdasxihzqd1jq75dzd";
|
|
||||||
};
|
|
||||||
}.${stdenv.hostPlatform.system}
|
|
||||||
or (throw "cannot bootstrap GHC on this platform"));
|
|
||||||
|
|
||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
propagatedBuildInputs = lib.optionals useLLVM [ llvmPackages.llvm ];
|
propagatedBuildInputs =
|
||||||
|
lib.optionals useLLVM [ llvmPackages.llvm ]
|
||||||
|
# Because musl bindists currently provide no way to tell where
|
||||||
|
# libgmp is (see not [musl bindists have no .buildinfo]), we need
|
||||||
|
# to propagate `gmp`, otherwise programs built by this ghc will
|
||||||
|
# fail linking with `cannot find -lgmp` errors.
|
||||||
|
# Also, as of writing, the release pages of musl bindists claim
|
||||||
|
# that they use `integer-simple` and do not require `gmp`; however
|
||||||
|
# that is incorrect, so `gmp` is required until a release has been
|
||||||
|
# made that includes https://gitlab.haskell.org/ghc/ghc/-/issues/20059.
|
||||||
|
# (Note that for packaging the `-binary` compiler, nixpkgs does not care
|
||||||
|
# about whether or not `gmp` is used; this comment is just here to explain
|
||||||
|
# why the `gmp` dependency exists despite what the release page says.)
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isMusl [ gmp ]; # musl bindist needs this
|
||||||
|
|
||||||
|
# Set LD_LIBRARY_PATH or equivalent so that the programs running as part
|
||||||
|
# of the bindist installer can find the libraries they expect.
|
||||||
# Cannot patchelf beforehand due to relative RPATHs that anticipate
|
# Cannot patchelf beforehand due to relative RPATHs that anticipate
|
||||||
# the final install location/
|
# the final install location.
|
||||||
${libEnvVar} = libPath;
|
${libEnvVar} = libPath;
|
||||||
|
|
||||||
postUnpack =
|
postUnpack =
|
||||||
|
# Verify our assumptions of which `libtinfo.so` (ncurses) version is used,
|
||||||
|
# so that we know when ghc bindists upgrade that and we need to update the
|
||||||
|
# version used in `libPath`.
|
||||||
|
lib.optionalString
|
||||||
|
(binDistUsed.exePathForLibraryCheck != null)
|
||||||
|
# Note the `*` glob because some GHCs have a suffix when unpacked, e.g.
|
||||||
|
# the musl bindist has dir `ghc-VERSION-x86_64-unknown-linux/`.
|
||||||
|
# As a result, don't shell-quote this glob when splicing the string.
|
||||||
|
(let buildExeGlob = ''ghc-${version}*/"${binDistUsed.exePathForLibraryCheck}"''; in
|
||||||
|
lib.concatStringsSep "\n" [
|
||||||
|
(''
|
||||||
|
echo "Checking that ghc binary exists in bindist at ${buildExeGlob}"
|
||||||
|
if ! test -e ${buildExeGlob}; then
|
||||||
|
echo >&2 "GHC binary ${binDistUsed.exePathForLibraryCheck} could not be found in the bindist build directory (at ${buildExeGlob}) for arch ${stdenv.hostPlatform.system}, please check that ghcBinDists correctly reflect the bindist dependencies!"; exit 1;
|
||||||
|
fi
|
||||||
|
'')
|
||||||
|
(lib.concatMapStringsSep
|
||||||
|
"\n"
|
||||||
|
({ fileToCheckFor, nixPackage }:
|
||||||
|
lib.optionalString (fileToCheckFor != null) ''
|
||||||
|
echo "Checking bindist for ${fileToCheckFor} to ensure that is still used"
|
||||||
|
if ! readelf -d ${buildExeGlob} | grep "${fileToCheckFor}"; then
|
||||||
|
echo >&2 "File ${fileToCheckFor} could not be found in ${binDistUsed.exePathForLibraryCheck} for arch ${stdenv.hostPlatform.system}, please check that ghcBinDists correctly reflect the bindist dependencies!"; exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Checking that the nix package ${nixPackage} contains ${fileToCheckFor}"
|
||||||
|
if ! test -e "${lib.getLib nixPackage}/lib/${fileToCheckFor}"; then
|
||||||
|
echo >&2 "Nix package ${nixPackage} did not contain ${fileToCheckFor} for arch ${stdenv.hostPlatform.system}, please check that ghcBinDists correctly reflect the bindist dependencies!"; exit 1;
|
||||||
|
fi
|
||||||
|
''
|
||||||
|
)
|
||||||
|
binDistUsed.archSpecificLibraries
|
||||||
|
)
|
||||||
|
])
|
||||||
# GHC has dtrace probes, which causes ld to try to open /usr/lib/libdtrace.dylib
|
# GHC has dtrace probes, which causes ld to try to open /usr/lib/libdtrace.dylib
|
||||||
# during linking
|
# during linking
|
||||||
lib.optionalString stdenv.isDarwin ''
|
+ lib.optionalString stdenv.isDarwin ''
|
||||||
export NIX_LDFLAGS+=" -no_dtrace_dof"
|
export NIX_LDFLAGS+=" -no_dtrace_dof"
|
||||||
# not enough room in the object files for the full path to libiconv :(
|
# not enough room in the object files for the full path to libiconv :(
|
||||||
for exe in $(find . -type f -executable); do
|
for exe in $(find . -type f -executable); do
|
||||||
|
@ -91,6 +215,9 @@ stdenv.mkDerivation rec {
|
||||||
patchShebangs ghc-${version}/configure
|
patchShebangs ghc-${version}/configure
|
||||||
'' +
|
'' +
|
||||||
# We have to patch the GMP paths for the integer-gmp package.
|
# We have to patch the GMP paths for the integer-gmp package.
|
||||||
|
# Note [musl bindists have no .buildinfo]
|
||||||
|
# Note that musl bindists do not contain them; unclear if that's intended;
|
||||||
|
# see: https://gitlab.haskell.org/ghc/ghc/-/issues/20073#note_363231
|
||||||
''
|
''
|
||||||
find . -name integer-gmp.buildinfo \
|
find . -name integer-gmp.buildinfo \
|
||||||
-exec sed -i "s@extra-lib-dirs: @extra-lib-dirs: ${gmp.out}/lib@" {} \;
|
-exec sed -i "s@extra-lib-dirs: @extra-lib-dirs: ${gmp.out}/lib@" {} \;
|
||||||
|
@ -106,21 +233,8 @@ stdenv.mkDerivation rec {
|
||||||
'' +
|
'' +
|
||||||
# Rename needed libraries and binaries, fix interpreter
|
# Rename needed libraries and binaries, fix interpreter
|
||||||
lib.optionalString stdenv.isLinux ''
|
lib.optionalString stdenv.isLinux ''
|
||||||
find . -type f -perm -0100 -exec patchelf \
|
find . -type f -executable -exec patchelf \
|
||||||
--replace-needed libncurses${lib.optionalString stdenv.is64bit "w"}.so.6 libncurses.so \
|
--interpreter ${stdenv.cc.bintools.dynamicLinker} {} \;
|
||||||
--interpreter ${glibcDynLinker} {} \;
|
|
||||||
|
|
||||||
sed -i "s|/usr/bin/perl|perl\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
|
||||||
sed -i "s|/usr/bin/gcc|gcc\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
|
||||||
'' +
|
|
||||||
# We're kludging a glibc bindist into working with non-glibc...
|
|
||||||
# Here we patch up the use of `__strdup` (part of glibc binary ABI)
|
|
||||||
# to instead use `strdup` since musl doesn't provide __strdup
|
|
||||||
# (`__strdup` is defined to be an alias of `strdup` anyway[1]).
|
|
||||||
# [1] http://refspecs.linuxbase.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/baselib---strdup-1.html
|
|
||||||
# Use objcopy magic to make the change:
|
|
||||||
lib.optionalString stdenv.hostPlatform.isMusl ''
|
|
||||||
find ./ghc-${version}/rts -name "libHSrts*.a" -exec ''${OBJCOPY:-objcopy} --redefine-sym __strdup=strdup {} \;
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# fix for `configure: error: Your linker is affected by binutils #16177`
|
# fix for `configure: error: Your linker is affected by binutils #16177`
|
||||||
|
@ -130,15 +244,33 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configurePlatforms = [ ];
|
configurePlatforms = [ ];
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-gmp-libraries=${lib.getLib gmp}/lib"
|
|
||||||
"--with-gmp-includes=${lib.getDev gmp}/include"
|
"--with-gmp-includes=${lib.getDev gmp}/include"
|
||||||
|
# Note `--with-gmp-libraries` does nothing for GHC bindists:
|
||||||
|
# https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6124
|
||||||
] ++ lib.optional stdenv.isDarwin "--with-gcc=${./gcc-clang-wrapper.sh}"
|
] ++ lib.optional stdenv.isDarwin "--with-gcc=${./gcc-clang-wrapper.sh}"
|
||||||
|
# From: https://github.com/NixOS/nixpkgs/pull/43369/commits
|
||||||
++ lib.optional stdenv.hostPlatform.isMusl "--disable-ld-override";
|
++ lib.optional stdenv.hostPlatform.isMusl "--disable-ld-override";
|
||||||
|
|
||||||
# No building is necessary, but calling make without flags ironically
|
# No building is necessary, but calling make without flags ironically
|
||||||
# calls install-strip ...
|
# calls install-strip ...
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
|
# Apparently necessary for the ghc Alpine (musl) bindist:
|
||||||
|
# When we strip, and then run the
|
||||||
|
# patchelf --set-rpath "${libPath}:$(patchelf --print-rpath $p)" $p
|
||||||
|
# below, running ghc (e.g. during `installCheckPhase)` gives some apparently
|
||||||
|
# corrupted rpath or whatever makes the loader work on nonsensical strings:
|
||||||
|
# running install tests
|
||||||
|
# Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: : symbol not found
|
||||||
|
# Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: ir6zf6c9f86pfx8sr30n2vjy-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/../lib/x86_64-linux-ghc-8.10.5/libHSexceptions-0.10.4-ghc8.10.5.so: symbol not found
|
||||||
|
# Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: y/lib/ghc-8.10.5/bin/../lib/x86_64-linux-ghc-8.10.5/libHStemplate-haskell-2.16.0.0-ghc8.10.5.so: symbol not found
|
||||||
|
# Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: 8.10.5/libHStemplate-haskell-2.16.0.0-ghc8.10.5.so: symbol not found
|
||||||
|
# Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: <20>: symbol not found
|
||||||
|
# Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: <20>?: symbol not found
|
||||||
|
# Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: 64-linux-ghc-8.10.5/libHSexceptions-0.10.4-ghc8.10.5.so: symbol not found
|
||||||
|
# This is extremely bogus and should be investigated.
|
||||||
|
dontStrip = if stdenv.hostPlatform.isMusl then true else false; # `if` for explicitness
|
||||||
|
|
||||||
# On Linux, use patchelf to modify the executables so that they can
|
# On Linux, use patchelf to modify the executables so that they can
|
||||||
# find editline/gmp.
|
# find editline/gmp.
|
||||||
postFixup = lib.optionalString stdenv.isLinux
|
postFixup = lib.optionalString stdenv.isLinux
|
||||||
|
@ -186,13 +318,23 @@ stdenv.mkDerivation rec {
|
||||||
find $out -type f -name '*.p_o' -delete
|
find $out -type f -name '*.p_o' -delete
|
||||||
find $out -type f -name '*.p_hi' -delete
|
find $out -type f -name '*.p_hi' -delete
|
||||||
find $out -type f -name '*_p.a' -delete
|
find $out -type f -name '*_p.a' -delete
|
||||||
rm $out/lib/ghc-*/bin/ghc-iserv-prof
|
# `-f` because e.g. musl bindist does not have this file.
|
||||||
|
rm -f $out/lib/ghc-*/bin/ghc-iserv-prof
|
||||||
# Hydra will redistribute this derivation, so we have to keep the docs for
|
# Hydra will redistribute this derivation, so we have to keep the docs for
|
||||||
# legal reasons (retaining the legal notices etc)
|
# legal reasons (retaining the legal notices etc)
|
||||||
# As a last resort we could unpack the docs separately and symlink them in.
|
# As a last resort we could unpack the docs separately and symlink them in.
|
||||||
# They're in $out/share/{doc,man}.
|
# They're in $out/share/{doc,man}.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# In nixpkgs, musl based builds currently enable `pie` hardening by default
|
||||||
|
# (see `defaultHardeningFlags` in `make-derivation.nix`).
|
||||||
|
# But GHC cannot currently produce outputs that are ready for `-pie` linking.
|
||||||
|
# Thus, disable `pie` hardening, otherwise `recompile with -fPIE` errors appear.
|
||||||
|
# See:
|
||||||
|
# * https://github.com/NixOS/nixpkgs/issues/129247
|
||||||
|
# * https://gitlab.haskell.org/ghc/ghc/-/issues/19580
|
||||||
|
hardeningDisable = lib.optional stdenv.targetPlatform.isMusl "pie";
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
unset ${libEnvVar}
|
unset ${libEnvVar}
|
||||||
|
@ -221,7 +363,16 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "http://haskell.org/ghc";
|
homepage = "http://haskell.org/ghc";
|
||||||
description = "The Glasgow Haskell Compiler";
|
description = "The Glasgow Haskell Compiler";
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
platforms = ["x86_64-linux" "armv7l-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"];
|
# HACK: since we can't encode the libc / abi in platforms, we need
|
||||||
|
# to make the platform list dependent on the evaluation platform
|
||||||
|
# in order to avoid eval errors with musl which supports less
|
||||||
|
# platforms than the default libcs (i. e. glibc / libSystem).
|
||||||
|
# This is done for the benefit of Hydra, so `packagePlatforms`
|
||||||
|
# won't return any platforms that would cause an evaluation
|
||||||
|
# failure for `pkgsMusl.haskell.compiler.ghc8102Binary`, as
|
||||||
|
# long as the evaluator runs on a platform that supports
|
||||||
|
# `pkgsMusl`.
|
||||||
|
platforms = builtins.attrNames ghcBinDists.${distSetName};
|
||||||
hydraPlatforms = builtins.filter (p: minimal || p != "aarch64-linux") platforms;
|
hydraPlatforms = builtins.filter (p: minimal || p != "aarch64-linux") platforms;
|
||||||
maintainers = with lib.maintainers; [ lostnet ];
|
maintainers = with lib.maintainers; [ lostnet ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -38,6 +38,20 @@
|
||||||
ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
||||||
(if useLLVM then "perf-cross" else "perf-cross-ncg")
|
(if useLLVM then "perf-cross" else "perf-cross-ncg")
|
||||||
|
|
||||||
|
, # Whether to build sphinx documentation.
|
||||||
|
enableDocs ? (
|
||||||
|
# Docs disabled for musl and cross because it's a large task to keep
|
||||||
|
# all `sphinx` dependencies building in those environments.
|
||||||
|
# `sphinx` pulls in among others:
|
||||||
|
# Ruby, Python, Perl, Rust, OpenGL, Xorg, gtk, LLVM.
|
||||||
|
(stdenv.targetPlatform == stdenv.hostPlatform)
|
||||||
|
&& !stdenv.hostPlatform.isMusl
|
||||||
|
)
|
||||||
|
|
||||||
|
, enableHaddockProgram ?
|
||||||
|
# Disabled for cross; see note [HADDOCK_DOCS].
|
||||||
|
(stdenv.targetPlatform == stdenv.hostPlatform)
|
||||||
|
|
||||||
, # Whether to disable the large address space allocator
|
, # Whether to disable the large address space allocator
|
||||||
# necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
|
# necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
|
||||||
disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
|
disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
|
||||||
|
@ -45,6 +59,10 @@
|
||||||
|
|
||||||
assert !enableIntegerSimple -> gmp != null;
|
assert !enableIntegerSimple -> gmp != null;
|
||||||
|
|
||||||
|
# Cross cannot currently build the `haddock` program for silly reasons,
|
||||||
|
# see note [HADDOCK_DOCS].
|
||||||
|
assert (stdenv.targetPlatform != stdenv.hostPlatform) -> !enableHaddockProgram;
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
|
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
|
||||||
|
|
||||||
|
@ -60,14 +78,26 @@ let
|
||||||
ifneq \"\$(BuildFlavour)\" \"\"
|
ifneq \"\$(BuildFlavour)\" \"\"
|
||||||
include mk/flavours/\$(BuildFlavour).mk
|
include mk/flavours/\$(BuildFlavour).mk
|
||||||
endif
|
endif
|
||||||
|
BUILD_SPHINX_HTML = ${if enableDocs then "YES" else "NO"}
|
||||||
|
BUILD_SPHINX_PDF = NO
|
||||||
|
'' +
|
||||||
|
# Note [HADDOCK_DOCS]:
|
||||||
|
# Unfortunately currently `HADDOCK_DOCS` controls both whether the `haddock`
|
||||||
|
# program is built (which we generally always want to have a complete GHC install)
|
||||||
|
# and whether it is run on the GHC sources to generate hyperlinked source code
|
||||||
|
# (which is impossible for cross-compilation); see:
|
||||||
|
# https://gitlab.haskell.org/ghc/ghc/-/issues/20077
|
||||||
|
# This implies that currently a cross-compiled GHC will never have a `haddock`
|
||||||
|
# program, so it can never generate haddocks for any packages.
|
||||||
|
# If this is solved in the future, we'd like to unconditionally
|
||||||
|
# build the haddock program (removing the `enableHaddockProgram` option).
|
||||||
|
''
|
||||||
|
HADDOCK_DOCS = ${if enableHaddockProgram then "YES" else "NO"}
|
||||||
DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
|
DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
|
||||||
INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"}
|
INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"}
|
||||||
'' + lib.optionalString (targetPlatform != hostPlatform) ''
|
'' + lib.optionalString (targetPlatform != hostPlatform) ''
|
||||||
Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"}
|
Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"}
|
||||||
CrossCompilePrefix = ${targetPrefix}
|
CrossCompilePrefix = ${targetPrefix}
|
||||||
HADDOCK_DOCS = NO
|
|
||||||
BUILD_SPHINX_HTML = NO
|
|
||||||
BUILD_SPHINX_PDF = NO
|
|
||||||
'' + lib.optionalString (!enableProfiledLibs) ''
|
'' + lib.optionalString (!enableProfiledLibs) ''
|
||||||
GhcLibWays = "v dyn"
|
GhcLibWays = "v dyn"
|
||||||
'' + lib.optionalString enableRelocatedStaticLibs ''
|
'' + lib.optionalString enableRelocatedStaticLibs ''
|
||||||
|
@ -217,8 +247,10 @@ stdenv.mkDerivation (rec {
|
||||||
dontAddExtraLibs = true;
|
dontAddExtraLibs = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
perl autoconf automake m4 python3 sphinx
|
perl autoconf automake m4 python3
|
||||||
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
|
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
|
||||||
|
] ++ lib.optionals enableDocs [
|
||||||
|
sphinx
|
||||||
];
|
];
|
||||||
|
|
||||||
# For building runtime libs
|
# For building runtime libs
|
||||||
|
@ -238,7 +270,16 @@ stdenv.mkDerivation (rec {
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
hardeningDisable = [ "format" ] ++ lib.optional stdenv.targetPlatform.isMusl "pie";
|
hardeningDisable =
|
||||||
|
[ "format" ]
|
||||||
|
# In nixpkgs, musl based builds currently enable `pie` hardening by default
|
||||||
|
# (see `defaultHardeningFlags` in `make-derivation.nix`).
|
||||||
|
# But GHC cannot currently produce outputs that are ready for `-pie` linking.
|
||||||
|
# Thus, disable `pie` hardening, otherwise `recompile with -fPIE` errors appear.
|
||||||
|
# See:
|
||||||
|
# * https://github.com/NixOS/nixpkgs/issues/129247
|
||||||
|
# * https://gitlab.haskell.org/ghc/ghc/-/issues/19580
|
||||||
|
++ lib.optional stdenv.targetPlatform.isMusl "pie";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Install the bash completion file.
|
# Install the bash completion file.
|
||||||
|
|
|
@ -121,8 +121,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configurePlatforms = [ ];
|
configurePlatforms = [ ];
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-gmp-libraries=${lib.getLib gmp}/lib"
|
|
||||||
"--with-gmp-includes=${lib.getDev gmp}/include"
|
"--with-gmp-includes=${lib.getDev gmp}/include"
|
||||||
|
# Note `--with-gmp-libraries` does nothing for GHC bindists:
|
||||||
|
# https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6124
|
||||||
] ++ lib.optional stdenv.isDarwin "--with-gcc=${./gcc-clang-wrapper.sh}"
|
] ++ lib.optional stdenv.isDarwin "--with-gcc=${./gcc-clang-wrapper.sh}"
|
||||||
++ lib.optional stdenv.hostPlatform.isMusl "--disable-ld-override";
|
++ lib.optional stdenv.hostPlatform.isMusl "--disable-ld-override";
|
||||||
|
|
||||||
|
@ -152,6 +153,15 @@ stdenv.mkDerivation rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# In nixpkgs, musl based builds currently enable `pie` hardening by default
|
||||||
|
# (see `defaultHardeningFlags` in `make-derivation.nix`).
|
||||||
|
# But GHC cannot currently produce outputs that are ready for `-pie` linking.
|
||||||
|
# Thus, disable `pie` hardening, otherwise `recompile with -fPIE` errors appear.
|
||||||
|
# See:
|
||||||
|
# * https://github.com/NixOS/nixpkgs/issues/129247
|
||||||
|
# * https://gitlab.haskell.org/ghc/ghc/-/issues/19580
|
||||||
|
hardeningDisable = lib.optional stdenv.targetPlatform.isMusl "pie";
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
unset ${libEnvVar}
|
unset ${libEnvVar}
|
||||||
|
@ -180,5 +190,7 @@ stdenv.mkDerivation rec {
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
platforms = ["x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"];
|
platforms = ["x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"];
|
||||||
hydraPlatforms = builtins.filter (p: p != "aarch64-linux") platforms;
|
hydraPlatforms = builtins.filter (p: p != "aarch64-linux") platforms;
|
||||||
|
# build segfaults, use ghc8102Binary which has proper musl support instead
|
||||||
|
broken = stdenv.hostPlatform.isMusl;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,20 @@
|
||||||
ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
||||||
(if useLLVM then "perf-cross" else "perf-cross-ncg")
|
(if useLLVM then "perf-cross" else "perf-cross-ncg")
|
||||||
|
|
||||||
|
, # Whether to build sphinx documentation.
|
||||||
|
enableDocs ? (
|
||||||
|
# Docs disabled for musl and cross because it's a large task to keep
|
||||||
|
# all `sphinx` dependencies building in those environments.
|
||||||
|
# `sphinx` pullls in among others:
|
||||||
|
# Ruby, Python, Perl, Rust, OpenGL, Xorg, gtk, LLVM.
|
||||||
|
(stdenv.targetPlatform == stdenv.hostPlatform)
|
||||||
|
&& !stdenv.hostPlatform.isMusl
|
||||||
|
)
|
||||||
|
|
||||||
|
, enableHaddockProgram ?
|
||||||
|
# Disabled for cross; see note [HADDOCK_DOCS].
|
||||||
|
(stdenv.targetPlatform == stdenv.hostPlatform)
|
||||||
|
|
||||||
, # Whether to disable the large address space allocator
|
, # Whether to disable the large address space allocator
|
||||||
# necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
|
# necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
|
||||||
disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
|
disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
|
||||||
|
@ -45,6 +59,10 @@
|
||||||
|
|
||||||
assert !enableIntegerSimple -> gmp != null;
|
assert !enableIntegerSimple -> gmp != null;
|
||||||
|
|
||||||
|
# Cross cannot currently build the `haddock` program for silly reasons,
|
||||||
|
# see note [HADDOCK_DOCS].
|
||||||
|
assert (stdenv.targetPlatform != stdenv.hostPlatform) -> !enableHaddockProgram;
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
|
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
|
||||||
|
|
||||||
|
@ -60,6 +78,21 @@ let
|
||||||
ifneq \"\$(BuildFlavour)\" \"\"
|
ifneq \"\$(BuildFlavour)\" \"\"
|
||||||
include mk/flavours/\$(BuildFlavour).mk
|
include mk/flavours/\$(BuildFlavour).mk
|
||||||
endif
|
endif
|
||||||
|
BUILD_SPHINX_HTML = ${if enableDocs then "YES" else "NO"}
|
||||||
|
BUILD_SPHINX_PDF = NO
|
||||||
|
'' +
|
||||||
|
# Note [HADDOCK_DOCS]:
|
||||||
|
# Unfortunately currently `HADDOCK_DOCS` controls both whether the `haddock`
|
||||||
|
# program is built (which we generally always want to have a complete GHC install)
|
||||||
|
# and whether it is run on the GHC sources to generate hyperlinked source code
|
||||||
|
# (which is impossible for cross-compilation); see:
|
||||||
|
# https://gitlab.haskell.org/ghc/ghc/-/issues/20077
|
||||||
|
# This implies that currently a cross-compiled GHC will never have a `haddock`
|
||||||
|
# program, so it can never generate haddocks for any packages.
|
||||||
|
# If this is solved in the future, we'd like to unconditionally
|
||||||
|
# build the haddock program (removing the `enableHaddockProgram` option).
|
||||||
|
''
|
||||||
|
HADDOCK_DOCS = ${if enableHaddockProgram then "YES" else "NO"}
|
||||||
DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
|
DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
|
||||||
INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"}
|
INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"}
|
||||||
''
|
''
|
||||||
|
@ -72,9 +105,6 @@ let
|
||||||
+ lib.optionalString (targetPlatform != hostPlatform) ''
|
+ lib.optionalString (targetPlatform != hostPlatform) ''
|
||||||
Stage1Only = ${if (targetPlatform.system == hostPlatform.system && !targetPlatform.isiOS) then "NO" else "YES"}
|
Stage1Only = ${if (targetPlatform.system == hostPlatform.system && !targetPlatform.isiOS) then "NO" else "YES"}
|
||||||
CrossCompilePrefix = ${targetPrefix}
|
CrossCompilePrefix = ${targetPrefix}
|
||||||
HADDOCK_DOCS = NO
|
|
||||||
BUILD_SPHINX_HTML = NO
|
|
||||||
BUILD_SPHINX_PDF = NO
|
|
||||||
'' + lib.optionalString dontStrip ''
|
'' + lib.optionalString dontStrip ''
|
||||||
STRIP_CMD = :
|
STRIP_CMD = :
|
||||||
'' + lib.optionalString (!enableProfiledLibs) ''
|
'' + lib.optionalString (!enableProfiledLibs) ''
|
||||||
|
@ -142,11 +172,14 @@ stdenv.mkDerivation (rec {
|
||||||
postPatch = "patchShebangs .";
|
postPatch = "patchShebangs .";
|
||||||
|
|
||||||
# GHC is a bit confused on its cross terminology.
|
# GHC is a bit confused on its cross terminology.
|
||||||
preConfigure = lib.optionalString stdenv.isAarch64 ''
|
preConfigure =
|
||||||
# Aarch64 allow backward bootstrapping since earlier versions are unstable.
|
# Aarch64 allow backward bootstrapping since earlier versions are unstable.
|
||||||
|
# Same for musl, as earlier versions do not provide a musl bindist for bootstrapping.
|
||||||
|
lib.optionalString (stdenv.isAarch64 || stdenv.hostPlatform.isMusl) ''
|
||||||
find . -name \*\.cabal\* -exec sed -i -e 's/\(base.*\)4.14/\14.16/' {} \; \
|
find . -name \*\.cabal\* -exec sed -i -e 's/\(base.*\)4.14/\14.16/' {} \; \
|
||||||
-exec sed -i -e 's/\(prim.*\)0.6/\10.8/' {} \;
|
-exec sed -i -e 's/\(prim.*\)0.6/\10.8/' {} \;
|
||||||
'' + ''
|
''
|
||||||
|
+ ''
|
||||||
for env in $(env | grep '^TARGET_' | sed -E 's|\+?=.*||'); do
|
for env in $(env | grep '^TARGET_' | sed -E 's|\+?=.*||'); do
|
||||||
export "''${env#TARGET_}=''${!env}"
|
export "''${env#TARGET_}=''${!env}"
|
||||||
done
|
done
|
||||||
|
@ -224,8 +257,10 @@ stdenv.mkDerivation (rec {
|
||||||
dontAddExtraLibs = true;
|
dontAddExtraLibs = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
perl autoconf automake m4 python3 sphinx
|
perl autoconf automake m4 python3
|
||||||
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
|
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
|
||||||
|
] ++ lib.optionals enableDocs [
|
||||||
|
sphinx
|
||||||
];
|
];
|
||||||
|
|
||||||
# For building runtime libs
|
# For building runtime libs
|
||||||
|
@ -245,7 +280,16 @@ stdenv.mkDerivation (rec {
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
hardeningDisable = [ "format" ] ++ lib.optional stdenv.targetPlatform.isMusl "pie";
|
hardeningDisable =
|
||||||
|
[ "format" ]
|
||||||
|
# In nixpkgs, musl based builds currently enable `pie` hardening by default
|
||||||
|
# (see `defaultHardeningFlags` in `make-derivation.nix`).
|
||||||
|
# But GHC cannot currently produce outputs that are ready for `-pie` linking.
|
||||||
|
# Thus, disable `pie` hardening, otherwise `recompile with -fPIE` errors appear.
|
||||||
|
# See:
|
||||||
|
# * https://github.com/NixOS/nixpkgs/issues/129247
|
||||||
|
# * https://gitlab.haskell.org/ghc/ghc/-/issues/19580
|
||||||
|
++ lib.optional stdenv.targetPlatform.isMusl "pie";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Install the bash completion file.
|
# Install the bash completion file.
|
||||||
|
|
|
@ -39,6 +39,20 @@
|
||||||
ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
||||||
(if useLLVM then "perf-cross" else "perf-cross-ncg")
|
(if useLLVM then "perf-cross" else "perf-cross-ncg")
|
||||||
|
|
||||||
|
, # Whether to build sphinx documentation.
|
||||||
|
enableDocs ? (
|
||||||
|
# Docs disabled for musl and cross because it's a large task to keep
|
||||||
|
# all `sphinx` dependencies building in those environments.
|
||||||
|
# `sphinx` pullls in among others:
|
||||||
|
# Ruby, Python, Perl, Rust, OpenGL, Xorg, gtk, LLVM.
|
||||||
|
(stdenv.targetPlatform == stdenv.hostPlatform)
|
||||||
|
&& !stdenv.hostPlatform.isMusl
|
||||||
|
)
|
||||||
|
|
||||||
|
, enableHaddockProgram ?
|
||||||
|
# Disabled for cross; see note [HADDOCK_DOCS].
|
||||||
|
(stdenv.targetPlatform == stdenv.hostPlatform)
|
||||||
|
|
||||||
, # Whether to disable the large address space allocator
|
, # Whether to disable the large address space allocator
|
||||||
# necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
|
# necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
|
||||||
disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
|
disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
|
||||||
|
@ -46,6 +60,10 @@
|
||||||
|
|
||||||
assert !enableIntegerSimple -> gmp != null;
|
assert !enableIntegerSimple -> gmp != null;
|
||||||
|
|
||||||
|
# Cross cannot currently build the `haddock` program for silly reasons,
|
||||||
|
# see note [HADDOCK_DOCS].
|
||||||
|
assert (stdenv.targetPlatform != stdenv.hostPlatform) -> !enableHaddockProgram;
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
|
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
|
||||||
|
|
||||||
|
@ -61,14 +79,26 @@ let
|
||||||
ifneq \"\$(BuildFlavour)\" \"\"
|
ifneq \"\$(BuildFlavour)\" \"\"
|
||||||
include mk/flavours/\$(BuildFlavour).mk
|
include mk/flavours/\$(BuildFlavour).mk
|
||||||
endif
|
endif
|
||||||
|
BUILD_SPHINX_HTML = ${if enableDocs then "YES" else "NO"}
|
||||||
|
BUILD_SPHINX_PDF = NO
|
||||||
|
'' +
|
||||||
|
# Note [HADDOCK_DOCS]:
|
||||||
|
# Unfortunately currently `HADDOCK_DOCS` controls both whether the `haddock`
|
||||||
|
# program is built (which we generally always want to have a complete GHC install)
|
||||||
|
# and whether it is run on the GHC sources to generate hyperlinked source code
|
||||||
|
# (which is impossible for cross-compilation); see:
|
||||||
|
# https://gitlab.haskell.org/ghc/ghc/-/issues/20077
|
||||||
|
# This implies that currently a cross-compiled GHC will never have a `haddock`
|
||||||
|
# program, so it can never generate haddocks for any packages.
|
||||||
|
# If this is solved in the future, we'd like to unconditionally
|
||||||
|
# build the haddock program (removing the `enableHaddockProgram` option).
|
||||||
|
''
|
||||||
|
HADDOCK_DOCS = ${if enableHaddockProgram then "YES" else "NO"}
|
||||||
DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
|
DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
|
||||||
INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"}
|
INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"}
|
||||||
'' + lib.optionalString (targetPlatform != hostPlatform) ''
|
'' + lib.optionalString (targetPlatform != hostPlatform) ''
|
||||||
Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"}
|
Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"}
|
||||||
CrossCompilePrefix = ${targetPrefix}
|
CrossCompilePrefix = ${targetPrefix}
|
||||||
HADDOCK_DOCS = NO
|
|
||||||
BUILD_SPHINX_HTML = NO
|
|
||||||
BUILD_SPHINX_PDF = NO
|
|
||||||
'' + lib.optionalString (!enableProfiledLibs) ''
|
'' + lib.optionalString (!enableProfiledLibs) ''
|
||||||
GhcLibWays = "v dyn"
|
GhcLibWays = "v dyn"
|
||||||
'' + lib.optionalString enableRelocatedStaticLibs ''
|
'' + lib.optionalString enableRelocatedStaticLibs ''
|
||||||
|
@ -143,7 +173,7 @@ stdenv.mkDerivation (rec {
|
||||||
|
|
||||||
echo -n "${buildMK}" > mk/build.mk
|
echo -n "${buildMK}" > mk/build.mk
|
||||||
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
|
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
|
||||||
'' + lib.optionalString (stdenv.isLinux) ''
|
'' + lib.optionalString (stdenv.isLinux && hostPlatform.libc == "glibc") ''
|
||||||
export LOCALE_ARCHIVE="${glibcLocales}/lib/locale/locale-archive"
|
export LOCALE_ARCHIVE="${glibcLocales}/lib/locale/locale-archive"
|
||||||
'' + lib.optionalString (!stdenv.isDarwin) ''
|
'' + lib.optionalString (!stdenv.isDarwin) ''
|
||||||
export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
|
export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
|
||||||
|
@ -204,8 +234,10 @@ stdenv.mkDerivation (rec {
|
||||||
dontAddExtraLibs = true;
|
dontAddExtraLibs = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
perl autoconf automake m4 python3 sphinx
|
perl autoconf automake m4 python3
|
||||||
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
|
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
|
||||||
|
] ++ lib.optionals enableDocs [
|
||||||
|
sphinx
|
||||||
];
|
];
|
||||||
|
|
||||||
# For building runtime libs
|
# For building runtime libs
|
||||||
|
@ -225,7 +257,16 @@ stdenv.mkDerivation (rec {
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
hardeningDisable = [ "format" ] ++ lib.optional stdenv.targetPlatform.isMusl "pie";
|
hardeningDisable =
|
||||||
|
[ "format" ]
|
||||||
|
# In nixpkgs, musl based builds currently enable `pie` hardening by default
|
||||||
|
# (see `defaultHardeningFlags` in `make-derivation.nix`).
|
||||||
|
# But GHC cannot currently produce outputs that are ready for `-pie` linking.
|
||||||
|
# Thus, disable `pie` hardening, otherwise `recompile with -fPIE` errors appear.
|
||||||
|
# See:
|
||||||
|
# * https://github.com/NixOS/nixpkgs/issues/129247
|
||||||
|
# * https://gitlab.haskell.org/ghc/ghc/-/issues/19580
|
||||||
|
++ lib.optional stdenv.targetPlatform.isMusl "pie";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Install the bash completion file.
|
# Install the bash completion file.
|
||||||
|
|
|
@ -46,6 +46,20 @@
|
||||||
ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
||||||
(if useLLVM then "perf-cross" else "perf-cross-ncg")
|
(if useLLVM then "perf-cross" else "perf-cross-ncg")
|
||||||
|
|
||||||
|
, # Whether to build sphinx documentation.
|
||||||
|
enableDocs ? (
|
||||||
|
# Docs disabled for musl and cross because it's a large task to keep
|
||||||
|
# all `sphinx` dependencies building in those environments.
|
||||||
|
# `sphinx` pullls in among others:
|
||||||
|
# Ruby, Python, Perl, Rust, OpenGL, Xorg, gtk, LLVM.
|
||||||
|
(stdenv.targetPlatform == stdenv.hostPlatform)
|
||||||
|
&& !stdenv.hostPlatform.isMusl
|
||||||
|
)
|
||||||
|
|
||||||
|
, enableHaddockProgram ?
|
||||||
|
# Disabled for cross; see note [HADDOCK_DOCS].
|
||||||
|
(stdenv.targetPlatform == stdenv.hostPlatform)
|
||||||
|
|
||||||
, # Whether to disable the large address space allocator
|
, # Whether to disable the large address space allocator
|
||||||
# necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
|
# necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
|
||||||
disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
|
disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
|
||||||
|
@ -53,6 +67,10 @@
|
||||||
|
|
||||||
assert !enableNativeBignum -> gmp != null;
|
assert !enableNativeBignum -> gmp != null;
|
||||||
|
|
||||||
|
# Cross cannot currently build the `haddock` program for silly reasons,
|
||||||
|
# see note [HADDOCK_DOCS].
|
||||||
|
assert (stdenv.targetPlatform != stdenv.hostPlatform) -> !enableHaddockProgram;
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
|
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
|
||||||
|
|
||||||
|
@ -68,14 +86,26 @@ let
|
||||||
ifneq \"\$(BuildFlavour)\" \"\"
|
ifneq \"\$(BuildFlavour)\" \"\"
|
||||||
include mk/flavours/\$(BuildFlavour).mk
|
include mk/flavours/\$(BuildFlavour).mk
|
||||||
endif
|
endif
|
||||||
|
BUILD_SPHINX_HTML = ${if enableDocs then "YES" else "NO"}
|
||||||
|
BUILD_SPHINX_PDF = NO
|
||||||
|
'' +
|
||||||
|
# Note [HADDOCK_DOCS]:
|
||||||
|
# Unfortunately currently `HADDOCK_DOCS` controls both whether the `haddock`
|
||||||
|
# program is built (which we generally always want to have a complete GHC install)
|
||||||
|
# and whether it is run on the GHC sources to generate hyperlinked source code
|
||||||
|
# (which is impossible for cross-compilation); see:
|
||||||
|
# https://gitlab.haskell.org/ghc/ghc/-/issues/20077
|
||||||
|
# This implies that currently a cross-compiled GHC will never have a `haddock`
|
||||||
|
# program, so it can never generate haddocks for any packages.
|
||||||
|
# If this is solved in the future, we'd like to unconditionally
|
||||||
|
# build the haddock program (removing the `enableHaddockProgram` option).
|
||||||
|
''
|
||||||
|
HADDOCK_DOCS = ${if enableHaddockProgram then "YES" else "NO"}
|
||||||
DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
|
DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
|
||||||
BIGNUM_BACKEND = ${if enableNativeBignum then "native" else "gmp"}
|
BIGNUM_BACKEND = ${if enableNativeBignum then "native" else "gmp"}
|
||||||
'' + lib.optionalString (targetPlatform != hostPlatform) ''
|
'' + lib.optionalString (targetPlatform != hostPlatform) ''
|
||||||
Stage1Only = ${if (targetPlatform.system == hostPlatform.system && !targetPlatform.isiOS) then "NO" else "YES"}
|
Stage1Only = ${if (targetPlatform.system == hostPlatform.system && !targetPlatform.isiOS) then "NO" else "YES"}
|
||||||
CrossCompilePrefix = ${targetPrefix}
|
CrossCompilePrefix = ${targetPrefix}
|
||||||
HADDOCK_DOCS = NO
|
|
||||||
BUILD_SPHINX_HTML = NO
|
|
||||||
BUILD_SPHINX_PDF = NO
|
|
||||||
'' + lib.optionalString dontStrip ''
|
'' + lib.optionalString dontStrip ''
|
||||||
STRIP_CMD = :
|
STRIP_CMD = :
|
||||||
'' + lib.optionalString (!enableProfiledLibs) ''
|
'' + lib.optionalString (!enableProfiledLibs) ''
|
||||||
|
@ -221,8 +251,10 @@ stdenv.mkDerivation (rec {
|
||||||
dontAddExtraLibs = true;
|
dontAddExtraLibs = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
perl autoconf autoreconfHook automake m4 python3 sphinx
|
perl autoconf autoreconfHook automake m4 python3
|
||||||
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
|
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
|
||||||
|
] ++ lib.optionals enableDocs [
|
||||||
|
sphinx
|
||||||
];
|
];
|
||||||
|
|
||||||
# For building runtime libs
|
# For building runtime libs
|
||||||
|
@ -242,7 +274,16 @@ stdenv.mkDerivation (rec {
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
hardeningDisable = [ "format" ] ++ lib.optional stdenv.targetPlatform.isMusl "pie";
|
hardeningDisable =
|
||||||
|
[ "format" ]
|
||||||
|
# In nixpkgs, musl based builds currently enable `pie` hardening by default
|
||||||
|
# (see `defaultHardeningFlags` in `make-derivation.nix`).
|
||||||
|
# But GHC cannot currently produce outputs that are ready for `-pie` linking.
|
||||||
|
# Thus, disable `pie` hardening, otherwise `recompile with -fPIE` errors appear.
|
||||||
|
# See:
|
||||||
|
# * https://github.com/NixOS/nixpkgs/issues/129247
|
||||||
|
# * https://gitlab.haskell.org/ghc/ghc/-/issues/19580
|
||||||
|
++ lib.optional stdenv.targetPlatform.isMusl "pie";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Install the bash completion file.
|
# Install the bash completion file.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "julia-bin";
|
pname = "julia-bin";
|
||||||
version = "1.6.1";
|
version = "1.6.2";
|
||||||
|
|
||||||
src = {
|
src = {
|
||||||
x86_64-linux = fetchurl {
|
x86_64-linux = fetchurl {
|
||||||
url = "https://julialang-s3.julialang.org/bin/linux/x64/${lib.versions.majorMinor version}/julia-${version}-linux-x86_64.tar.gz";
|
url = "https://julialang-s3.julialang.org/bin/linux/x64/${lib.versions.majorMinor version}/julia-${version}-linux-x86_64.tar.gz";
|
||||||
sha256 = "01i5sm4vqb0y5qznql571zap19b42775drrcxnzsyhpaqgg8m23w";
|
sha256 = "0h1jh8gbvxb0pl1an0fbbg4lbd0sa24yj2f4yqwavw8dbdvvbd1y";
|
||||||
};
|
};
|
||||||
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,10 @@ with lib; mkCoqDerivation {
|
||||||
owner = "math-comp";
|
owner = "math-comp";
|
||||||
inherit version;
|
inherit version;
|
||||||
defaultVersion = with versions; switch coq.coq-version [
|
defaultVersion = with versions; switch coq.coq-version [
|
||||||
{ case = isGe "8.12"; out = "1.0.0"; }
|
{ case = isGe "8.12"; out = "1.1.0"; }
|
||||||
{ case = range "8.11" "8.12"; out = "0.10.0"; }
|
{ case = range "8.11" "8.12"; out = "0.10.0"; }
|
||||||
] null;
|
] null;
|
||||||
|
release."1.1.0".sha256 = "sha256-spno5ty4kU4WWiOfzoqbXF8lWlNSlySWcRReR3zE/4Q=";
|
||||||
release."1.0.0".sha256 = "0yykygs0z6fby6vkiaiv3azy1i9yx4rqg8xdlgkwnf2284hffzpp";
|
release."1.0.0".sha256 = "0yykygs0z6fby6vkiaiv3azy1i9yx4rqg8xdlgkwnf2284hffzpp";
|
||||||
release."0.10.0".sha256 = "1a3vry9nzavrlrdlq3cys3f8kpq3bz447q8c4c7lh2qal61wb32h";
|
release."0.10.0".sha256 = "1a3vry9nzavrlrdlq3cys3f8kpq3bz447q8c4c7lh2qal61wb32h";
|
||||||
releaseRev = v: "v${v}";
|
releaseRev = v: "v${v}";
|
||||||
|
@ -16,11 +17,14 @@ with lib; mkCoqDerivation {
|
||||||
|
|
||||||
propagatedBuildInputs = [ coq-elpi ];
|
propagatedBuildInputs = [ coq-elpi ];
|
||||||
|
|
||||||
|
mlPlugin = true;
|
||||||
|
|
||||||
|
installFlags = [ "DESTDIR=$(out)" "COQMF_COQLIB=lib/coq/${coq.coq-version}" ];
|
||||||
extraInstallFlags = [ "VFILES=structures.v" ];
|
extraInstallFlags = [ "VFILES=structures.v" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Coq plugin embedding ELPI.";
|
description = "High level commands to declare a hierarchy based on packed classes";
|
||||||
maintainers = [ maintainers.cohencyril ];
|
maintainers = with maintainers; [ cohencyril siraben ];
|
||||||
license = licenses.lgpl21;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,10 @@ with lib; mkCoqDerivation {
|
||||||
|
|
||||||
pname = "math-classes";
|
pname = "math-classes";
|
||||||
inherit version;
|
inherit version;
|
||||||
defaultVersion = if versions.range "8.6" "8.12" coq.coq-version then "8.12.0" else null;
|
defaultVersion = if versions.range "8.11" "8.13" coq.coq-version then "8.13.0" else
|
||||||
|
if versions.range "8.6" "8.10" coq.coq-version then "8.12.0" else null;
|
||||||
release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425";
|
release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425";
|
||||||
|
release."8.13.0".sha256 = "1ln7ziivfbxzbdvlhbvyg3v30jgblncmwcsam6gg3d1zz6r7cbby";
|
||||||
|
|
||||||
extraBuildInputs = [ bignums ];
|
extraBuildInputs = [ bignums ];
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@ let mca = mkCoqDerivation {
|
||||||
pname = "analysis";
|
pname = "analysis";
|
||||||
owner = "math-comp";
|
owner = "math-comp";
|
||||||
|
|
||||||
|
release."0.3.9".sha256 = "sha256-uUU9diBwUqBrNRLiDc0kz0CGkwTZCUmigPwLbpDOeg4=";
|
||||||
release."0.3.6".sha256 = "0g2j7b2hca4byz62ssgg90bkbc8wwp7xkb2d3225bbvihi92b4c5";
|
release."0.3.6".sha256 = "0g2j7b2hca4byz62ssgg90bkbc8wwp7xkb2d3225bbvihi92b4c5";
|
||||||
release."0.3.4".sha256 = "18mgycjgg829dbr7ps77z6lcj03h3dchjbj5iir0pybxby7gd45c";
|
release."0.3.4".sha256 = "18mgycjgg829dbr7ps77z6lcj03h3dchjbj5iir0pybxby7gd45c";
|
||||||
release."0.3.3".sha256 = "1m2mxcngj368vbdb8mlr91hsygl430spl7lgyn9qmn3jykack867";
|
release."0.3.3".sha256 = "1m2mxcngj368vbdb8mlr91hsygl430spl7lgyn9qmn3jykack867";
|
||||||
|
@ -16,7 +17,7 @@ let mca = mkCoqDerivation {
|
||||||
|
|
||||||
inherit version;
|
inherit version;
|
||||||
defaultVersion = with versions; switch [ coq.version mathcomp.version ] [
|
defaultVersion = with versions; switch [ coq.version mathcomp.version ] [
|
||||||
{ cases = [ (range "8.11" "8.13") "1.12.0" ]; out = "0.3.6"; }
|
{ cases = [ (range "8.11" "8.13") "1.12.0" ]; out = "0.3.9"; }
|
||||||
{ cases = [ (range "8.11" "8.13") "1.11.0" ]; out = "0.3.4"; }
|
{ cases = [ (range "8.11" "8.13") "1.11.0" ]; out = "0.3.4"; }
|
||||||
{ cases = [ (range "8.10" "8.12") "1.11.0" ]; out = "0.3.3"; }
|
{ cases = [ (range "8.10" "8.12") "1.11.0" ]; out = "0.3.3"; }
|
||||||
{ cases = [ (range "8.10" "8.11") "1.11.0" ]; out = "0.3.1"; }
|
{ cases = [ (range "8.10" "8.11") "1.11.0" ]; out = "0.3.1"; }
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
}:
|
}:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "cabal2nix";
|
pname = "cabal2nix";
|
||||||
version = "unstable-2021-06-12";
|
version = "unstable-2021-07-08";
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/NixOS/cabal2nix/archive/01feffa0aeee835504e0c0ccf4bca2e33a698252.tar.gz";
|
url = "https://github.com/NixOS/cabal2nix/archive/b28902718d89f6a14a836d95a7093bc46e4f8bb5.tar.gz";
|
||||||
sha256 = "0clckh0qqvjcb8szy1d6qqlxj6sqp28jc2p3vhzhkf95cv491si9";
|
sha256 = "1jdbz0krwzzsl3vb10xgman642v49bbgwyl6dw3p9aw6s7a8nfgk";
|
||||||
};
|
};
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
|
|
|
@ -1828,7 +1828,14 @@ EOT
|
||||||
|
|
||||||
# 2021-05-09: compilation requires patches from master,
|
# 2021-05-09: compilation requires patches from master,
|
||||||
# remove at next release (current is 0.1.0.4).
|
# remove at next release (current is 0.1.0.4).
|
||||||
large-hashable = appendPatches super.large-hashable [
|
large-hashable = overrideCabal super.large-hashable (drv: {
|
||||||
|
# fix line endings which are an issue all of a sudden for an unknown reason
|
||||||
|
prePatch = ''
|
||||||
|
find . -type f -print0 | xargs -0 ${pkgs.buildPackages.dos2unix}/bin/dos2unix
|
||||||
|
'' + (drv.prePatch or "");
|
||||||
|
# allow newer template haskell
|
||||||
|
jailbreak = true;
|
||||||
|
patches = [
|
||||||
# Fix compilation of TH code for GHC >= 8.8
|
# Fix compilation of TH code for GHC >= 8.8
|
||||||
(pkgs.fetchpatch {
|
(pkgs.fetchpatch {
|
||||||
url = "https://github.com/factisresearch/large-hashable/commit/ee7afe4bd181cf15a324c7f4823f7a348e4a0e6b.patch";
|
url = "https://github.com/factisresearch/large-hashable/commit/ee7afe4bd181cf15a324c7f4823f7a348e4a0e6b.patch";
|
||||||
|
@ -1844,6 +1851,7 @@ EOT
|
||||||
sha256 = "1sf9h3k8jbbgfshzrclaawlwx7k2frb09z2a64f93jhvk6ci6vgx";
|
sha256 = "1sf9h3k8jbbgfshzrclaawlwx7k2frb09z2a64f93jhvk6ci6vgx";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
});
|
||||||
|
|
||||||
# BSON defaults to requiring network instead of network-bsd which is
|
# BSON defaults to requiring network instead of network-bsd which is
|
||||||
# required nowadays: https://github.com/mongodb-haskell/bson/issues/26
|
# required nowadays: https://github.com/mongodb-haskell/bson/issues/26
|
||||||
|
@ -1938,6 +1946,14 @@ EOT
|
||||||
|
|
||||||
# Flakey tests
|
# Flakey tests
|
||||||
# upstream https://github.com/circuithub/rel8/issues/86
|
# upstream https://github.com/circuithub/rel8/issues/86
|
||||||
rel8 = dontCheck super.rel8;
|
rel8 = dontCheck (super.rel8.override {
|
||||||
|
opaleye = dontCheck super.opaleye_0_7_2_0;
|
||||||
|
});
|
||||||
|
|
||||||
|
# Release 1.0.0.0 added version bounds (was unrestricted before),
|
||||||
|
# but with too strict lower bounds for our lts-18.
|
||||||
|
graphql = assert pkgs.lib.versionOlder self.parser-combinators.version "1.3.0";
|
||||||
|
assert pkgs.lib.versionOlder self.hspec.version "2.8.2";
|
||||||
|
doJailbreak super.graphql;
|
||||||
|
|
||||||
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
||||||
|
|
|
@ -106,7 +106,7 @@ self: super: {
|
||||||
retry = dontCheck super.retry;
|
retry = dontCheck super.retry;
|
||||||
|
|
||||||
# hlint 3.3 needs a ghc-lib-parser newer than the one from stackage
|
# hlint 3.3 needs a ghc-lib-parser newer than the one from stackage
|
||||||
hlint = super.hlint_3_3_0.overrideScope (self: super: {
|
hlint = super.hlint_3_3_1.overrideScope (self: super: {
|
||||||
ghc-lib-parser = overrideCabal self.ghc-lib-parser_9_0_1_20210324 {
|
ghc-lib-parser = overrideCabal self.ghc-lib-parser_9_0_1_20210324 {
|
||||||
doHaddock = false;
|
doHaddock = false;
|
||||||
};
|
};
|
||||||
|
|
|
@ -91,6 +91,7 @@ broken-packages:
|
||||||
- Agata
|
- Agata
|
||||||
- agda-language-server
|
- agda-language-server
|
||||||
- agda-snippets
|
- agda-snippets
|
||||||
|
- agda-unused
|
||||||
- AGI
|
- AGI
|
||||||
- ag-pictgen
|
- ag-pictgen
|
||||||
- AhoCorasick
|
- AhoCorasick
|
||||||
|
@ -661,6 +662,7 @@ broken-packages:
|
||||||
- clock-extras
|
- clock-extras
|
||||||
- clogparse
|
- clogparse
|
||||||
- clone-all
|
- clone-all
|
||||||
|
- closed-intervals
|
||||||
- closure
|
- closure
|
||||||
- cloudfront-signer
|
- cloudfront-signer
|
||||||
- clr-inline
|
- clr-inline
|
||||||
|
@ -1090,6 +1092,7 @@ broken-packages:
|
||||||
- doctest-prop
|
- doctest-prop
|
||||||
- docusign-example
|
- docusign-example
|
||||||
- docvim
|
- docvim
|
||||||
|
- dominion
|
||||||
- domplate
|
- domplate
|
||||||
- do-spaces
|
- do-spaces
|
||||||
- dotfs
|
- dotfs
|
||||||
|
@ -1778,6 +1781,7 @@ broken-packages:
|
||||||
- hakismet
|
- hakismet
|
||||||
- hakka
|
- hakka
|
||||||
- hako
|
- hako
|
||||||
|
- hakyll-agda
|
||||||
- hakyll-blaze-templates
|
- hakyll-blaze-templates
|
||||||
- hakyll-contrib
|
- hakyll-contrib
|
||||||
- hakyll-contrib-csv
|
- hakyll-contrib-csv
|
||||||
|
@ -2205,6 +2209,7 @@ broken-packages:
|
||||||
- Hricket
|
- Hricket
|
||||||
- hs2bf
|
- hs2bf
|
||||||
- hs2ps
|
- hs2ps
|
||||||
|
- hsakamai
|
||||||
- hsaml2
|
- hsaml2
|
||||||
- hsay
|
- hsay
|
||||||
- hsbc
|
- hsbc
|
||||||
|
@ -2382,6 +2387,7 @@ broken-packages:
|
||||||
- hw-json-simd
|
- hw-json-simd
|
||||||
- hw-mquery
|
- hw-mquery
|
||||||
- hworker
|
- hworker
|
||||||
|
- hw-prim-bits
|
||||||
- hw-simd
|
- hw-simd
|
||||||
- hwsl2
|
- hwsl2
|
||||||
- hx
|
- hx
|
||||||
|
@ -3108,6 +3114,7 @@ broken-packages:
|
||||||
- MuCheck
|
- MuCheck
|
||||||
- mud
|
- mud
|
||||||
- muesli
|
- muesli
|
||||||
|
- mu-graphql
|
||||||
- mulang
|
- mulang
|
||||||
- multext-east-msd
|
- multext-east-msd
|
||||||
- multiaddr
|
- multiaddr
|
||||||
|
@ -3266,6 +3273,8 @@ broken-packages:
|
||||||
- np-extras
|
- np-extras
|
||||||
- np-linear
|
- np-linear
|
||||||
- nptools
|
- nptools
|
||||||
|
- nri-kafka
|
||||||
|
- nri-postgresql
|
||||||
- ntp-control
|
- ntp-control
|
||||||
- ntrip-client
|
- ntrip-client
|
||||||
- n-tuple
|
- n-tuple
|
||||||
|
@ -4508,6 +4517,7 @@ broken-packages:
|
||||||
- streamdeck
|
- streamdeck
|
||||||
- streamed
|
- streamed
|
||||||
- stream-fusion
|
- stream-fusion
|
||||||
|
- streaming-benchmarks
|
||||||
- streaming-conduit
|
- streaming-conduit
|
||||||
- streaming-events
|
- streaming-events
|
||||||
- streaming-lzma
|
- streaming-lzma
|
||||||
|
@ -4535,6 +4545,7 @@ broken-packages:
|
||||||
- stripe-http-streams
|
- stripe-http-streams
|
||||||
- stripe-signature
|
- stripe-signature
|
||||||
- stripe-tests
|
- stripe-tests
|
||||||
|
- strong-path
|
||||||
- strongswan-sql
|
- strongswan-sql
|
||||||
- structural-traversal
|
- structural-traversal
|
||||||
- structures
|
- structures
|
||||||
|
@ -4749,6 +4760,7 @@ broken-packages:
|
||||||
- thrift
|
- thrift
|
||||||
- Thrift
|
- Thrift
|
||||||
- throttled-io-loop
|
- throttled-io-loop
|
||||||
|
- throwable-exceptions
|
||||||
- th-sccs
|
- th-sccs
|
||||||
- th-tc
|
- th-tc
|
||||||
- th-to-exp
|
- th-to-exp
|
||||||
|
@ -4793,6 +4805,7 @@ broken-packages:
|
||||||
- Titim
|
- Titim
|
||||||
- tkhs
|
- tkhs
|
||||||
- tkyprof
|
- tkyprof
|
||||||
|
- tmp-postgres
|
||||||
- todo
|
- todo
|
||||||
- tofromxml
|
- tofromxml
|
||||||
- to-haskell
|
- to-haskell
|
||||||
|
|
|
@ -115,6 +115,7 @@ extra-packages:
|
||||||
- crackNum < 3.0 # 2021-05-21: 3.0 removed the lib which sbv 7.13 uses
|
- crackNum < 3.0 # 2021-05-21: 3.0 removed the lib which sbv 7.13 uses
|
||||||
- ShellCheck == 0.7.1 # 2021-05-09: haskell-ci 0.12.1 pins this version
|
- ShellCheck == 0.7.1 # 2021-05-09: haskell-ci 0.12.1 pins this version
|
||||||
- hackage-db < 2.1.1 # 2021-06-10: Need older hackage-db as long as Cabal < 3.4, see https://github.com/NixOS/cabal2nix/issues/501
|
- hackage-db < 2.1.1 # 2021-06-10: Need older hackage-db as long as Cabal < 3.4, see https://github.com/NixOS/cabal2nix/issues/501
|
||||||
|
- opaleye < 0.7.3.0 # 2021-07-11: for rel8 <= 1.0.0.1, see https://github.com/circuithub/rel8/issues/95#issuecomment-877616118
|
||||||
|
|
||||||
package-maintainers:
|
package-maintainers:
|
||||||
abbradar:
|
abbradar:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Stackage LTS 18.0
|
# Stackage LTS 18.1
|
||||||
# This file is auto-generated by
|
# This file is auto-generated by
|
||||||
# maintainers/scripts/haskell/update-stackage.sh
|
# maintainers/scripts/haskell/update-stackage.sh
|
||||||
default-package-overrides:
|
default-package-overrides:
|
||||||
|
@ -33,7 +33,7 @@ default-package-overrides:
|
||||||
- aeson-with ==0.1.2.0
|
- aeson-with ==0.1.2.0
|
||||||
- aeson-yak ==0.1.1.3
|
- aeson-yak ==0.1.1.3
|
||||||
- aeson-yaml ==1.1.0.0
|
- aeson-yaml ==1.1.0.0
|
||||||
- Agda ==2.6.1.3
|
- Agda ==2.6.2
|
||||||
- agda2lagda ==0.2021.6.1
|
- agda2lagda ==0.2021.6.1
|
||||||
- al ==0.1.4.2
|
- al ==0.1.4.2
|
||||||
- alarmclock ==0.7.0.5
|
- alarmclock ==0.7.0.5
|
||||||
|
@ -202,8 +202,8 @@ default-package-overrides:
|
||||||
- auto-update ==0.1.6
|
- auto-update ==0.1.6
|
||||||
- avro ==0.5.2.0
|
- avro ==0.5.2.0
|
||||||
- aws-cloudfront-signed-cookies ==0.2.0.8
|
- aws-cloudfront-signed-cookies ==0.2.0.8
|
||||||
- aws-xray-client ==0.1.0.0
|
- aws-xray-client ==0.1.0.1
|
||||||
- aws-xray-client-wai ==0.1.0.0
|
- aws-xray-client-wai ==0.1.0.1
|
||||||
- backprop ==0.2.6.4
|
- backprop ==0.2.6.4
|
||||||
- backtracking ==0.1.0
|
- backtracking ==0.1.0
|
||||||
- bank-holidays-england ==0.2.0.6
|
- bank-holidays-england ==0.2.0.6
|
||||||
|
@ -211,7 +211,7 @@ default-package-overrides:
|
||||||
- base16 ==0.3.0.1
|
- base16 ==0.3.0.1
|
||||||
- base16-bytestring ==1.0.1.0
|
- base16-bytestring ==1.0.1.0
|
||||||
- base16-lens ==0.1.3.2
|
- base16-lens ==0.1.3.2
|
||||||
- base32 ==0.2.0.0
|
- base32 ==0.2.1.0
|
||||||
- base32-lens ==0.1.1.1
|
- base32-lens ==0.1.1.1
|
||||||
- base32string ==0.9.1
|
- base32string ==0.9.1
|
||||||
- base58-bytestring ==0.1.0
|
- base58-bytestring ==0.1.0
|
||||||
|
@ -233,7 +233,7 @@ default-package-overrides:
|
||||||
- bcp47 ==0.2.0.4
|
- bcp47 ==0.2.0.4
|
||||||
- bcp47-orphans ==0.1.0.4
|
- bcp47-orphans ==0.1.0.4
|
||||||
- bcrypt ==0.0.11
|
- bcrypt ==0.0.11
|
||||||
- bech32 ==1.1.0
|
- bech32 ==1.1.1
|
||||||
- bech32-th ==1.0.2
|
- bech32-th ==1.0.2
|
||||||
- bench ==1.0.12
|
- bench ==1.0.12
|
||||||
- benchpress ==0.2.2.17
|
- benchpress ==0.2.2.17
|
||||||
|
@ -304,7 +304,7 @@ default-package-overrides:
|
||||||
- buffer-pipe ==0.0
|
- buffer-pipe ==0.0
|
||||||
- bugsnag-haskell ==0.0.4.1
|
- bugsnag-haskell ==0.0.4.1
|
||||||
- bugsnag-hs ==0.2.0.4
|
- bugsnag-hs ==0.2.0.4
|
||||||
- bugzilla-redhat ==0.3.1
|
- bugzilla-redhat ==0.3.2
|
||||||
- burrito ==1.2.0.2
|
- burrito ==1.2.0.2
|
||||||
- butcher ==1.3.3.2
|
- butcher ==1.3.3.2
|
||||||
- buttplug-hs-core ==0.1.0.0
|
- buttplug-hs-core ==0.1.0.0
|
||||||
|
@ -420,13 +420,13 @@ default-package-overrides:
|
||||||
- Color ==0.3.2
|
- Color ==0.3.2
|
||||||
- colorful-monoids ==0.2.1.3
|
- colorful-monoids ==0.2.1.3
|
||||||
- colorize-haskell ==1.0.1
|
- colorize-haskell ==1.0.1
|
||||||
- colour ==2.3.5
|
- colour ==2.3.6
|
||||||
- combinatorial ==0.1.0.1
|
- combinatorial ==0.1.0.1
|
||||||
- comfort-array ==0.4.1
|
- comfort-array ==0.4.1
|
||||||
- comfort-graph ==0.0.3.1
|
- comfort-graph ==0.0.3.1
|
||||||
- commonmark ==0.2
|
- commonmark ==0.2.1
|
||||||
- commonmark-extensions ==0.2.1.2
|
- commonmark-extensions ==0.2.1.2
|
||||||
- commonmark-pandoc ==0.2.1
|
- commonmark-pandoc ==0.2.1.1
|
||||||
- commutative ==0.0.2
|
- commutative ==0.0.2
|
||||||
- comonad ==5.0.8
|
- comonad ==5.0.8
|
||||||
- comonad-extras ==4.0.1
|
- comonad-extras ==4.0.1
|
||||||
|
@ -490,7 +490,7 @@ default-package-overrides:
|
||||||
- crc32c ==0.0.0
|
- crc32c ==0.0.0
|
||||||
- credential-store ==0.1.2
|
- credential-store ==0.1.2
|
||||||
- criterion ==1.5.9.0
|
- criterion ==1.5.9.0
|
||||||
- criterion-measurement ==0.1.2.0
|
- criterion-measurement ==0.1.3.0
|
||||||
- cron ==0.7.0
|
- cron ==0.7.0
|
||||||
- crypto-api ==0.13.3
|
- crypto-api ==0.13.3
|
||||||
- crypto-cipher-types ==0.0.9
|
- crypto-cipher-types ==0.0.9
|
||||||
|
@ -555,7 +555,7 @@ default-package-overrides:
|
||||||
- data-hash ==0.2.0.1
|
- data-hash ==0.2.0.1
|
||||||
- data-interval ==2.1.0
|
- data-interval ==2.1.0
|
||||||
- data-inttrie ==0.1.4
|
- data-inttrie ==0.1.4
|
||||||
- data-lens-light ==0.1.2.2
|
- data-lens-light ==0.1.2.3
|
||||||
- data-memocombinators ==0.5.1
|
- data-memocombinators ==0.5.1
|
||||||
- data-msgpack ==0.0.13
|
- data-msgpack ==0.0.13
|
||||||
- data-msgpack-types ==0.0.3
|
- data-msgpack-types ==0.0.3
|
||||||
|
@ -680,7 +680,7 @@ default-package-overrides:
|
||||||
- elynx-seq ==0.5.1.1
|
- elynx-seq ==0.5.1.1
|
||||||
- elynx-tools ==0.5.1.1
|
- elynx-tools ==0.5.1.1
|
||||||
- elynx-tree ==0.5.1.1
|
- elynx-tree ==0.5.1.1
|
||||||
- email-validate ==2.3.2.13
|
- email-validate ==2.3.2.15
|
||||||
- emd ==0.2.0.0
|
- emd ==0.2.0.0
|
||||||
- emojis ==0.1
|
- emojis ==0.1
|
||||||
- enclosed-exceptions ==1.0.3
|
- enclosed-exceptions ==1.0.3
|
||||||
|
@ -703,7 +703,7 @@ default-package-overrides:
|
||||||
- errors ==2.3.0
|
- errors ==2.3.0
|
||||||
- errors-ext ==0.4.2
|
- errors-ext ==0.4.2
|
||||||
- ersatz ==0.4.9
|
- ersatz ==0.4.9
|
||||||
- esqueleto ==3.5.0.0
|
- esqueleto ==3.5.2.0
|
||||||
- essence-of-live-coding ==0.2.5
|
- essence-of-live-coding ==0.2.5
|
||||||
- essence-of-live-coding-gloss ==0.2.5
|
- essence-of-live-coding-gloss ==0.2.5
|
||||||
- essence-of-live-coding-pulse ==0.2.5
|
- essence-of-live-coding-pulse ==0.2.5
|
||||||
|
@ -729,7 +729,7 @@ default-package-overrides:
|
||||||
- expiring-cache-map ==0.0.6.1
|
- expiring-cache-map ==0.0.6.1
|
||||||
- explicit-exception ==0.1.10
|
- explicit-exception ==0.1.10
|
||||||
- exp-pairs ==0.2.1.0
|
- exp-pairs ==0.2.1.0
|
||||||
- express ==0.1.14
|
- express ==0.1.16
|
||||||
- extended-reals ==0.2.4.0
|
- extended-reals ==0.2.4.0
|
||||||
- extensible-effects ==5.0.0.1
|
- extensible-effects ==5.0.0.1
|
||||||
- extensible-exceptions ==0.1.1.4
|
- extensible-exceptions ==0.1.1.4
|
||||||
|
@ -803,7 +803,7 @@ default-package-overrides:
|
||||||
- forkable-monad ==0.2.0.3
|
- forkable-monad ==0.2.0.3
|
||||||
- forma ==1.1.3
|
- forma ==1.1.3
|
||||||
- format-numbers ==0.1.0.1
|
- format-numbers ==0.1.0.1
|
||||||
- formatting ==7.1.2
|
- formatting ==7.1.3
|
||||||
- foundation ==0.0.26.1
|
- foundation ==0.0.26.1
|
||||||
- fourmolu ==0.3.0.0
|
- fourmolu ==0.3.0.0
|
||||||
- free ==5.1.7
|
- free ==5.1.7
|
||||||
|
@ -850,8 +850,8 @@ default-package-overrides:
|
||||||
- generics-eot ==0.4.0.1
|
- generics-eot ==0.4.0.1
|
||||||
- generics-sop ==0.5.1.1
|
- generics-sop ==0.5.1.1
|
||||||
- generics-sop-lens ==0.2.0.1
|
- generics-sop-lens ==0.2.0.1
|
||||||
- geniplate-mirror ==0.7.7
|
- geniplate-mirror ==0.7.8
|
||||||
- genvalidity ==0.11.0.0
|
- genvalidity ==0.11.0.2
|
||||||
- genvalidity-aeson ==0.3.0.0
|
- genvalidity-aeson ==0.3.0.0
|
||||||
- genvalidity-bytestring ==0.6.0.0
|
- genvalidity-bytestring ==0.6.0.0
|
||||||
- genvalidity-containers ==0.9.0.0
|
- genvalidity-containers ==0.9.0.0
|
||||||
|
@ -898,11 +898,11 @@ default-package-overrides:
|
||||||
- ghc-prof ==1.4.1.8
|
- ghc-prof ==1.4.1.8
|
||||||
- ghc-source-gen ==0.4.0.0
|
- ghc-source-gen ==0.4.0.0
|
||||||
- ghc-syntax-highlighter ==0.0.6.0
|
- ghc-syntax-highlighter ==0.0.6.0
|
||||||
- ghc-tcplugins-extra ==0.4.1
|
- ghc-tcplugins-extra ==0.4.2
|
||||||
- ghc-trace-events ==0.1.2.2
|
- ghc-trace-events ==0.1.2.3
|
||||||
- ghc-typelits-extra ==0.4.2
|
- ghc-typelits-extra ==0.4.3
|
||||||
- ghc-typelits-knownnat ==0.7.5
|
- ghc-typelits-knownnat ==0.7.6
|
||||||
- ghc-typelits-natnormalise ==0.7.4
|
- ghc-typelits-natnormalise ==0.7.6
|
||||||
- ghc-typelits-presburger ==0.6.0.0
|
- ghc-typelits-presburger ==0.6.0.0
|
||||||
- ghost-buster ==0.1.1.0
|
- ghost-buster ==0.1.1.0
|
||||||
- gi-atk ==2.0.23
|
- gi-atk ==2.0.23
|
||||||
|
@ -923,7 +923,7 @@ default-package-overrides:
|
||||||
- ginger ==0.10.1.0
|
- ginger ==0.10.1.0
|
||||||
- gingersnap ==0.3.1.0
|
- gingersnap ==0.3.1.0
|
||||||
- gi-pango ==1.0.24
|
- gi-pango ==1.0.24
|
||||||
- githash ==0.1.6.0
|
- githash ==0.1.6.1
|
||||||
- github-release ==1.3.7
|
- github-release ==1.3.7
|
||||||
- github-rest ==1.0.3
|
- github-rest ==1.0.3
|
||||||
- github-types ==0.2.1
|
- github-types ==0.2.1
|
||||||
|
@ -974,7 +974,7 @@ default-package-overrides:
|
||||||
- hamtsolo ==1.0.3
|
- hamtsolo ==1.0.3
|
||||||
- HandsomeSoup ==0.4.2
|
- HandsomeSoup ==0.4.2
|
||||||
- hapistrano ==0.4.2.0
|
- hapistrano ==0.4.2.0
|
||||||
- happstack-server ==7.7.1
|
- happstack-server ==7.7.1.1
|
||||||
- happy ==1.20.0
|
- happy ==1.20.0
|
||||||
- happy-meta ==0.2.0.11
|
- happy-meta ==0.2.0.11
|
||||||
- HasBigDecimal ==0.1.1
|
- HasBigDecimal ==0.1.1
|
||||||
|
@ -1006,7 +1006,7 @@ default-package-overrides:
|
||||||
- hasql-optparse-applicative ==0.3.0.6
|
- hasql-optparse-applicative ==0.3.0.6
|
||||||
- hasql-pool ==0.5.2
|
- hasql-pool ==0.5.2
|
||||||
- hasql-queue ==1.2.0.2
|
- hasql-queue ==1.2.0.2
|
||||||
- hasql-transaction ==1.0.0.2
|
- hasql-transaction ==1.0.1
|
||||||
- hasty-hamiltonian ==1.3.4
|
- hasty-hamiltonian ==1.3.4
|
||||||
- HaTeX ==3.22.3.0
|
- HaTeX ==3.22.3.0
|
||||||
- HaXml ==1.25.5
|
- HaXml ==1.25.5
|
||||||
|
@ -1015,7 +1015,7 @@ default-package-overrides:
|
||||||
- hdaemonize ==0.5.6
|
- hdaemonize ==0.5.6
|
||||||
- HDBC ==2.4.0.3
|
- HDBC ==2.4.0.3
|
||||||
- HDBC-session ==0.1.2.0
|
- HDBC-session ==0.1.2.0
|
||||||
- headroom ==0.4.1.0
|
- headroom ==0.4.2.0
|
||||||
- heap ==1.0.4
|
- heap ==1.0.4
|
||||||
- heaps ==0.4
|
- heaps ==0.4
|
||||||
- hebrew-time ==0.1.2
|
- hebrew-time ==0.1.2
|
||||||
|
@ -1025,7 +1025,7 @@ default-package-overrides:
|
||||||
- hedgehog-fn ==1.0
|
- hedgehog-fn ==1.0
|
||||||
- hedgehog-quickcheck ==0.1.1
|
- hedgehog-quickcheck ==0.1.1
|
||||||
- hedis ==0.14.4
|
- hedis ==0.14.4
|
||||||
- hedn ==0.3.0.2
|
- hedn ==0.3.0.3
|
||||||
- here ==1.2.13
|
- here ==1.2.13
|
||||||
- heredoc ==0.2.0.0
|
- heredoc ==0.2.0.0
|
||||||
- heterocephalus ==1.0.5.4
|
- heterocephalus ==1.0.5.4
|
||||||
|
@ -1163,7 +1163,7 @@ default-package-overrides:
|
||||||
- http-media ==0.8.0.0
|
- http-media ==0.8.0.0
|
||||||
- http-query ==0.1.0.1
|
- http-query ==0.1.0.1
|
||||||
- http-reverse-proxy ==0.6.0
|
- http-reverse-proxy ==0.6.0
|
||||||
- http-streams ==0.8.7.2
|
- http-streams ==0.8.8.1
|
||||||
- http-types ==0.12.3
|
- http-types ==0.12.3
|
||||||
- human-readable-duration ==0.2.1.4
|
- human-readable-duration ==0.2.1.4
|
||||||
- HUnit ==1.6.2.0
|
- HUnit ==1.6.2.0
|
||||||
|
@ -1212,7 +1212,7 @@ default-package-overrides:
|
||||||
- hybrid-vectors ==0.2.2
|
- hybrid-vectors ==0.2.2
|
||||||
- hyper ==0.2.1.1
|
- hyper ==0.2.1.1
|
||||||
- hyperloglog ==0.4.4
|
- hyperloglog ==0.4.4
|
||||||
- hyphenation ==0.8.1
|
- hyphenation ==0.8.2
|
||||||
- iconv ==0.4.1.3
|
- iconv ==0.4.1.3
|
||||||
- identicon ==0.2.2
|
- identicon ==0.2.2
|
||||||
- ieee754 ==0.8.0
|
- ieee754 ==0.8.0
|
||||||
|
@ -1240,7 +1240,7 @@ default-package-overrides:
|
||||||
- influxdb ==1.9.1.2
|
- influxdb ==1.9.1.2
|
||||||
- ini ==0.4.1
|
- ini ==0.4.1
|
||||||
- inj ==1.0
|
- inj ==1.0
|
||||||
- inline-c ==0.9.1.4
|
- inline-c ==0.9.1.5
|
||||||
- inline-c-cpp ==0.4.0.3
|
- inline-c-cpp ==0.4.0.3
|
||||||
- inline-r ==0.10.4
|
- inline-r ==0.10.4
|
||||||
- inliterate ==0.1.0
|
- inliterate ==0.1.0
|
||||||
|
@ -1394,7 +1394,7 @@ default-package-overrides:
|
||||||
- lift-generics ==0.2
|
- lift-generics ==0.2
|
||||||
- lift-type ==0.1.0.1
|
- lift-type ==0.1.0.1
|
||||||
- line ==4.0.1
|
- line ==4.0.1
|
||||||
- linear ==1.21.5
|
- linear ==1.21.6
|
||||||
- linear-circuit ==0.1.0.2
|
- linear-circuit ==0.1.0.2
|
||||||
- linenoise ==0.3.2
|
- linenoise ==0.3.2
|
||||||
- linux-file-extents ==0.2.0.0
|
- linux-file-extents ==0.2.0.0
|
||||||
|
@ -1606,7 +1606,7 @@ default-package-overrides:
|
||||||
- netlib-comfort-array ==0.0.0.1
|
- netlib-comfort-array ==0.0.0.1
|
||||||
- netlib-ffi ==0.1.1
|
- netlib-ffi ==0.1.1
|
||||||
- net-mqtt ==0.7.1.1
|
- net-mqtt ==0.7.1.1
|
||||||
- net-mqtt-lens ==0.1.0.0
|
- net-mqtt-lens ==0.1.1.0
|
||||||
- netpbm ==1.0.4
|
- netpbm ==1.0.4
|
||||||
- nettle ==0.3.0
|
- nettle ==0.3.0
|
||||||
- netwire ==5.0.3
|
- netwire ==5.0.3
|
||||||
|
@ -1646,7 +1646,7 @@ default-package-overrides:
|
||||||
- nowdoc ==0.1.1.0
|
- nowdoc ==0.1.1.0
|
||||||
- nqe ==0.6.3
|
- nqe ==0.6.3
|
||||||
- nri-env-parser ==0.1.0.7
|
- nri-env-parser ==0.1.0.7
|
||||||
- nri-observability ==0.1.0.3
|
- nri-observability ==0.1.1.1
|
||||||
- nri-prelude ==0.6.0.2
|
- nri-prelude ==0.6.0.2
|
||||||
- nsis ==0.3.3
|
- nsis ==0.3.3
|
||||||
- numbers ==3000.2.0.2
|
- numbers ==3000.2.0.2
|
||||||
|
@ -1673,7 +1673,7 @@ default-package-overrides:
|
||||||
- OneTuple ==0.2.2.1
|
- OneTuple ==0.2.2.1
|
||||||
- Only ==0.1
|
- Only ==0.1
|
||||||
- oo-prototypes ==0.1.0.0
|
- oo-prototypes ==0.1.0.0
|
||||||
- opaleye ==0.7.1.0
|
- opaleye ==0.7.3.0
|
||||||
- OpenAL ==1.7.0.5
|
- OpenAL ==1.7.0.5
|
||||||
- openapi3 ==3.1.0
|
- openapi3 ==3.1.0
|
||||||
- open-browser ==0.2.1.0
|
- open-browser ==0.2.1.0
|
||||||
|
@ -1698,7 +1698,7 @@ default-package-overrides:
|
||||||
- options ==1.2.1.1
|
- options ==1.2.1.1
|
||||||
- optparse-applicative ==0.16.1.0
|
- optparse-applicative ==0.16.1.0
|
||||||
- optparse-generic ==1.4.4
|
- optparse-generic ==1.4.4
|
||||||
- optparse-simple ==0.1.1.3
|
- optparse-simple ==0.1.1.4
|
||||||
- optparse-text ==0.1.1.0
|
- optparse-text ==0.1.1.0
|
||||||
- ordered-containers ==0.2.2
|
- ordered-containers ==0.2.2
|
||||||
- ormolu ==0.1.4.1
|
- ormolu ==0.1.4.1
|
||||||
|
@ -1708,12 +1708,12 @@ default-package-overrides:
|
||||||
- pager ==0.1.1.0
|
- pager ==0.1.1.0
|
||||||
- pagination ==0.2.2
|
- pagination ==0.2.2
|
||||||
- pagure-cli ==0.2
|
- pagure-cli ==0.2
|
||||||
- pandoc ==2.14.0.2
|
- pandoc ==2.14.0.3
|
||||||
- pandoc-dhall-decoder ==0.1.0.1
|
- pandoc-dhall-decoder ==0.1.0.1
|
||||||
- pandoc-plot ==1.2.3
|
- pandoc-plot ==1.2.3
|
||||||
- pandoc-throw ==0.1.0.0
|
- pandoc-throw ==0.1.0.0
|
||||||
- pandoc-types ==1.22
|
- pandoc-types ==1.22
|
||||||
- pantry ==0.5.2.2
|
- pantry ==0.5.2.3
|
||||||
- parallel ==3.2.2.0
|
- parallel ==3.2.2.0
|
||||||
- parameterized ==0.5.0.0
|
- parameterized ==0.5.0.0
|
||||||
- paripari ==0.7.0.0
|
- paripari ==0.7.0.0
|
||||||
|
@ -1758,11 +1758,11 @@ default-package-overrides:
|
||||||
- persist ==0.1.1.5
|
- persist ==0.1.1.5
|
||||||
- persistable-record ==0.6.0.5
|
- persistable-record ==0.6.0.5
|
||||||
- persistable-types-HDBC-pg ==0.0.3.5
|
- persistable-types-HDBC-pg ==0.0.3.5
|
||||||
- persistent ==2.13.0.2
|
- persistent ==2.13.1.1
|
||||||
- persistent-mtl ==0.2.2.0
|
- persistent-mtl ==0.2.2.0
|
||||||
- persistent-mysql ==2.13.0.1
|
- persistent-mysql ==2.13.0.1
|
||||||
- persistent-pagination ==0.1.1.2
|
- persistent-pagination ==0.1.1.2
|
||||||
- persistent-postgresql ==2.13.0.2
|
- persistent-postgresql ==2.13.0.3
|
||||||
- persistent-qq ==2.12.0.1
|
- persistent-qq ==2.12.0.1
|
||||||
- persistent-sqlite ==2.13.0.3
|
- persistent-sqlite ==2.13.0.3
|
||||||
- persistent-template ==2.12.0.0
|
- persistent-template ==2.12.0.0
|
||||||
|
@ -1770,7 +1770,7 @@ default-package-overrides:
|
||||||
- persistent-typed-db ==0.1.0.4
|
- persistent-typed-db ==0.1.0.4
|
||||||
- pg-harness-client ==0.6.0
|
- pg-harness-client ==0.6.0
|
||||||
- pgp-wordlist ==0.1.0.3
|
- pgp-wordlist ==0.1.0.3
|
||||||
- pg-transact ==0.3.1.1
|
- pg-transact ==0.3.2.0
|
||||||
- phantom-state ==0.2.1.2
|
- phantom-state ==0.2.1.2
|
||||||
- pid1 ==0.1.2.0
|
- pid1 ==0.1.2.0
|
||||||
- pinboard ==0.10.2.0
|
- pinboard ==0.10.2.0
|
||||||
|
@ -2083,7 +2083,7 @@ default-package-overrides:
|
||||||
- sequenceTools ==1.5.0
|
- sequenceTools ==1.5.0
|
||||||
- serf ==0.1.1.0
|
- serf ==0.1.1.0
|
||||||
- serialise ==0.2.3.0
|
- serialise ==0.2.3.0
|
||||||
- servant ==0.18.2
|
- servant ==0.18.3
|
||||||
- servant-auth ==0.4.0.0
|
- servant-auth ==0.4.0.0
|
||||||
- servant-auth-client ==0.4.1.0
|
- servant-auth-client ==0.4.1.0
|
||||||
- servant-auth-docs ==0.2.10.0
|
- servant-auth-docs ==0.2.10.0
|
||||||
|
@ -2091,23 +2091,23 @@ default-package-overrides:
|
||||||
- servant-auth-swagger ==0.2.10.1
|
- servant-auth-swagger ==0.2.10.1
|
||||||
- servant-auth-wordpress ==1.0.0.2
|
- servant-auth-wordpress ==1.0.0.2
|
||||||
- servant-blaze ==0.9.1
|
- servant-blaze ==0.9.1
|
||||||
- servant-client ==0.18.2
|
- servant-client ==0.18.3
|
||||||
- servant-client-core ==0.18.2
|
- servant-client-core ==0.18.3
|
||||||
- servant-conduit ==0.15.1
|
- servant-conduit ==0.15.1
|
||||||
- servant-docs ==0.11.8
|
- servant-docs ==0.11.9
|
||||||
- servant-elm ==0.7.2
|
- servant-elm ==0.7.2
|
||||||
- servant-errors ==0.1.6.0
|
- servant-errors ==0.1.6.0
|
||||||
- servant-exceptions ==0.2.1
|
- servant-exceptions ==0.2.1
|
||||||
- servant-exceptions-server ==0.2.1
|
- servant-exceptions-server ==0.2.1
|
||||||
- servant-foreign ==0.15.3
|
- servant-foreign ==0.15.4
|
||||||
- servant-http-streams ==0.18.2
|
- servant-http-streams ==0.18.3
|
||||||
- servant-machines ==0.15.1
|
- servant-machines ==0.15.1
|
||||||
- servant-multipart ==0.12.1
|
- servant-multipart ==0.12.1
|
||||||
- servant-multipart-api ==0.12.1
|
- servant-multipart-api ==0.12.1
|
||||||
- servant-openapi3 ==2.0.1.2
|
- servant-openapi3 ==2.0.1.2
|
||||||
- servant-pipes ==0.15.2
|
- servant-pipes ==0.15.3
|
||||||
- servant-rawm ==1.0.0.0
|
- servant-rawm ==1.0.0.0
|
||||||
- servant-server ==0.18.2
|
- servant-server ==0.18.3
|
||||||
- servant-swagger ==1.1.10
|
- servant-swagger ==1.1.10
|
||||||
- servant-swagger-ui ==0.3.5.3.47.1
|
- servant-swagger-ui ==0.3.5.3.47.1
|
||||||
- servant-swagger-ui-core ==0.3.5
|
- servant-swagger-ui-core ==0.3.5
|
||||||
|
@ -2118,9 +2118,9 @@ default-package-overrides:
|
||||||
- set-cover ==0.1.1
|
- set-cover ==0.1.1
|
||||||
- setenv ==0.1.1.3
|
- setenv ==0.1.1.3
|
||||||
- setlocale ==1.0.0.10
|
- setlocale ==1.0.0.10
|
||||||
- sexp-grammar ==2.3.0
|
- sexp-grammar ==2.3.1
|
||||||
- SHA ==1.6.4.4
|
- SHA ==1.6.4.4
|
||||||
- shake ==0.19.4
|
- shake ==0.19.5
|
||||||
- shake-language-c ==0.12.0
|
- shake-language-c ==0.12.0
|
||||||
- shake-plus ==0.3.3.1
|
- shake-plus ==0.3.3.1
|
||||||
- shake-plus-extended ==0.4.1.0
|
- shake-plus-extended ==0.4.1.0
|
||||||
|
@ -2143,7 +2143,7 @@ default-package-overrides:
|
||||||
- simple-affine-space ==0.1.1
|
- simple-affine-space ==0.1.1
|
||||||
- simple-cabal ==0.1.3
|
- simple-cabal ==0.1.3
|
||||||
- simple-cmd ==0.2.3
|
- simple-cmd ==0.2.3
|
||||||
- simple-cmd-args ==0.1.6
|
- simple-cmd-args ==0.1.7
|
||||||
- simple-log ==0.9.12
|
- simple-log ==0.9.12
|
||||||
- simple-reflect ==0.3.3
|
- simple-reflect ==0.3.3
|
||||||
- simple-sendfile ==0.2.30
|
- simple-sendfile ==0.2.30
|
||||||
|
@ -2161,8 +2161,8 @@ default-package-overrides:
|
||||||
- skein ==1.0.9.4
|
- skein ==1.0.9.4
|
||||||
- skews ==0.1.0.3
|
- skews ==0.1.0.3
|
||||||
- skip-var ==0.1.1.0
|
- skip-var ==0.1.1.0
|
||||||
- skylighting ==0.10.5.1
|
- skylighting ==0.10.5.2
|
||||||
- skylighting-core ==0.10.5.1
|
- skylighting-core ==0.10.5.2
|
||||||
- slack-api ==0.12
|
- slack-api ==0.12
|
||||||
- slack-progressbar ==0.1.0.1
|
- slack-progressbar ==0.1.0.1
|
||||||
- slick ==1.1.1.0
|
- slick ==1.1.1.0
|
||||||
|
@ -2244,7 +2244,7 @@ default-package-overrides:
|
||||||
- Stream ==0.4.7.2
|
- Stream ==0.4.7.2
|
||||||
- streaming ==0.2.3.0
|
- streaming ==0.2.3.0
|
||||||
- streaming-attoparsec ==1.0.0.1
|
- streaming-attoparsec ==1.0.0.1
|
||||||
- streaming-bytestring ==0.2.0
|
- streaming-bytestring ==0.2.1
|
||||||
- streaming-commons ==0.2.2.1
|
- streaming-commons ==0.2.2.1
|
||||||
- streamly ==0.7.3
|
- streamly ==0.7.3
|
||||||
- streams ==3.3
|
- streams ==3.3
|
||||||
|
@ -2264,7 +2264,7 @@ default-package-overrides:
|
||||||
- string-random ==0.1.4.1
|
- string-random ==0.1.4.1
|
||||||
- stringsearch ==0.3.6.6
|
- stringsearch ==0.3.6.6
|
||||||
- string-transform ==1.1.1
|
- string-transform ==1.1.1
|
||||||
- stripe-concepts ==1.0.2.8
|
- stripe-concepts ==1.0.3
|
||||||
- stripe-core ==2.6.2
|
- stripe-core ==2.6.2
|
||||||
- stripe-haskell ==2.6.2
|
- stripe-haskell ==2.6.2
|
||||||
- stripe-http-client ==2.6.2
|
- stripe-http-client ==2.6.2
|
||||||
|
@ -2329,7 +2329,7 @@ default-package-overrides:
|
||||||
- tasty-program ==1.0.5
|
- tasty-program ==1.0.5
|
||||||
- tasty-quickcheck ==0.10.1.2
|
- tasty-quickcheck ==0.10.1.2
|
||||||
- tasty-rerun ==1.1.18
|
- tasty-rerun ==1.1.18
|
||||||
- tasty-silver ==3.2.1
|
- tasty-silver ==3.2.2
|
||||||
- tasty-smallcheck ==0.8.2
|
- tasty-smallcheck ==0.8.2
|
||||||
- tasty-test-reporter ==0.1.1.4
|
- tasty-test-reporter ==0.1.1.4
|
||||||
- tasty-th ==0.1.7
|
- tasty-th ==0.1.7
|
||||||
|
@ -2338,7 +2338,7 @@ default-package-overrides:
|
||||||
- TCache ==0.12.1
|
- TCache ==0.12.1
|
||||||
- tce-conf ==1.3
|
- tce-conf ==1.3
|
||||||
- tdigest ==0.2.1.1
|
- tdigest ==0.2.1.1
|
||||||
- template-haskell-compat-v0208 ==0.1.5
|
- template-haskell-compat-v0208 ==0.1.6
|
||||||
- temporary ==1.3
|
- temporary ==1.3
|
||||||
- temporary-rc ==1.2.0.3
|
- temporary-rc ==1.2.0.3
|
||||||
- temporary-resourcet ==0.1.0.1
|
- temporary-resourcet ==0.1.0.1
|
||||||
|
@ -2408,7 +2408,7 @@ default-package-overrides:
|
||||||
- th-test-utils ==1.1.0
|
- th-test-utils ==1.1.0
|
||||||
- th-utilities ==0.2.4.3
|
- th-utilities ==0.2.4.3
|
||||||
- thyme ==0.3.5.5
|
- thyme ==0.3.5.5
|
||||||
- tidal ==1.7.5
|
- tidal ==1.7.7
|
||||||
- tile ==0.3.0.0
|
- tile ==0.3.0.0
|
||||||
- time-compat ==1.9.5
|
- time-compat ==1.9.5
|
||||||
- timeit ==2.0
|
- timeit ==2.0
|
||||||
|
@ -2443,7 +2443,7 @@ default-package-overrides:
|
||||||
- transformers-bifunctors ==0.1
|
- transformers-bifunctors ==0.1
|
||||||
- transformers-compat ==0.6.6
|
- transformers-compat ==0.6.6
|
||||||
- transformers-fix ==1.0
|
- transformers-fix ==1.0
|
||||||
- traverse-with-class ==1.0.1.0
|
- traverse-with-class ==1.0.1.1
|
||||||
- tree-diff ==0.2
|
- tree-diff ==0.2
|
||||||
- tree-fun ==0.8.1.0
|
- tree-fun ==0.8.1.0
|
||||||
- tree-view ==0.5.1
|
- tree-view ==0.5.1
|
||||||
|
@ -2451,7 +2451,7 @@ default-package-overrides:
|
||||||
- triplesec ==0.2.2.1
|
- triplesec ==0.2.2.1
|
||||||
- trivial-constraint ==0.7.0.0
|
- trivial-constraint ==0.7.0.0
|
||||||
- tsv2csv ==0.1.0.2
|
- tsv2csv ==0.1.0.2
|
||||||
- ttc ==1.1.0.0
|
- ttc ==1.1.0.1
|
||||||
- ttl-hashtables ==1.4.1.0
|
- ttl-hashtables ==1.4.1.0
|
||||||
- ttrie ==0.1.2.1
|
- ttrie ==0.1.2.1
|
||||||
- tuple ==0.3.0.2
|
- tuple ==0.3.0.2
|
||||||
|
@ -2502,7 +2502,7 @@ default-package-overrides:
|
||||||
- unipatterns ==0.0.0.0
|
- unipatterns ==0.0.0.0
|
||||||
- uniplate ==1.6.13
|
- uniplate ==1.6.13
|
||||||
- uniprot-kb ==0.1.2.0
|
- uniprot-kb ==0.1.2.0
|
||||||
- uniq-deep ==1.2.0
|
- uniq-deep ==1.2.1
|
||||||
- unique ==0.0.1
|
- unique ==0.0.1
|
||||||
- unique-logic ==0.4
|
- unique-logic ==0.4
|
||||||
- unique-logic-tf ==0.5.1
|
- unique-logic-tf ==0.5.1
|
||||||
|
@ -2527,7 +2527,7 @@ default-package-overrides:
|
||||||
- unordered-containers ==0.2.14.0
|
- unordered-containers ==0.2.14.0
|
||||||
- unsafe ==0.0
|
- unsafe ==0.0
|
||||||
- urbit-hob ==0.3.3
|
- urbit-hob ==0.3.3
|
||||||
- uri-bytestring ==0.3.3.0
|
- uri-bytestring ==0.3.3.1
|
||||||
- uri-bytestring-aeson ==0.1.0.8
|
- uri-bytestring-aeson ==0.1.0.8
|
||||||
- uri-encode ==1.5.0.7
|
- uri-encode ==1.5.0.7
|
||||||
- url ==2.1.3
|
- url ==2.1.3
|
||||||
|
@ -2541,7 +2541,7 @@ default-package-overrides:
|
||||||
- uuid-types ==1.0.5
|
- uuid-types ==1.0.5
|
||||||
- validation ==1.1.1
|
- validation ==1.1.1
|
||||||
- validation-selective ==0.1.0.1
|
- validation-selective ==0.1.0.1
|
||||||
- validity ==0.11.0.0
|
- validity ==0.11.0.1
|
||||||
- validity-aeson ==0.2.0.4
|
- validity-aeson ==0.2.0.4
|
||||||
- validity-bytestring ==0.4.1.1
|
- validity-bytestring ==0.4.1.1
|
||||||
- validity-containers ==0.5.0.4
|
- validity-containers ==0.5.0.4
|
||||||
|
@ -2568,7 +2568,7 @@ default-package-overrides:
|
||||||
- vector-instances ==3.4
|
- vector-instances ==3.4
|
||||||
- vector-mmap ==0.0.3
|
- vector-mmap ==0.0.3
|
||||||
- vector-rotcev ==0.1.0.0
|
- vector-rotcev ==0.1.0.0
|
||||||
- vector-sized ==1.4.3.1
|
- vector-sized ==1.4.4
|
||||||
- vector-space ==0.16
|
- vector-space ==0.16
|
||||||
- vector-split ==1.0.0.2
|
- vector-split ==1.0.0.2
|
||||||
- vector-th-unbox ==0.2.1.9
|
- vector-th-unbox ==0.2.1.9
|
||||||
|
@ -2604,7 +2604,7 @@ default-package-overrides:
|
||||||
- wai-slack-middleware ==0.2.0
|
- wai-slack-middleware ==0.2.0
|
||||||
- wai-websockets ==3.0.1.2
|
- wai-websockets ==3.0.1.2
|
||||||
- wakame ==0.1.0.0
|
- wakame ==0.1.0.0
|
||||||
- warp ==3.3.16
|
- warp ==3.3.17
|
||||||
- warp-tls ==3.3.1
|
- warp-tls ==3.3.1
|
||||||
- warp-tls-uid ==0.2.0.6
|
- warp-tls-uid ==0.2.0.6
|
||||||
- wave ==0.2.0
|
- wave ==0.2.0
|
||||||
|
@ -2658,7 +2658,7 @@ default-package-overrides:
|
||||||
- xdg-basedir ==0.2.2
|
- xdg-basedir ==0.2.2
|
||||||
- xdg-userdirs ==0.1.0.2
|
- xdg-userdirs ==0.1.0.2
|
||||||
- xeno ==0.4.2
|
- xeno ==0.4.2
|
||||||
- xlsx ==0.8.3
|
- xlsx ==0.8.4
|
||||||
- xlsx-tabular ==0.2.2.1
|
- xlsx-tabular ==0.2.2.1
|
||||||
- xml ==1.3.14
|
- xml ==1.3.14
|
||||||
- xml-basic ==0.1.3.1
|
- xml-basic ==0.1.3.1
|
||||||
|
@ -2681,12 +2681,12 @@ default-package-overrides:
|
||||||
- xxhash-ffi ==0.2.0.0
|
- xxhash-ffi ==0.2.0.0
|
||||||
- yaml ==0.11.5.0
|
- yaml ==0.11.5.0
|
||||||
- yamlparse-applicative ==0.2.0.0
|
- yamlparse-applicative ==0.2.0.0
|
||||||
- yesod ==1.6.1.1
|
- yesod ==1.6.1.2
|
||||||
- yesod-auth ==1.6.10.3
|
- yesod-auth ==1.6.10.3
|
||||||
- yesod-auth-hashdb ==1.7.1.7
|
- yesod-auth-hashdb ==1.7.1.7
|
||||||
- yesod-auth-oauth2 ==0.6.3.4
|
- yesod-auth-oauth2 ==0.6.3.4
|
||||||
- yesod-bin ==1.6.1
|
- yesod-bin ==1.6.1
|
||||||
- yesod-core ==1.6.20.1
|
- yesod-core ==1.6.20.2
|
||||||
- yesod-fb ==0.6.1
|
- yesod-fb ==0.6.1
|
||||||
- yesod-form ==1.7.0
|
- yesod-form ==1.7.0
|
||||||
- yesod-gitrev ==0.2.1
|
- yesod-gitrev ==0.2.1
|
||||||
|
|
|
@ -480,6 +480,7 @@ dont-distribute-packages:
|
||||||
- avers-api
|
- avers-api
|
||||||
- avers-api-docs
|
- avers-api-docs
|
||||||
- avers-server
|
- avers-server
|
||||||
|
- aviation-navigation
|
||||||
- avro-piper
|
- avro-piper
|
||||||
- awesomium
|
- awesomium
|
||||||
- awesomium-glut
|
- awesomium-glut
|
||||||
|
@ -808,7 +809,6 @@ dont-distribute-packages:
|
||||||
- convertible-text
|
- convertible-text
|
||||||
- coordinate
|
- coordinate
|
||||||
- copilot
|
- copilot
|
||||||
- copilot-c99
|
|
||||||
- copilot-cbmc
|
- copilot-cbmc
|
||||||
- copilot-language
|
- copilot-language
|
||||||
- copilot-libraries
|
- copilot-libraries
|
||||||
|
@ -1444,6 +1444,7 @@ dont-distribute-packages:
|
||||||
- hasql-cursor-query
|
- hasql-cursor-query
|
||||||
- hasql-postgres
|
- hasql-postgres
|
||||||
- hasql-postgres-options
|
- hasql-postgres-options
|
||||||
|
- hasql-queue
|
||||||
- hasql-th
|
- hasql-th
|
||||||
- hastache-aeson
|
- hastache-aeson
|
||||||
- haste-app
|
- haste-app
|
||||||
|
@ -1833,6 +1834,11 @@ dont-distribute-packages:
|
||||||
- keera-hails-reactive-yampa
|
- keera-hails-reactive-yampa
|
||||||
- keera-hails-reactivelenses
|
- keera-hails-reactivelenses
|
||||||
- keera-posture
|
- keera-posture
|
||||||
|
- keid-core
|
||||||
|
- keid-geometry
|
||||||
|
- keid-render-basic
|
||||||
|
- keid-resource-gltf
|
||||||
|
- keid-ui-dearimgui
|
||||||
- kevin
|
- kevin
|
||||||
- keysafe
|
- keysafe
|
||||||
- keyvaluehash
|
- keyvaluehash
|
||||||
|
@ -2334,6 +2340,7 @@ dont-distribute-packages:
|
||||||
- polysemy-fs
|
- polysemy-fs
|
||||||
- polysemy-fskvstore
|
- polysemy-fskvstore
|
||||||
- polysemy-http
|
- polysemy-http
|
||||||
|
- polysemy-keyed-state
|
||||||
- polysemy-kvstore-jsonfile
|
- polysemy-kvstore-jsonfile
|
||||||
- polysemy-log
|
- polysemy-log
|
||||||
- polysemy-log-co
|
- polysemy-log-co
|
||||||
|
@ -2886,6 +2893,7 @@ dont-distribute-packages:
|
||||||
- swearjure
|
- swearjure
|
||||||
- sweet-egison
|
- sweet-egison
|
||||||
- switch
|
- switch
|
||||||
|
- sydtest-persistent-postgresql
|
||||||
- sylvia
|
- sylvia
|
||||||
- sym-plot
|
- sym-plot
|
||||||
- symantic-atom
|
- symantic-atom
|
||||||
|
|
|
@ -914,4 +914,9 @@ self: super: builtins.intersectAttrs super {
|
||||||
|
|
||||||
cachix = generateOptparseApplicativeCompletion "cachix" super.cachix;
|
cachix = generateOptparseApplicativeCompletion "cachix" super.cachix;
|
||||||
|
|
||||||
|
# Enable extra optimisations which increase build time, but also
|
||||||
|
# later compiler performance, so we should do this for user's benefit.
|
||||||
|
# Flag added in Agda 2.6.2
|
||||||
|
Agda = appendConfigureFlag super.Agda "-foptimise-heavily";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
2422
third_party/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix
generated
vendored
2422
third_party/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix
generated
vendored
File diff suppressed because it is too large
Load diff
|
@ -348,7 +348,7 @@ in package-set { inherit pkgs lib callPackage; } self // {
|
||||||
# );
|
# );
|
||||||
# });
|
# });
|
||||||
# in
|
# in
|
||||||
# hpkgs.shellFor {
|
# haskellPkgs.shellFor {
|
||||||
# packages = p: [ p.foo ];
|
# packages = p: [ p.foo ];
|
||||||
# genericBuilderArgsModifier = args: args // { doCheck = true; doBenchmark = true };
|
# genericBuilderArgsModifier = args: args // { doCheck = true; doBenchmark = true };
|
||||||
# }
|
# }
|
||||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
phases = "installPhase";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/java
|
mkdir -p $out/share/java
|
||||||
|
|
|
@ -236,9 +236,9 @@ in {
|
||||||
sourceVersion = {
|
sourceVersion = {
|
||||||
major = "7";
|
major = "7";
|
||||||
minor = "3";
|
minor = "3";
|
||||||
patch = "3";
|
patch = "5";
|
||||||
};
|
};
|
||||||
sha256 = "0di3dr5ry4r0hwxh4fbqjhyl5im948wdby0bhijzsxx83c2qhd7n";
|
sha256 = "sha256-wERP2YcwWMHA2Z4TqTTpIoXLBZksmWi/Ujwyv5vsCp0=";
|
||||||
pythonVersion = "2.7";
|
pythonVersion = "2.7";
|
||||||
db = db.override { dbmSupport = !stdenv.isDarwin; };
|
db = db.override { dbmSupport = !stdenv.isDarwin; };
|
||||||
python = python27;
|
python = python27;
|
||||||
|
@ -247,15 +247,15 @@ in {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
pypy36 = callPackage ./pypy {
|
pypy37 = callPackage ./pypy {
|
||||||
self = pypy36;
|
self = pypy37;
|
||||||
sourceVersion = {
|
sourceVersion = {
|
||||||
major = "7";
|
major = "7";
|
||||||
minor = "3";
|
minor = "3";
|
||||||
patch = "3";
|
patch = "5";
|
||||||
};
|
};
|
||||||
sha256 = "1bq5i2mqgjjfc4rhxgxm6ihwa76vn2qapd7l59ri7xp01p522gd2";
|
sha256 = "sha256-2SD+QJqeytnQdKqFaMpfPtNYG+ZvZuXYmIt+xm5tmaI=";
|
||||||
pythonVersion = "3.6";
|
pythonVersion = "3.7";
|
||||||
db = db.override { dbmSupport = !stdenv.isDarwin; };
|
db = db.override { dbmSupport = !stdenv.isDarwin; };
|
||||||
python = python27;
|
python = python27;
|
||||||
inherit passthruFun;
|
inherit passthruFun;
|
||||||
|
|
|
@ -73,6 +73,8 @@ in with passthru; stdenv.mkDerivation rec {
|
||||||
LD_LIBRARY_PATH = makeLibraryPath (filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs);
|
LD_LIBRARY_PATH = makeLibraryPath (filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs);
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
./dont_fetch_vendored_deps.patch
|
||||||
|
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./tk_tcl_paths.patch;
|
src = ./tk_tcl_paths.patch;
|
||||||
inherit tk tcl;
|
inherit tk tcl;
|
||||||
|
@ -81,12 +83,18 @@ in with passthru; stdenv.mkDerivation rec {
|
||||||
tk_libprefix = tk.libPrefix;
|
tk_libprefix = tk.libPrefix;
|
||||||
tcl_libprefix = tcl.libPrefix;
|
tcl_libprefix = tcl.libPrefix;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(substituteAll {
|
||||||
|
src = ./sqlite_paths.patch;
|
||||||
|
inherit (sqlite) out dev;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace "lib-python/${if isPy3k then "3/tkinter/tix.py" else "2.7/lib-tk/Tix.py"}" --replace "os.environ.get('TIX_LIBRARY')" "os.environ.get('TIX_LIBRARY') or '${tix}/lib'"
|
substituteInPlace lib_pypy/pypy_tools/build_cffi_imports.py \
|
||||||
|
--replace "multiprocessing.cpu_count()" "$NIX_BUILD_CORES"
|
||||||
|
|
||||||
sed -i "s@libraries=\['sqlite3'\]\$@libraries=['sqlite3'], include_dirs=['${sqlite.dev}/include'], library_dirs=['${sqlite.out}/lib']@" lib_pypy/_sqlite3_build.py
|
substituteInPlace "lib-python/${if isPy3k then "3/tkinter/tix.py" else "2.7/lib-tk/Tix.py"}" --replace "os.environ.get('TIX_LIBRARY')" "os.environ.get('TIX_LIBRARY') or '${tix}/lib'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
12
third_party/nixpkgs/pkgs/development/interpreters/python/pypy/dont_fetch_vendored_deps.patch
vendored
Normal file
12
third_party/nixpkgs/pkgs/development/interpreters/python/pypy/dont_fetch_vendored_deps.patch
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff -ur a/lib_pypy/pypy_tools/build_cffi_imports.py b/lib_pypy/pypy_tools/build_cffi_imports.py
|
||||||
|
--- a/lib_pypy/pypy_tools/build_cffi_imports.py 2021-04-12 01:11:48.000000000 -0400
|
||||||
|
+++ b/lib_pypy/pypy_tools/build_cffi_imports.py 2021-07-16 06:37:03.000000000 -0400
|
||||||
|
@@ -225,6 +225,8 @@
|
||||||
|
|
||||||
|
print('*', ' '.join(args), file=sys.stderr)
|
||||||
|
if embed_dependencies and key in cffi_dependencies:
|
||||||
|
+ print("Nixpkgs: skipping fetching/building dependency", key)
|
||||||
|
+ elif False:
|
||||||
|
status, stdout, stderr = _build_dependency(key)
|
||||||
|
if status != 0:
|
||||||
|
failures.append((key, module))
|
12
third_party/nixpkgs/pkgs/development/interpreters/python/pypy/sqlite_paths.patch
vendored
Normal file
12
third_party/nixpkgs/pkgs/development/interpreters/python/pypy/sqlite_paths.patch
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff -ur a/lib_pypy/_sqlite3_build.py b/lib_pypy/_sqlite3_build.py
|
||||||
|
--- a/lib_pypy/_sqlite3_build.py 2021-04-12 01:11:48.000000000 -0400
|
||||||
|
+++ b/lib_pypy/_sqlite3_build.py 2021-07-14 18:08:33.000000000 -0400
|
||||||
|
@@ -301,6 +301,8 @@
|
||||||
|
else:
|
||||||
|
extra_args = dict(
|
||||||
|
libraries=libraries,
|
||||||
|
+ include_dirs=['@dev@/include'],
|
||||||
|
+ library_dirs=['@out@/lib']
|
||||||
|
)
|
||||||
|
|
||||||
|
SOURCE = """
|
|
@ -12,7 +12,7 @@ let
|
||||||
opString = lib.optionalString;
|
opString = lib.optionalString;
|
||||||
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
|
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
|
||||||
config = import ./config.nix { inherit fetchFromSavannah; };
|
config = import ./config.nix { inherit fetchFromSavannah; };
|
||||||
rubygems = import ./rubygems { inherit stdenv lib fetchurl fetchpatch; };
|
rubygems = import ./rubygems { inherit stdenv lib fetchurl; };
|
||||||
|
|
||||||
# Contains the ruby version heuristics
|
# Contains the ruby version heuristics
|
||||||
rubyVersion = import ./ruby-version.nix { inherit lib; };
|
rubyVersion = import ./ruby-version.nix { inherit lib; };
|
||||||
|
|
|
@ -1,24 +1,18 @@
|
||||||
{ stdenv, lib, fetchurl, fetchpatch }:
|
{ stdenv, lib, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rubygems";
|
name = "rubygems";
|
||||||
version = "3.2.16";
|
version = "3.2.24";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://rubygems.org/rubygems/rubygems-${version}.tgz";
|
url = "https://rubygems.org/rubygems/rubygems-${version}.tgz";
|
||||||
sha256 = "1bpn45hchcbirqvqwxcxyk1xy2xkdd915jci2hfjq4y6zc4idns0";
|
sha256 = "09ff830a043y6s7390hsg3k55ffpifb1zsvs0dhz8z8pypwgiscl";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./0001-add-post-extract-hook.patch
|
./0001-add-post-extract-hook.patch
|
||||||
./0002-binaries-with-env-shebang.patch
|
./0002-binaries-with-env-shebang.patch
|
||||||
./0003-gem-install-default-to-user.patch
|
./0003-gem-install-default-to-user.patch
|
||||||
# Ensure tmp directory are not left behind
|
|
||||||
# https://github.com/rubygems/rubygems/pull/4610
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/rubygems/rubygems/commit/2c2ffde6e4a9f7f571d38af687034fb8507a833d.patch";
|
|
||||||
sha256 = "sha256-bs2dXALKiJvMgk7lKjMx0NzGqlEqDYBBO35UrzNifms=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "standard-library";
|
pname = "standard-library";
|
||||||
version = "1.6";
|
version = "1.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "agda-stdlib";
|
repo = "agda-stdlib";
|
||||||
owner = "agda";
|
owner = "agda";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1smvnid7r1mc4lp34pfrbzgzrcl0gmw0dlkga8z0r3g2zhj98lz1";
|
sha256 = "14h3jprm6924g9576v25axn9v6xnip354hvpzlcqsc5qqyj7zzjs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
|
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
|
||||||
|
@ -16,7 +16,7 @@ mkDerivation rec {
|
||||||
runhaskell GenerateEverything.hs
|
runhaskell GenerateEverything.hs
|
||||||
# We will only build/consider Everything.agda, in particular we don't want Everything*.agda
|
# We will only build/consider Everything.agda, in particular we don't want Everything*.agda
|
||||||
# do be copied to the store.
|
# do be copied to the store.
|
||||||
rm EverythingSafe.agda EverythingSafeGuardedness.agda EverythingSafeSizedTypes.agda
|
rm EverythingSafe.agda
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) agda; };
|
passthru.tests = { inherit (nixosTests) agda; };
|
||||||
|
|
|
@ -33,7 +33,11 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
patchFlags = lib.optional stdenv.hostPlatform.isDarwin "-p0";
|
patchFlags = lib.optional stdenv.hostPlatform.isDarwin "-p0";
|
||||||
|
|
||||||
preConfigure = lib.optionalString stdenv.hostPlatform.isLinux "export CFLAGS='-fgnu89-inline'";
|
# For currently unknown reason, `-fPIC` has to be passed explicitly, otherwise
|
||||||
|
# downstream software like `elfutils` will get `recompile errors like:
|
||||||
|
# libargp.a(argp-help.o): relocation R_X86_64_PC32 against symbol `program_invocation_short_name' can not be used when making a shared object; recompile with -fPIC
|
||||||
|
# It seems that nixpkgs's on-by-default `-fPIC` is not in effect here.
|
||||||
|
preConfigure = lib.optionalString stdenv.hostPlatform.isLinux "export CFLAGS='-fgnu89-inline -fPIC'";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/lib $out/include
|
mkdir -p $out/lib $out/include
|
||||||
|
|
|
@ -10,17 +10,17 @@
|
||||||
# reference: https://boringssl.googlesource.com/boringssl/+/2661/BUILDING.md
|
# reference: https://boringssl.googlesource.com/boringssl/+/2661/BUILDING.md
|
||||||
buildGoModule {
|
buildGoModule {
|
||||||
pname = "boringssl";
|
pname = "boringssl";
|
||||||
version = "2021-04-18";
|
version = "2021-07-09";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://boringssl.googlesource.com/boringssl";
|
url = "https://boringssl.googlesource.com/boringssl";
|
||||||
rev = "468cde90ca58421d63f4dfeaebcf8bb3fccb4127";
|
rev = "268a4a6ff3bd656ae65fe41ef1185daa85cfae21";
|
||||||
sha256 = "0gaqcbvp6r5fq265mckmg0i0rjab0bhxkxcvfxp3ar5dm7q88w39";
|
sha256 = "04fja4fdwhc69clmvg8i12zm6ks3sfl3r8i5bxn4x63b9dj5znlx";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ninja perl ];
|
nativeBuildInputs = [ cmake ninja perl ];
|
||||||
|
|
||||||
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
vendorSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
|
||||||
|
|
||||||
# hack to get both go and cmake configure phase
|
# hack to get both go and cmake configure phase
|
||||||
# (if we use postConfigure then cmake will loop runHook postConfigure)
|
# (if we use postConfigure then cmake will loop runHook postConfigure)
|
||||||
|
|
|
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Denable-test=false"
|
"-Denable-test=false"
|
||||||
|
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||||
|
"-Ddisable-introspection=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
|
@ -220,6 +220,7 @@ self = stdenv.mkDerivation {
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit libdrm;
|
inherit libdrm;
|
||||||
inherit (libglvnd) driverLink;
|
inherit (libglvnd) driverLink;
|
||||||
|
inherit llvmPackages;
|
||||||
|
|
||||||
tests.devDoesNotDependOnLLVM = stdenv.mkDerivation {
|
tests.devDoesNotDependOnLLVM = stdenv.mkDerivation {
|
||||||
name = "mesa-dev-does-not-depend-on-llvm";
|
name = "mesa-dev-does-not-depend-on-llvm";
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wcslib";
|
pname = "wcslib";
|
||||||
version = "7.6";
|
version = "7.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.atnf.csiro.au/pub/software/wcslib/${pname}-${version}.tar.bz2";
|
url = "ftp://ftp.atnf.csiro.au/pub/software/wcslib/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "sha256-VLuMkhZ6fxP4qnP8S4oJeFJW0smCE0Z968eigqQxMYs=";
|
sha256 = "sha256-pwjmtOkOLNZCdDRxW1kbucPUAFyZcl7ElLjgvtLeU1U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ flex ];
|
nativeBuildInputs = [ flex ];
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wolfssl";
|
pname = "wolfssl";
|
||||||
version = "4.7.0";
|
version = "4.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wolfSSL";
|
owner = "wolfSSL";
|
||||||
repo = "wolfssl";
|
repo = "wolfssl";
|
||||||
rev = "v${version}-stable";
|
rev = "v${version}-stable";
|
||||||
sha256 = "1aa51j0xnhi49izc8djya68l70jkjv25559pgybfb9sa4fa4gz97";
|
sha256 = "1w9gs9cq2yhj5s3diz3x1l15pgrc1pbm00jccizvcjyibmwyyf2h";
|
||||||
};
|
};
|
||||||
|
|
||||||
# almost same as Debian but for now using --enable-all --enable-reproducible-build instead of --enable-distro to ensure options.h gets installed
|
# almost same as Debian but for now using --enable-all --enable-reproducible-build instead of --enable-distro to ensure options.h gets installed
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
{ lib, stdenv, fetchurl, automake, autoconf }:
|
{ lib, stdenv, fetchurl, automake, autoconf }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "2.0.0";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "avr-libc";
|
pname = "avr-libc";
|
||||||
inherit version;
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2";
|
url = "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2";
|
||||||
|
|
|
@ -9,14 +9,10 @@
|
||||||
"OMNINXT" # 3.4.0-rc4: has not specified a valid STM group, must be one of F1, F3, F405, F411 or F7x5. Have you prepared a valid target.mk?
|
"OMNINXT" # 3.4.0-rc4: has not specified a valid STM group, must be one of F1, F3, F405, F411 or F7x5. Have you prepared a valid target.mk?
|
||||||
]}:
|
]}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
version = "3.4.0-rc4";
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
|
|
||||||
pname = "betaflight";
|
pname = "betaflight";
|
||||||
inherit version;
|
version = "3.4.0-rc4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "betaflight";
|
owner = "betaflight";
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
, gcc-arm-embedded, binutils-arm-embedded, ruby
|
, gcc-arm-embedded, binutils-arm-embedded, ruby
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
version = "2.0.0-rc2";
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
|
|
||||||
pname = "inav";
|
pname = "inav";
|
||||||
inherit version;
|
version = "2.0.0-rc2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "iNavFlight";
|
owner = "iNavFlight";
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, coreutils, cpio, findutils, gzip, makeWrapper, util-linux }:
|
{ lib, stdenv, fetchFromGitHub, coreutils, cpio, findutils, gzip, makeWrapper, util-linux }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "0.6";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "abootimg";
|
pname = "abootimg";
|
||||||
inherit version;
|
version = "0.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ggrandou";
|
owner = "ggrandou";
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "adafruit-platformdetect";
|
pname = "adafruit-platformdetect";
|
||||||
version = "3.15.1";
|
version = "3.15.3";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "Adafruit-PlatformDetect";
|
pname = "Adafruit-PlatformDetect";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "sha256-aUYerhg5iqKsZ5SW3dI6EpFnaB7dRGjXpIDVsjwS7vY=";
|
sha256 = "sha256-cmeCh54dwYwbL1AwGrPwTDp4F6VONclV7iu2Sm1g33Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "beniget";
|
pname = "beniget";
|
||||||
version = "0.3.0";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "062c893be9cdf87c3144fb15041cce4d81c67107c1591952cd45fdce789a0ff1";
|
sha256 = "72bbd47b1ae93690f5fb2ad3902ce1ae61dcd868ce6cfbf33e9bad71f9ed8749";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
49
third_party/nixpkgs/pkgs/development/python-modules/blocksat-cli/default.nix
vendored
Normal file
49
third_party/nixpkgs/pkgs/development/python-modules/blocksat-cli/default.nix
vendored
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, lib
|
||||||
|
, distro
|
||||||
|
, pysnmp
|
||||||
|
, python-gnupg
|
||||||
|
, qrcode
|
||||||
|
, requests
|
||||||
|
, sseclient-py
|
||||||
|
, zfec
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "blocksat-cli";
|
||||||
|
version = "0.3.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "06ky5kahh8dm1d7ckid3fdwizvkh3g4aycm39r00kwxdlfca7bgf";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
distro
|
||||||
|
pysnmp
|
||||||
|
python-gnupg
|
||||||
|
qrcode
|
||||||
|
requests
|
||||||
|
sseclient-py
|
||||||
|
zfec
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
# disable tests which require being connected to the satellite
|
||||||
|
"--ignore=blocksatcli/test_satip.py"
|
||||||
|
"--ignore=blocksatcli/api/test_net.py"
|
||||||
|
# disable tests which require being online
|
||||||
|
"--ignore=blocksatcli/api/test_order.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Blockstream Satellite CLI";
|
||||||
|
homepage = "https://github.com/Blockstream/satellite";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ prusnak ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, filelock
|
, filelock
|
||||||
, flit-core
|
, flit-core
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
|
@ -8,6 +8,7 @@
|
||||||
, packaging
|
, packaging
|
||||||
, pep517
|
, pep517
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
|
, pytest-rerunfailures
|
||||||
, pytest-xdist
|
, pytest-xdist
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
@ -17,13 +18,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "build";
|
pname = "build";
|
||||||
version = "0.3.0";
|
version = "0.5.1";
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "pypa";
|
||||||
sha256 = "sha256-DrlbLI13DXxMm5LGjCJ8NQu/ZfPsg1UazpCXwYzBX90=";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "15hc9mbxsngfc9n805x8rk7yqbxnw12mpk6hfwcsldnfii1vg2ph";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -42,20 +44,18 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
filelock
|
filelock
|
||||||
pytestCheckHook
|
|
||||||
pytest-mock
|
pytest-mock
|
||||||
|
pytest-rerunfailures
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_isolation"
|
"test_isolation"
|
||||||
"test_isolated_environment_install"
|
"test_isolated_environment_install"
|
||||||
"test_default_pip_is_never_too_old"
|
"test_default_pip_is_never_too_old"
|
||||||
"test_build_isolated - StopIteration"
|
"test_build"
|
||||||
"test_build_raises_build_exception"
|
"test_init"
|
||||||
"test_build_raises_build_backend_exception"
|
|
||||||
"test_projectbuilder.py"
|
|
||||||
"test_projectbuilder.py"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "build" ];
|
pythonImportsCheck = [ "build" ];
|
||||||
|
|
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||||
owner = "fitnr";
|
owner = "fitnr";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1xgi7x9b9kxm0q51bqnmwdm5lp8vwhx5yk4d1b23r37spz9dbhw5";
|
sha256 = "07x1j6jgkmrzdpv2lhpp4n16621mpmlylvwdwsggdjivhzvc3x9q";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
28
third_party/nixpkgs/pkgs/development/python-modules/editables/default.nix
vendored
Normal file
28
third_party/nixpkgs/pkgs/development/python-modules/editables/default.nix
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "editables";
|
||||||
|
version = "0.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "6918f16225258f24ef9800c2327e14eded42ddac344e77982380749464024f35";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
# Tests not included in archive.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Editable installations";
|
||||||
|
homepage = https://github.com/pfmoore/editables;
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
37
third_party/nixpkgs/pkgs/development/python-modules/ev3dev2/default.nix
vendored
Normal file
37
third_party/nixpkgs/pkgs/development/python-modules/ev3dev2/default.nix
vendored
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, python
|
||||||
|
, pillow
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ev3dev2";
|
||||||
|
version = "2.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ev3dev";
|
||||||
|
repo = "ev3dev-lang-python";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "XxsiQs3k5xKb+3RewARbvBbxaztdvdq3w5ZMgTq+kRc=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
echo "${version}\n" > RELEASE-VERSION
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pillow ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
chmod -R g+rw ./tests/fake-sys/devices/**/*
|
||||||
|
${python.interpreter} -W ignore::ResourceWarning tests/api_tests.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python language bindings for ev3dev";
|
||||||
|
homepage = "https://github.com/ev3dev/ev3dev-lang-python";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ angustrau ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "gast";
|
pname = "gast";
|
||||||
version = "0.4.0";
|
version = "0.5.0";
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1";
|
sha256 = "8109cbe7aa0f7bf7e4348379da05b8137ea1f059f073332c3c1cedd57db8541f";
|
||||||
};
|
};
|
||||||
checkInputs = [ astunparse ] ;
|
checkInputs = [ astunparse ] ;
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -14,14 +14,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "liquidctl";
|
pname = "liquidctl";
|
||||||
version = "1.7.0";
|
version = "1.7.1";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-tpk8wCKyrj3dOkBxj9UWcyrAb31uKtl2fRwwh7dAQGE=";
|
sha256 = "sha256-TNDQV1BOVVdvr0XAyWGcwgMbe4mV7J05hQeKVUqVT9s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, intreehooks
|
, intreehooks
|
||||||
, pytoml
|
, toml
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -12,17 +12,15 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mesonpep517";
|
pname = "mesonpep517";
|
||||||
version = "0.1.9999994";
|
version = "0.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "b5bcca61024164c4a51d29e6921ea1f756d54197c8f052e4c66a2b8399aa9349";
|
sha256 = "sha256-Fyo7JfLqHJqbahEjVDt/0xJxOfVLqLn3xNJ4lSB7KIw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ intreehooks ];
|
propagatedBuildInputs = [ toml ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ pytoml ];
|
|
||||||
|
|
||||||
# postPatch = ''
|
# postPatch = ''
|
||||||
# # Meson tries to detect ninja as well, so we should patch meson as well.
|
# # Meson tries to detect ninja as well, so we should patch meson as well.
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nix-prefetch-github";
|
pname = "nix-prefetch-github";
|
||||||
version = "4.0.3";
|
version = "4.0.4";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||||
owner = "seppeljordan";
|
owner = "seppeljordan";
|
||||||
repo = "nix-prefetch-github";
|
repo = "nix-prefetch-github";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "CLcmwobPrL6NiI/nw+/Dwho/r15owV16Jmt5OcfFqvo=";
|
sha256 = "g5G818Gq5EGyRIyg/ZW7guxMS0IyJ4nYaRjG/CtGhuc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -1,22 +1,23 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy27
|
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
, pkgs
|
, pkgs
|
||||||
|
, coreutils
|
||||||
|
, which
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "2.0.3";
|
version = "2.0.3";
|
||||||
pname = "pync";
|
pname = "pync";
|
||||||
disabled = ! isPy27;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "38b9e61735a3161f9211a5773c5f5ea698f36af4ff7f77fa03e8d1ff0caa117f";
|
sha256 = "38b9e61735a3161f9211a5773c5f5ea698f36af4ff7f77fa03e8d1ff0caa117f";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgs.coreutils ];
|
nativeBuildInputs = [ coreutils ];
|
||||||
|
checkInputs = [ which ];
|
||||||
propagatedBuildInputs = [ python-dateutil ];
|
propagatedBuildInputs = [ python-dateutil ];
|
||||||
|
|
||||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
|
@ -25,7 +26,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python Wrapper for Mac OS 10.8 Notification Center";
|
description = "Python Wrapper for Mac OS 10.8 Notification Center";
|
||||||
homepage = "https://pypi.python.org/pypi/pync/1.4";
|
homepage = "https://pypi.python.org/pypi/pync";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.darwin;
|
platforms = platforms.darwin;
|
||||||
maintainers = with maintainers; [ lovek323 ];
|
maintainers = with maintainers; [ lovek323 ];
|
||||||
|
|
64
third_party/nixpkgs/pkgs/development/python-modules/pythran/0001-hardcode-path-to-libgomp.patch
vendored
Normal file
64
third_party/nixpkgs/pkgs/development/python-modules/pythran/0001-hardcode-path-to-libgomp.patch
vendored
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
From 208fe98f10c580a5a2fb6a8cfdd56de109073925 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Frederik Rietdijk <fridh@fridh.nl>
|
||||||
|
Date: Sat, 17 Jul 2021 18:36:27 +0200
|
||||||
|
Subject: [PATCH] hardcode path to libgomp
|
||||||
|
|
||||||
|
---
|
||||||
|
omp/__init__.py | 40 ++++------------------------------------
|
||||||
|
1 file changed, 4 insertions(+), 36 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/omp/__init__.py b/omp/__init__.py
|
||||||
|
index bddae3063..9ba3678d8 100644
|
||||||
|
--- a/omp/__init__.py
|
||||||
|
+++ b/omp/__init__.py
|
||||||
|
@@ -69,43 +69,11 @@ class OpenMP(object):
|
||||||
|
|
||||||
|
def init_not_msvc(self):
|
||||||
|
""" Find OpenMP library and try to load if using ctype interface. """
|
||||||
|
- # find_library() does not search automatically LD_LIBRARY_PATH
|
||||||
|
- paths = os.environ.get('LD_LIBRARY_PATH', '').split(':')
|
||||||
|
+ libgomp_path = "@gomp@"
|
||||||
|
|
||||||
|
- for libomp_name in self.get_libomp_names():
|
||||||
|
- if cxx is None or sys.platform == 'win32':
|
||||||
|
- # Note: Clang supports -print-file-name, but not yet for
|
||||||
|
- # clang-cl as of v12.0.0 (April '21)
|
||||||
|
- continue
|
||||||
|
-
|
||||||
|
- cmd = [cxx, '-print-file-name=' + libomp_name]
|
||||||
|
- # the subprocess can fail in various ways in that case just give up
|
||||||
|
- try:
|
||||||
|
- path = os.path.dirname(check_output(cmd).decode().strip())
|
||||||
|
- if path:
|
||||||
|
- paths.append(path)
|
||||||
|
- except (OSError, CalledProcessError):
|
||||||
|
- pass
|
||||||
|
-
|
||||||
|
- # Try to load find libgomp shared library using loader search dirs
|
||||||
|
- libgomp_path = find_library("gomp")
|
||||||
|
-
|
||||||
|
- # Try to use custom paths if lookup failed
|
||||||
|
- for path in paths:
|
||||||
|
- if libgomp_path:
|
||||||
|
- break
|
||||||
|
- path = path.strip()
|
||||||
|
- if os.path.isdir(path):
|
||||||
|
- libgomp_path = find_library(os.path.join(str(path), "libgomp"))
|
||||||
|
-
|
||||||
|
- if not libgomp_path:
|
||||||
|
- raise ImportError("I can't find a shared library for libgomp,"
|
||||||
|
- " you may need to install it or adjust the "
|
||||||
|
- "LD_LIBRARY_PATH environment variable.")
|
||||||
|
- else:
|
||||||
|
- # Load the library (shouldn't fail with an absolute path right?)
|
||||||
|
- self.libomp = ctypes.CDLL(libgomp_path)
|
||||||
|
- self.version = 45
|
||||||
|
+ # Load the library (shouldn't fail with an absolute path right?)
|
||||||
|
+ self.libomp = ctypes.CDLL(libgomp_path)
|
||||||
|
+ self.version = 45
|
||||||
|
|
||||||
|
def __getattr__(self, name):
|
||||||
|
"""
|
||||||
|
--
|
||||||
|
2.32.0
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, python
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
|
@ -12,19 +13,31 @@
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, scipy
|
, scipy
|
||||||
, isPy3k
|
, isPy3k
|
||||||
|
, substituteAll
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
let
|
||||||
|
inherit (python) stdenv;
|
||||||
|
|
||||||
|
in buildPythonPackage rec {
|
||||||
pname = "pythran";
|
pname = "pythran";
|
||||||
version = "0.9.8post3";
|
version = "0.9.12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "serge-sans-paille";
|
owner = "serge-sans-paille";
|
||||||
repo = "pythran";
|
repo = "pythran";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-GCWjJlf7zpFzELR6wTF8FoJzJ3F/WdT1hHjY5A5h/+4=";
|
sha256 = "sha256-lQbVq4K/Q8RzlFhE+l3HPCmUGmauXawcKe31kfbUHsI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Hardcode path to mp library
|
||||||
|
(substituteAll {
|
||||||
|
src = ./0001-hardcode-path-to-libgomp.patch;
|
||||||
|
gomp = "${stdenv.cc.cc.lib}/lib/libgomp${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pytestrunner
|
pytestrunner
|
||||||
];
|
];
|
||||||
|
@ -62,7 +75,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Ahead of Time compiler for numeric kernels";
|
description = "Ahead of Time compiler for numeric kernels";
|
||||||
homepage = https://github.com/serge-sans-paille/pythran;
|
homepage = "https://github.com/serge-sans-paille/pythran";
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptoolsDarcs
|
|
||||||
, setuptoolsTrial
|
|
||||||
, simplejson
|
, simplejson
|
||||||
|
, mock
|
||||||
, twisted
|
, twisted
|
||||||
, isPyPy
|
, isPyPy
|
||||||
}:
|
}:
|
||||||
|
@ -17,12 +16,9 @@ buildPythonPackage rec {
|
||||||
sha256 = "8c4d4bf668c559186389bb9bce99e4b1b871c09ba252a756ccaacd2b8f401848";
|
sha256 = "8c4d4bf668c559186389bb9bce99e4b1b871c09ba252a756ccaacd2b8f401848";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ setuptoolsDarcs setuptoolsTrial ] ++ (if doCheck then [ simplejson ] else []);
|
propagatedBuildInputs = [ simplejson ];
|
||||||
propagatedBuildInputs = [ twisted ];
|
|
||||||
|
|
||||||
# Tests fail because they try to write new code into the twisted
|
checkInputs = [ mock twisted ];
|
||||||
# package, apparently some kind of plugin.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
prePatch = lib.optionalString isPyPy ''
|
prePatch = lib.optionalString isPyPy ''
|
||||||
grep -rl 'utf-8-with-signature-unix' ./ | xargs sed -i -e "s|utf-8-with-signature-unix|utf-8|g"
|
grep -rl 'utf-8-with-signature-unix' ./ | xargs sed -i -e "s|utf-8-with-signature-unix|utf-8|g"
|
||||||
|
@ -41,8 +37,9 @@ buildPythonPackage rec {
|
||||||
we're not alone in wanting tools like these.
|
we're not alone in wanting tools like these.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homepage = "http://allmydata.org/trac/pyutil";
|
homepage = "https://github.com/tpltnt/pyutil";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = with maintainers; [ prusnak ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "requests-cache";
|
pname = "requests-cache";
|
||||||
version = "0.7.0";
|
version = "0.7.1";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||||
owner = "reclosedev";
|
owner = "reclosedev";
|
||||||
repo = "requests-cache";
|
repo = "requests-cache";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-P7JzImidUXOD4DUMdfy3sgM5RISti23wNnLwDHPoiTA=";
|
sha256 = "sha256-Ai/8l2p3S/NE+uyz3eQ+rJSD/xYCsXf89aYijINQ18I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "skytemple-dtef";
|
pname = "skytemple-dtef";
|
||||||
version = "1.1.3";
|
version = "1.1.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "SkyTemple";
|
owner = "SkyTemple";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0hisg7gq6ph0as9vvx2p1h104bn6x2kx8y477p9zcqc71f3yrx82";
|
sha256 = "0l2b66z5ngyas3ijbzwz2wizw46kz47f8jr729pzbg4wbqbqjihr";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ skytemple-files ];
|
propagatedBuildInputs = [ skytemple-files ];
|
||||||
|
|
|
@ -12,14 +12,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "subarulink";
|
pname = "subarulink";
|
||||||
version = "0.3.13";
|
version = "0.3.14";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "G-Two";
|
owner = "G-Two";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "subaru-v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0dqbb1iiil1vn97zxnpphn63bl8z0ibgyca90ynx958cy78kys0g";
|
sha256 = "0xwiw50xc0k8r00k33crsl5wb01n2dz5rzhy96y7vr3zj4kfypsp";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -16,14 +16,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "yalexs";
|
pname = "yalexs";
|
||||||
version = "1.1.11";
|
version = "1.1.12";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bdraco";
|
owner = "bdraco";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-fVUYrzIcW4jbxdhS/Bh8eu+aJPFOqj0LXjoQKw+FZdg=";
|
sha256 = "sha256-J7jh8FufGQzYbVhdOPbIpZCjfWZV6oOShy82QXL82b4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptoolsDarcs
|
|
||||||
, pyutil
|
, pyutil
|
||||||
|
, setuptoolsTrial
|
||||||
|
, twisted
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -14,16 +15,17 @@ buildPythonPackage rec {
|
||||||
sha256 = "6033b2f3cc3edacf3f7eeed5f258c1ebf8a1d7e5e35b623db352512ce564e5ca";
|
sha256 = "6033b2f3cc3edacf3f7eeed5f258c1ebf8a1d7e5e35b623db352512ce564e5ca";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ setuptoolsDarcs ];
|
|
||||||
propagatedBuildInputs = [ pyutil ];
|
propagatedBuildInputs = [ pyutil ];
|
||||||
|
|
||||||
|
checkInputs = [ setuptoolsTrial twisted ];
|
||||||
|
|
||||||
# argparse is in the stdlib but zfec doesn't know that.
|
# argparse is in the stdlib but zfec doesn't know that.
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i -e '/argparse/d' setup.py
|
sed -i -e '/argparse/d' setup.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://allmydata.org/trac/zfec";
|
homepage = "https://github.com/tahoe-lafs/zfec";
|
||||||
description = "Zfec, a fast erasure codec which can be used with the command-line, C, Python, or Haskell";
|
description = "Zfec, a fast erasure codec which can be used with the command-line, C, Python, or Haskell";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Fast, portable, programmable erasure coding a.k.a. "forward
|
Fast, portable, programmable erasure coding a.k.a. "forward
|
||||||
|
@ -34,6 +36,7 @@ buildPythonPackage rec {
|
||||||
and Haskell API.
|
and Haskell API.
|
||||||
'';
|
'';
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = with maintainers; [ prusnak ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -242,7 +242,10 @@ stdenv.mkDerivation ((builtins.removeAttrs attrs ["source"]) // {
|
||||||
propagatedUserEnvPkgs = gemPath ++ propagatedUserEnvPkgs;
|
propagatedUserEnvPkgs = gemPath ++ propagatedUserEnvPkgs;
|
||||||
|
|
||||||
passthru = passthru // { isRubyGem = true; };
|
passthru = passthru // { isRubyGem = true; };
|
||||||
inherit meta;
|
meta = {
|
||||||
|
# default to Ruby's platforms
|
||||||
|
platforms = ruby.meta.platforms;
|
||||||
|
} // meta;
|
||||||
})
|
})
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -86,6 +86,5 @@ stdenv.mkDerivation rec {
|
||||||
license = lib.licenses.gpl2Plus;
|
license = lib.licenses.gpl2Plus;
|
||||||
maintainers = with lib.maintainers; [ raskin makefu mic92 ];
|
maintainers = with lib.maintainers; [ raskin makefu mic92 ];
|
||||||
platforms = with lib.platforms; linux;
|
platforms = with lib.platforms; linux;
|
||||||
inherit version;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "tfsec";
|
pname = "tfsec";
|
||||||
version = "0.48.2";
|
version = "0.48.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aquasecurity";
|
owner = "aquasecurity";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ZJHm+shCbyM2cyLW5ZgrqLMwnnvp7IOHI5+Ta2gdaNQ=";
|
sha256 = "sha256-8OOi2YWxn50iXdH5rqxZ2/qIlS6JX/7P3HMaPpnBH6I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
goPackagePath = "github.com/aquasecurity/tfsec";
|
goPackagePath = "github.com/aquasecurity/tfsec";
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
|
{ lib, stdenv, fetchurl, guileSupport ? false, pkg-config, guile }:
|
||||||
|
|
||||||
assert guileSupport -> ( pkg-config != null && guile != null );
|
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.3";
|
version = "4.3";
|
||||||
|
|
|
@ -14,13 +14,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "buildah";
|
pname = "buildah";
|
||||||
version = "1.21.2";
|
version = "1.21.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "containers";
|
owner = "containers";
|
||||||
repo = "buildah";
|
repo = "buildah";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-9AYFC10AYbt/qHj5hfuLRxUwibizKk4n9rgtd5RBEQg=";
|
sha256 = "sha256-f39UXQXUje6j8bRWVaX9ELCwO1vaeNuGnlmPhyyVoV8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
|
@ -4,13 +4,13 @@ with lib;
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "butane";
|
pname = "butane";
|
||||||
version = "0.12.1";
|
version = "0.13.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "coreos";
|
owner = "coreos";
|
||||||
repo = "butane";
|
repo = "butane";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1bgh7h3hwrgjkw72233qzqpkshzbizhdapa0lalzj1xnclq3rqlp";
|
sha256 = "0z1cq43dnj73k0idjhc310h00a1mryk2297w3yy6k1sa95swlz9m";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
|
|
@ -10,11 +10,11 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "liquibase";
|
pname = "liquibase";
|
||||||
version = "4.4.0";
|
version = "4.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/liquibase/liquibase/releases/download/v${version}/${pname}-${version}.tar.gz";
|
url = "https://github.com/liquibase/liquibase/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-iqWQAZV1H3p9Ud+6U2RwIpfFlsu+7SE96Abh3u8CCVs=";
|
sha256 = "sha256-2Y/eRIkskuk+7GC/br178XzWTnP4iXSFfa5ybLjvqDA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gopls";
|
pname = "gopls";
|
||||||
version = "0.6.10";
|
version = "0.7.0";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
rev = "gopls/v${version}";
|
rev = "gopls/v${version}";
|
||||||
url = "https://go.googlesource.com/tools";
|
url = "https://go.googlesource.com/tools";
|
||||||
sha256 = "13mv6rvqlmgn1shx0hnlqxgqiiiz1ij37j30jz1jkr9kcrbxpacr";
|
sha256 = "0vylrsmpszij23yngk7mfysp8rjbf29nyskbrwwysf63r9xbrwbi";
|
||||||
};
|
};
|
||||||
|
|
||||||
modRoot = "gopls";
|
modRoot = "gopls";
|
||||||
vendorSha256 = "01apsvkds8f3m88inb37z4lgalrbjp12xr2jikwx7n10hjddgbqi";
|
vendorSha256 = "1mnc84nvl7zhl4pzf90cd0gvid9g1jph6hcxk6lrlnfk2j2m75mj";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
30
third_party/nixpkgs/pkgs/development/tools/misc/debugedit/default.nix
vendored
Normal file
30
third_party/nixpkgs/pkgs/development/tools/misc/debugedit/default.nix
vendored
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
#TODO@deliciouslytyped The tool seems to unnecessarily force mutable access for the debugedit `-l` feature
|
||||||
|
{fetchgit, lib, stdenv, autoreconfHook, pkg-config, elfutils, help2man, util-linux}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "debugedit";
|
||||||
|
version = "unstable-2021-07-05";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook pkg-config help2man ];
|
||||||
|
buildInputs = [ elfutils ];
|
||||||
|
checkInputs = [ util-linux ]; # Tests use `rev`
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "git://sourceware.org/git/debugedit.git";
|
||||||
|
rev = "e04296ddf34cbc43303d7af32ab3a73ac20af51a";
|
||||||
|
sha256 = "19cjkpzhdn2z6fl7xw8556m6kyrb7nxwbz2rmiv2rynyp74yg44z";
|
||||||
|
};
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
patchShebangs scripts/find-debuginfo.in
|
||||||
|
'';
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Provides programs and scripts for creating debuginfo and source file distributions, collect build-ids and rewrite source paths in DWARF data for debugging, tracing and profiling";
|
||||||
|
homepage = "https://sourceware.org/debugedit/";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ deliciouslytyped ];
|
||||||
|
};
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue