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: 80906eb858ea
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: 9772ea03140d
Choose a head ref

Commits on Oct 16, 2018

  1. kde-frameworks: 5.50 -> 5.51

    bkchr committed Oct 16, 2018
    Copy the full SHA
    41e3946 View commit details

Commits on Oct 19, 2018

  1. ruby: 2.5.2 -> 2.5.3

    https://www.ruby-lang.org/en/news/2018/10/18/ruby-2-5-3-released/
    
    This release is just for fixing the packaging issue. This release doesn’t
    contain any additional bug fixes from 2.5.2.
    samueldr committed Oct 19, 2018
    Copy the full SHA
    87407bc View commit details

Commits on Oct 20, 2018

  1. factor-lang: 0.97 -> 0.98

    Much improved build with support for GUI libraries and FUEL, the emacs
    development environment.
    
    Also directs the work vocabulary to point to /var/lib/factor as a machine-local
    writable location. So, scaffolding should work as intended, now.
    spacefrogg committed Oct 20, 2018
    Copy the full SHA
    69cabf7 View commit details
  2. minishift: init at 1.25.0

    fpletz committed Oct 20, 2018
    Copy the full SHA
    c6b0976 View commit details
  3. todolist: 0.8 -> 0.8.1

    uvNikita committed Oct 20, 2018
    Copy the full SHA
    8659ff3 View commit details
  4. Copy the full SHA
    5653f3d View commit details
  5. Copy the full SHA
    5e58e97 View commit details
  6. Copy the full SHA
    b505418 View commit details
  7. Copy the full SHA
    b932a35 View commit details
  8. Merge pull request #48555 from bkchr/kde_frameworks_5_51

    kde-frameworks: 5.50 -> 5.51
    Thomas Tuegel authored Oct 20, 2018
    Copy the full SHA
    2285503 View commit details
  9. Copy the full SHA
    ff93048 View commit details
  10. Copy the full SHA
    d3ede3d View commit details
  11. Merge pull request #48742 from danieldk/spacy-update

    pythonPackages.spacy: 2.0.12 -> 2.0.16
    Mic92 authored Oct 20, 2018
    Copy the full SHA
    ef10c80 View commit details
  12. Copy the full SHA
    039fc37 View commit details
  13. Merge pull request #48741 from uvNikita/todolist/upgrade

    todolist: 0.8 -> 0.8.1
    timokau authored Oct 20, 2018
    Copy the full SHA
    0c79340 View commit details
  14. nixos/znc: Fix confOptions.uriPrefix not being applied

    This was overlooked on a rebase of mine on master, when I didn't realize
    that in the time of me writing the znc changes this new option got
    introduced.
    infinisil committed Oct 20, 2018
    Copy the full SHA
    1fa1bcb View commit details
  15. Copy the full SHA
    d0b9f95 View commit details
  16. Merge pull request #48756 from Infinisil/fix/znc-extraZncConf

    nixos/znc: Fix regressions introduced in #45470
    infinisil authored Oct 20, 2018
    Copy the full SHA
    2146c6d View commit details
  17. Merge pull request #48727 from spacefrogg/factor

    factor-lang: 0.97 -> 0.98
    joachifm authored Oct 20, 2018
    Copy the full SHA
    c39fa89 View commit details
  18. Copy the full SHA
    5d45de1 View commit details
  19. Copy the full SHA
    672ff7e View commit details
  20. Merge pull request #48758 from mayflower/pkg/docker-machine-kvm

     docker-machine-kvm: 0.8.2 -> 0.10.0, docker-machine-kvm2: use minikube source
    offlinehacker authored Oct 20, 2018
    Copy the full SHA
    c018b7c View commit details
  21. Merge pull request #48736 from mayflower/pkg/minishift

    minishift: init at 1.25.0
    offlinehacker authored Oct 20, 2018
    Copy the full SHA
    8ff3df3 View commit details
  22. Merge pull request #48693 from samueldr/ruby/2.5.3

    ruby: 2.5.2 -> 2.5.3
    Mic92 authored Oct 20, 2018
    Copy the full SHA
    9772ea0 View commit details
4 changes: 3 additions & 1 deletion nixos/modules/services/networking/znc/options.nix
Original file line number Diff line number Diff line change
@@ -239,6 +239,7 @@ in
IPv4 = mkDefault true;
IPv6 = mkDefault true;
SSL = mkDefault c.useSSL;
URIPrefix = c.uriPrefix;
};
User.${c.userName} = {
Admin = mkDefault true;
@@ -254,8 +255,9 @@ in
listToAttrs (map (n: nameValuePair "#${n}" (mkDefault {})) net.channels);
extraConfig = if net.extraConf == "" then mkDefault null else net.extraConf;
}) c.networks;
extraConfig = [ c.passBlock ] ++ optional (c.extraZncConf != "") c.extraZncConf;
extraConfig = [ c.passBlock ];
};
extraConfig = optional (c.extraZncConf != "") c.extraZncConf;
};
};

12 changes: 8 additions & 4 deletions pkgs/applications/editors/android-studio/default.nix
Original file line number Diff line number Diff line change
@@ -12,11 +12,15 @@ let
build = "181.5056338";
sha256Hash = "117skqjax1xz9plarhdnrw2rwprjpybdc7mx7wggxapyy920vv5r";
};
betaVersion = stableVersion;
betaVersion = {
version = "3.3.0.13"; # "Android Studio 3.3 Beta 1"
build = "182.5073496";
sha256Hash = "0bg1h0msd6mpkvirkg4pssa1ak32smv2rlxxsjdm3p29p8gg59px";
};
latestVersion = { # canary & dev
version = "3.3.0.12"; # "Android Studio 3.3 Canary 13"
build = "182.5035453";
sha256Hash = "0f2glxm41ci016dv9ygr12s72lc5mh0zsxhpmx0xswg9mdwrvwa7";
version = "3.4.0.0"; # "Android Studio 3.4 Canary 1"
build = "182.5070326";
sha256Hash = "03h2yns8s9dqbbc9agxhidpmziy9g3z89nm3byydw43hdz54hxab";
};
in rec {
# Old alias
4 changes: 2 additions & 2 deletions pkgs/applications/misc/todolist/default.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@

buildGoPackage rec {
name = "todolist-${version}";
version = "0.8";
version = "v0.8.1";

goPackagePath = "github.com/gammons/todolist";

src = fetchFromGitHub {
owner = "gammons";
repo = "todolist";
rev = "${version}";
sha256 = "0agv9a44q81qr960b7m1jxk0pb8ahk6lvmzmijvw4v6mbip2720z";
sha256 = "0dazfymby5xm4482p9cyj23djmkz5q7g79cqm2d85mczvz7vks8p";
};

meta = with stdenv.lib; {
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/docker-machine/kvm.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

buildGoPackage rec {
name = "docker-machine-kvm-${version}";
version = "0.8.2";
version = "0.10.0";

goPackagePath = "github.com/dhiltgen/docker-machine-kvm";
goDeps = ./kvm-deps.nix;
@@ -12,7 +12,7 @@ buildGoPackage rec {
rev = "v${version}";
owner = "dhiltgen";
repo = "docker-machine-kvm";
sha256 = "1p7s340wlcjvna3xa2x13nsnixfhbn5b7dhf9cqvxds2slizlm3p";
sha256 = "0ch4zwb6h7hnr5l3skj1daypvpyms2i666lbnmakpw1fw3zvjmgy";
};

nativeBuildInputs = [ pkgconfig ];
11 changes: 3 additions & 8 deletions pkgs/applications/networking/cluster/docker-machine/kvm2.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
{ stdenv, buildGoPackage, fetchFromGitHub, libvirt, pkgconfig }:
{ stdenv, buildGoPackage, fetchFromGitHub, libvirt, pkgconfig, minikube }:

buildGoPackage rec {
pname = "docker-machine-kvm2";
name = "${pname}-${version}";
version = "0.27.0";
version = minikube.version;

goPackagePath = "k8s.io/minikube";
subPackages = [ "cmd/drivers/kvm" ];

src = fetchFromGitHub {
owner = "kubernetes";
repo = "minikube";
rev = "v${version}";
sha256 = "00gj8x5p0vxwy0y0g5nnddmq049h7zxvhb73lb4gii5mghr9mkws";
};
src = minikube.src;

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libvirt ];
67 changes: 67 additions & 0 deletions pkgs/applications/networking/cluster/minishift/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{ lib, buildGoPackage, fetchFromGitHub, go-bindata, pkgconfig, makeWrapper
, glib, gtk3, libappindicator-gtk3, gpgme, ostree, libselinux, btrfs-progs
, lvm2, docker-machine-kvm
}:

let
version = "1.25.0";

# Update these on version bumps according to Makefile
b2dIsoVersion = "v1.3.0";
centOsIsoVersion = "v1.12.0";
openshiftVersion = "v3.11.0";

in buildGoPackage rec {
name = "minishift-${version}";
inherit version;

src = fetchFromGitHub {
owner = "minishift";
repo = "minishift";
rev = "v${version}";
sha256 = "12a1irj92lplzkr88g049blpjsdsfwfihs2xix971cq7v0w38fkf";
};

nativeBuildInputs = [ pkgconfig go-bindata makeWrapper ];
buildInputs = [ glib gtk3 libappindicator-gtk3 gpgme ostree libselinux btrfs-progs lvm2 ];

goPackagePath = "github.com/minishift/minishift";
subPackages = [ "cmd/minishift" ];

postPatch = ''
substituteInPlace vendor/github.com/containers/image/storage/storage_image.go \
--replace 'nil, diff' 'diff'
'';

buildFlagsArray = ''
-ldflags=
-X ${goPackagePath}/pkg/version.minishiftVersion=${version}
-X ${goPackagePath}/pkg/version.b2dIsoVersion=${b2dIsoVersion}
-X ${goPackagePath}/pkg/version.centOsIsoVersion=${centOsIsoVersion}
-X ${goPackagePath}/pkg/version.openshiftVersion=${openshiftVersion}
'';

preBuild = ''
(cd go/src/github.com/minishift/minishift
mkdir -p out/bindata
go-bindata -prefix addons -o out/bindata/addon_assets.go -pkg bindata addons/...)
'';

postInstall = ''
wrapProgram "$bin/bin/minishift" \
--prefix PATH ':' '${lib.makeBinPath [ docker-machine-kvm ]}'
'';

meta = with lib; {
description = "Run OpenShift locally";
longDescription = ''
Minishift is a tool that helps you run OpenShift locally by running
a single-node OpenShift cluster inside a VM. You can try out OpenShift
or develop with it, day-to-day, on your local host.
'';
homepage = https://github.com/minishift/minishift;
maintainers = with maintainers; [ fpletz ];
platforms = platforms.linux;
license = licenses.asl20;
};
}
90 changes: 51 additions & 39 deletions pkgs/development/compilers/factor-lang/default.nix
Original file line number Diff line number Diff line change
@@ -1,57 +1,58 @@
{ stdenv, fetchurl, fetchFromGitHub, glib, git,
{ stdenv, fetchurl, glib, glibc, git,
rlwrap, curl, pkgconfig, perl, makeWrapper, tzdata, ncurses,
libX11, pango, cairo, gtk2, gdk_pixbuf, gtkglext,
libGLU, libXmu, libXt, libICE, libSM }:
pango, cairo, gtk2, gdk_pixbuf, gtkglext,
mesa, xorg, openssl, unzip }:

stdenv.mkDerivation rec {
let
inherit (stdenv.lib) optional;

in stdenv.mkDerivation rec {
name = "factor-lang-${version}";
version = "0.97";
rev = "eb3ca179740e6cfba696b55a999caa13369e6182";

src = fetchFromGitHub {
owner = "factor";
repo = "factor";
rev = rev;
sha256 = "16zlbxbad3d19jq01nk824i19bypqzn8l3yfxys40z06vjjncapd";
};
version = "0.98";
rev = "7999e72aecc3c5bc4019d43dc4697f49678cc3b4";

factorimage = fetchurl {
url = http://downloads.factorcode.org/releases/0.97/factor-linux-x86-64-0.97.tar.gz;
sha256 = "06y125c8vbng54my5fxdr3crpxkvhhcng2n35cxddd3wcg6vhxhp";
name = "factorimage";
src = fetchurl {
url = http://downloads.factorcode.org/releases/0.98/factor-src-0.98.zip;
sha256 = "01ip9mbnar4sv60d2wcwfz62qaamdvbykxw3gbhzqa25z36vi3ri";
};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ git rlwrap curl perl makeWrapper
patches = [
./staging-command-line-0.98-pre.patch
./workdir-0.98-pre.patch
./fuel-dir.patch
];

buildInputs = with xorg; [ git rlwrap curl pkgconfig perl makeWrapper
libX11 pango cairo gtk2 gdk_pixbuf gtkglext
libGLU libXmu libXt libICE libSM ];
mesa libXmu libXt libICE libSM openssl unzip ];

buildPhase = ''
make $(bash ./build-support/factor.sh make-target) GIT_LABEL=heads/master-${rev}
sed -ie '4i GIT_LABEL = heads/master-${rev}' GNUmakefile
make linux-x86-64
# De-memoize xdg-* functions, otherwise they break the image.
sed -ie 's/^MEMO:/:/' basis/xdg/xdg.factor
'';

installPhase = ''
mkdir -p $out/bin $out/lib/factor
# First, get a workable image. Unfortunately, no boot-image
# is available with release info. So fetch a released image.
# The released image has library path info embedded, so we
# have to first recreate the boot image with Nix paths, and
# first have to recreate the boot image with Nix paths, and
# then use it to build the Nix release image.
zcat ${factorimage} | (cd $out/lib && tar -xvpf - factor/factor.image )
cp boot.unix-x86.64.image $out/lib/factor/factor.image
cp -r basis core extra unmaintained $out/lib/factor
cp -r basis core extra $out/lib/factor
# Factor uses the home directory for cache during compilation.
# We cant have that. So set it to $TMPDIR/.home
export HOME=$TMPDIR/.home && mkdir -p $HOME
# Factor uses XDG_CACHE_HOME for cache during compilation.
# We can't have that. So set it to $TMPDIR/.cache
export XDG_CACHE_HOME=$TMPDIR/.cache && mkdir -p $XDG_CACHE_HOME
# there is no ld.so.cache in NixOS so we construct one
# There is no ld.so.cache in NixOS so we construct one
# out of known libraries. The side effect is that find-lib
# will work only on the known libraries. There does not seem
# to be a generic solution here.
find $(echo ${stdenv.lib.makeLibraryPath [
find $(echo ${stdenv.lib.makeLibraryPath (with xorg; [
glib libX11 pango cairo gtk2 gdk_pixbuf gtkglext
libGLU libXmu libXt libICE libSM ]} | sed -e 's#:# #g') -name \*.so.\* > $TMPDIR/so.lst
mesa libXmu libXt libICE libSM ])} | sed -e 's#:# #g') -name \*.so.\* > $TMPDIR/so.lst
(echo $(cat $TMPDIR/so.lst | wc -l) "libs found in cache \`/etc/ld.so.cache'";
for l in $(<$TMPDIR/so.lst);
@@ -70,26 +71,37 @@ stdenv.mkDerivation rec {
cp ./factor $out/bin
wrapProgram $out/bin/factor --prefix LD_LIBRARY_PATH : \
"${stdenv.lib.makeLibraryPath [ glib
"${stdenv.lib.makeLibraryPath (with xorg; [ glib
libX11 pango cairo gtk2 gdk_pixbuf gtkglext
libGLU libXmu libXt libICE libSM ]}"
mesa libXmu libXt libICE libSM openssl])}"
sed -ie 's#/bin/.factor-wrapped#/lib/factor/factor#g' $out/bin/factor
mv $out/bin/.factor-wrapped $out/lib/factor/factor
# make a new bootstrap image
# build full factor image from boot image
(cd $out/bin && ./factor -script -e='"unix-x86.64" USING: system bootstrap.image memory ; make-image save 0 exit' )
mv $out/lib/factor/boot.unix-x86.64.image $out/lib/factor/factor.image
# now make the full system image, it overwrites $out/lib/factor/factor.image
$out/bin/factor -i=$out/lib/factor/factor.image
# make a new bootstrap image
(cd $out/bin && ./factor -script -e='"unix-x86.64" USING: system tools.deploy.backend ; make-boot-image 0 exit' )
# rebuild final full factor image to include all patched sources
(cd $out/lib/factor && ./factor -i=boot.unix-x86.64.image)
# install fuel mode for emacs
mkdir -p $out/share/emacs/site-lisp
# update default paths in factor-listener.el for fuel mode
substituteInPlace misc/fuel/fuel-listener.el \
--subst-var-by fuel_factor_root_dir $out/lib/factor \
--subst-var-by fuel_listener_factor_binary $out/bin/factor
cp misc/fuel/*.el $out/share/emacs/site-lisp/
'';

meta = with stdenv.lib; {
homepage = http://factorcode.org;
license = licenses.bsd2;
description = "A concatenative, stack-based programming language";

maintainers = [ maintainers.vrthra ];
maintainers = [ maintainers.vrthra maintainers.spacefrogg ];
platforms = [ "x86_64-linux" ];
};
}
20 changes: 20 additions & 0 deletions pkgs/development/compilers/factor-lang/fuel-dir.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff --git a/misc/fuel/fuel-listener.el b/misc/fuel/fuel-listener.el
index 2d1b182a75..bf2e573425 100644
--- a/misc/fuel/fuel-listener.el
+++ b/misc/fuel/fuel-listener.el
@@ -30,13 +30,13 @@
"Interacting with a Factor listener inside Emacs."
:group 'fuel)

-(defcustom fuel-factor-root-dir nil
+(defcustom fuel-factor-root-dir "@fuel_factor_root_dir@"
"Full path to the factor root directory when starting a listener."
:type 'directory
:group 'fuel-listener)

;;; Is factor.com still valid on Windows...?
-(defcustom fuel-listener-factor-binary nil
+(defcustom fuel-listener-factor-binary "@fuel_listener_factor_binary@"
"Full path to the factor executable to use when starting a listener."
:type '(file :must-match t)
:group 'fuel-listener)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/basis/tools/deploy/backend/backend.factor b/basis/tools/deploy/backend/backend.factor
index ec86089dbe..b146168ec9 100644
--- a/basis/tools/deploy/backend/backend.factor
+++ b/basis/tools/deploy/backend/backend.factor
@@ -69,7 +69,7 @@ ERROR: can't-deploy-library-file library ;
[ staging-image-name "-output-image=" prepend , ]
[ " " join "-include=" prepend , ] bi
] [
- input-image-name "-i=" prepend ,
+ input-image-name resource-path "-i=" prepend ,
"-resource-path=" "" resource-path append ,
"-run=tools.deploy.restage" ,
] bi
24 changes: 24 additions & 0 deletions pkgs/development/compilers/factor-lang/workdir-0.98-pre.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/core/io/pathnames/pathnames.factor b/core/io/pathnames/pathnames.factor
index 2d382e49d1..d4d9228d6c 100644
--- a/core/io/pathnames/pathnames.factor
+++ b/core/io/pathnames/pathnames.factor
@@ -144,7 +144,10 @@ GENERIC: vocab-path ( path -- newpath )
GENERIC: absolute-path ( path -- path' )

M: string absolute-path
- "resource:" ?head [
+ "resource:work" ?head [
+ trim-head-separators "/var/lib/factor" prepend-path
+ absolute-path ]
+ [ "resource:" ?head [
trim-head-separators resource-path
absolute-path
] [
@@ -158,6 +161,7 @@ M: string absolute-path
] [
current-directory get prepend-path
] if ] if
+ ] if
] if ;

M: object normalize-path ( path -- path' )
6 changes: 3 additions & 3 deletions pkgs/development/interpreters/ruby/default.nix
Original file line number Diff line number Diff line change
@@ -218,10 +218,10 @@ in {
};

ruby_2_5 = generic {
version = rubyVersion "2" "5" "2" "";
version = rubyVersion "2" "5" "3" "";
sha256 = {
src = "0wgl1697sdiqh6ksgv40v627jp5557j1zi462krwnzhc9bk408xk";
git = "00xy323q2f2v102hfgsj9k20vggvvmyhd6byfhbc1qwz2vyrvc47";
src = "0v4442aqqlzxwc792kbkfs2k61qg97r680is6gx20z63a8wd0a4q";
git = "0r9mgvqk6gj8pc9q6qmy7j2kbln7drc8wy67sb2ij8ciclcw9nn2";
};
};
}
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/ruby/patchsets.nix
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ rec {
"${patchSet}/patches/ruby/2.4/head/railsexpress/02-improve-gc-stats.patch"
"${patchSet}/patches/ruby/2.4/head/railsexpress/03-display-more-detailed-stack-trace.patch"
];
"2.5.2" = ops useRailsExpress [
"2.5.3" = ops useRailsExpress [
"${patchSet}/patches/ruby/2.5/head/railsexpress/01-fix-broken-tests-caused-by-ad.patch"
"${patchSet}/patches/ruby/2.5/head/railsexpress/02-improve-gc-stats.patch"
"${patchSet}/patches/ruby/2.5/head/railsexpress/03-more-detailed-stacktrace.patch"
2 changes: 1 addition & 1 deletion pkgs/development/libraries/kde-frameworks/fetch.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WGET_ARGS=( https://download.kde.org/stable/frameworks/5.50/ -A '*.tar.xz' )
WGET_ARGS=( https://download.kde.org/stable/frameworks/5.51/ -A '*.tar.xz' )
Loading