Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d3082a31cd00
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9f11766df5b9
Choose a head ref
  • 9 commits
  • 7 files changed
  • 8 contributors

Commits on Apr 6, 2020

  1. Copy the full SHA
    2c09a26 View commit details

Commits on Apr 7, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    lsix lsix
    Copy the full SHA
    f6540c8 View commit details

Commits on May 23, 2020

  1. idris2: init at version 0.2.0-840e020

    A purely functional programming language with first class types
    wchresta committed May 23, 2020
    Copy the full SHA
    074c9cb View commit details

Commits on May 26, 2020

  1. Copy the full SHA
    9d33cb4 View commit details
  2. nnn: 3.1 -> 3.2

    sikmir committed May 26, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    sikmir Nikolay Korotkiy
    Copy the full SHA
    336db1f View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f76f13b View commit details
  4. Merge pull request #84515 from doronbehar/improve-ecryptfs

    ecryptfs: enable building without python2 support
    Mic92 authored May 26, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fcea61d View commit details
  5. Merge pull request #88918 from sikmir/nnn

    nnn: 3.1 -> 3.2
    Br1ght0ne authored May 26, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a454940 View commit details
  6. Merge pull request #84606 from lsix/nano-4.9.2

    nano: 4.9.1 -> 4.9.2
    lsix authored May 26, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9f11766 View commit details
4 changes: 2 additions & 2 deletions pkgs/applications/editors/nano/default.nix
Original file line number Diff line number Diff line change
@@ -20,11 +20,11 @@ let

in stdenv.mkDerivation rec {
pname = "nano";
version = "4.9.1";
version = "4.9.2";

src = fetchurl {
url = "mirror://gnu/nano/${pname}-${version}.tar.xz";
sha256 = "0v5s58j3lbg5s6gapl9kjmzph7zgwaam53qspycy2sxaxw65mkaj";
sha256 = "1xifbn1xaklrrf7knxvqif0hy0wgnas7w0wfggay5kifjkm5x8nq";
};

nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
4 changes: 2 additions & 2 deletions pkgs/applications/misc/nnn/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@ with stdenv.lib;

stdenv.mkDerivation rec {
pname = "nnn";
version = "3.1";
version = "3.2";

src = fetchFromGitHub {
owner = "jarun";
repo = pname;
rev = "v${version}";
sha256 = "0wvn3jbxjcpdg9jzxkhx5dlc0zx2idky6mb75fpha8ww1jg7qf1g";
sha256 = "13p3379c26l57121ymx0kw7afh51zv614p57di311d2a41jaz5cw";
};

configFile = optionalString (conf != null) (builtins.toFile "nnn.h" conf);
45 changes: 45 additions & 0 deletions pkgs/development/compilers/idris2/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{ stdenv, fetchFromGitHub, makeWrapper
, clang, chez
}:

# Uses scheme to bootstrap the build of idris2
stdenv.mkDerivation {
name = "idris2";
version = "0.2.0-840e020";

src = fetchFromGitHub {
owner = "idris-lang";
repo = "Idris2";
rev = "840e020d8ccc332135e86f855ad78053ca15d603";
sha256 = "1l6pdjiglwd13pf56xwzbjzyyxgz48ypfggjgsgqk2w57rmbfy90";
};

strictDeps = true;
nativeBuildInputs = [ makeWrapper clang chez ];
buildInputs = [ chez ];

prePatch = ''
patchShebangs --build tests
# Do not run tests as part of the build process
substituteInPlace bootstrap.sh --replace "make test" "# make test"
'';

makeFlags = [ "PREFIX=$(out)" ];

# The name of the main executable of pkgs.chez is `scheme`
buildFlags = [ "bootstrap" "SCHEME=scheme" ];

# idris2 needs to find scheme at runtime to compile
postInstall = ''
wrapProgram "$out/bin/idris2" --prefix PATH : "${chez}/bin"
'';

meta = {
description = "A purely functional programming language with first class types";
homepage = https://github.com/idris-lang/Idris2;
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ wchresta ];
};
}

27 changes: 27 additions & 0 deletions pkgs/development/ocaml-modules/curly/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib, buildDunePackage, fetchFromGitHub, ocaml
, result, alcotest, cohttp-lwt-unix, odoc, curl }:

buildDunePackage rec {
pname = "curly";
version = "unstable-2019-11-14";

minimumOCamlVersion = "4.02";

src = fetchFromGitHub {
owner = "rgrinberg";
repo = pname;
rev = "33a538c89ef8279d4591454a7f699a4183dde5d0";
sha256 = "10pxbvf5xrsajaxrccxh2lqhgp3yaf61z9w03rvb2mq44nc2dggz";
};

propagatedBuildInputs = [ result ];
checkInputs = [ alcotest cohttp-lwt-unix ];
# test dependencies are only available for >= 4.05
doCheck = lib.versionAtLeast ocaml.version "4.05";

postPatch = ''
substituteInPlace src/curly.ml \
--replace "exe=\"curl\"" "exe=\"${curl}/bin/curl\""
'';
}

13 changes: 10 additions & 3 deletions pkgs/tools/security/ecryptfs/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, perl, utillinux, keyutils, nss, nspr, python2, pam
{ stdenv, fetchurl, pkgconfig, perl, utillinux, keyutils, nss, nspr, python2, pam, enablePython ? false
, intltool, makeWrapper, coreutils, bash, gettext, cryptsetup, lvm2, rsync, which, lsof }:

stdenv.mkDerivation rec {
@@ -33,8 +33,15 @@ stdenv.mkDerivation rec {
done
'';

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ perl nss nspr python2 pam intltool makeWrapper ];
configureFlags = stdenv.lib.optionals (!enablePython) [ "--disable-pywrap" ];

nativeBuildInputs = [ pkgconfig ]
# if python2 support is requested, it is needed at builtime as well as runtime.
++ stdenv.lib.optionals (enablePython) [ python2 ]
;
buildInputs = [ perl nss nspr pam intltool makeWrapper ]
++ stdenv.lib.optionals (enablePython) [ python2 ]
;
propagatedBuildInputs = [ coreutils gettext cryptsetup lvm2 rsync keyutils which ];

postInstall = ''
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -8722,6 +8722,8 @@ in

idris = idrisPackages.with-packages [ idrisPackages.base ] ;

idris2 = callPackage ../development/compilers/idris2 { };

intel-graphics-compiler = callPackage ../development/compilers/intel-graphics-compiler { };

intercal = callPackage ../development/compilers/intercal { };
4 changes: 4 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
@@ -187,6 +187,10 @@ let

csv-lwt = callPackage ../development/ocaml-modules/csv/lwt.nix { };

curly = callPackage ../development/ocaml-modules/curly {
inherit (pkgs) curl;
};

curses = callPackage ../development/ocaml-modules/curses { };

custom_printf = callPackage ../development/ocaml-modules/custom_printf { };