pkgs: use release channel for system + rkt update

Only override specific packages from the git repo.
This commit is contained in:
steveej 2016-04-24 11:27:29 +02:00
parent 0ace576125
commit 829bc7e6f1
3 changed files with 11 additions and 25 deletions

View file

@ -1,22 +1,16 @@
{ config, pkgs, ... }:
{
let
gitpkgs = import <gitpkgs> {};
in {
nixpkgs.config = {
allowBroken = false;
packageOverrides = pkgs: rec {
goPackages = pkgs.go16Packages;
bluez = pkgs.bluez5;
#vimPlugins = pkgs.recurseIntoAttrs (pkgs.callPackage /home/steveej/src/github/NixOS/nixpkgs-systemsource/pkgs/misc/vim-plugins { });
linuxPackages = pkgs.linuxPackages_latest;
#pythonFull = pkgs.python27.buildEnv.override {
# extraLibs = with pkgs.pythonPackages; [];
#};
};
allowUnfree = true;
@ -46,7 +40,7 @@
imports =
[
../common/pkg/default.nix
../common/pkg/neovim.nix
(import ../common/pkg/neovim.nix { inherit config; pkgs = gitpkgs; })
];
@ -78,7 +72,6 @@
teamviewer
gnome3.dconf # needed by virtmanager
virtmanager
linuxPackages.virtualbox
x11_ssh_askpass
spotify
@ -89,8 +82,7 @@
gimp
inkscape
pdftk
rkt
imagemagick
iptables
nftables
@ -98,6 +90,8 @@
pandoc
pythonFull
] ++ [
gitpkgs.rkt
];
}

View file

@ -31,12 +31,4 @@ in pkgs.stdenv.mkDerivation {
inherit name;
buildInputs = extraBuildInputs ++ (goBuildInputs){ inherit goPackages; };
shellHook = (goShellHook) { inherit name; inherit goPackages; };
# go14Env = mkGoEnv {
# inherit name;
# goPackages=pkgs.go14Packages;
# };
# go15 = mkGoEnv {
# inherit name;
# goPackages=pkgs.go15Packages;
# };
}

View file

@ -4,9 +4,9 @@ mkGoEnv ? import ./go.nix,
}:
let
rktBasebuildInputs = with pkgs; [
autoconf
automake
autogen
stdenv.glibc.out
stdenv.glibc.static
autoreconfHook
gnupg1
squashfsTools
cpio