pkgs: use release channel for system + rkt update
Only override specific packages from the git repo.
This commit is contained in:
parent
0ace576125
commit
829bc7e6f1
3 changed files with 11 additions and 25 deletions
|
@ -1,22 +1,16 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
|
gitpkgs = import <gitpkgs> {};
|
||||||
|
|
||||||
|
in {
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowBroken = false;
|
allowBroken = false;
|
||||||
|
|
||||||
packageOverrides = pkgs: rec {
|
packageOverrides = pkgs: rec {
|
||||||
goPackages = pkgs.go16Packages;
|
goPackages = pkgs.go16Packages;
|
||||||
|
|
||||||
bluez = pkgs.bluez5;
|
bluez = pkgs.bluez5;
|
||||||
|
|
||||||
#vimPlugins = pkgs.recurseIntoAttrs (pkgs.callPackage /home/steveej/src/github/NixOS/nixpkgs-systemsource/pkgs/misc/vim-plugins { });
|
|
||||||
|
|
||||||
linuxPackages = pkgs.linuxPackages_latest;
|
linuxPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
#pythonFull = pkgs.python27.buildEnv.override {
|
|
||||||
# extraLibs = with pkgs.pythonPackages; [];
|
|
||||||
#};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
@ -46,7 +40,7 @@
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
../common/pkg/default.nix
|
../common/pkg/default.nix
|
||||||
../common/pkg/neovim.nix
|
(import ../common/pkg/neovim.nix { inherit config; pkgs = gitpkgs; })
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,7 +72,6 @@
|
||||||
teamviewer
|
teamviewer
|
||||||
gnome3.dconf # needed by virtmanager
|
gnome3.dconf # needed by virtmanager
|
||||||
virtmanager
|
virtmanager
|
||||||
linuxPackages.virtualbox
|
|
||||||
x11_ssh_askpass
|
x11_ssh_askpass
|
||||||
|
|
||||||
spotify
|
spotify
|
||||||
|
@ -89,8 +82,7 @@
|
||||||
gimp
|
gimp
|
||||||
inkscape
|
inkscape
|
||||||
pdftk
|
pdftk
|
||||||
|
imagemagick
|
||||||
rkt
|
|
||||||
|
|
||||||
iptables
|
iptables
|
||||||
nftables
|
nftables
|
||||||
|
@ -98,6 +90,8 @@
|
||||||
|
|
||||||
pandoc
|
pandoc
|
||||||
pythonFull
|
pythonFull
|
||||||
|
] ++ [
|
||||||
|
gitpkgs.rkt
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,12 +31,4 @@ in pkgs.stdenv.mkDerivation {
|
||||||
inherit name;
|
inherit name;
|
||||||
buildInputs = extraBuildInputs ++ (goBuildInputs){ inherit goPackages; };
|
buildInputs = extraBuildInputs ++ (goBuildInputs){ inherit goPackages; };
|
||||||
shellHook = (goShellHook) { inherit name; inherit goPackages; };
|
shellHook = (goShellHook) { inherit name; inherit goPackages; };
|
||||||
# go14Env = mkGoEnv {
|
|
||||||
# inherit name;
|
|
||||||
# goPackages=pkgs.go14Packages;
|
|
||||||
# };
|
|
||||||
# go15 = mkGoEnv {
|
|
||||||
# inherit name;
|
|
||||||
# goPackages=pkgs.go15Packages;
|
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,9 @@ mkGoEnv ? import ./go.nix,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
rktBasebuildInputs = with pkgs; [
|
rktBasebuildInputs = with pkgs; [
|
||||||
autoconf
|
stdenv.glibc.out
|
||||||
automake
|
stdenv.glibc.static
|
||||||
autogen
|
autoreconfHook
|
||||||
gnupg1
|
gnupg1
|
||||||
squashfsTools
|
squashfsTools
|
||||||
cpio
|
cpio
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue