Compare commits
No commits in common. "ff061257b4bdfac696348e01a1dd101483d48c7b" and "46b331a41316e44cba93af1db42465e830c94361" have entirely different histories.
ff061257b4
...
46b331a413
6
ci.nix
6
ci.nix
@ -9,7 +9,7 @@
|
|||||||
# then your CI will be able to build and cache only those packages for
|
# then your CI will be able to build and cache only those packages for
|
||||||
# which this is possible.
|
# which this is possible.
|
||||||
|
|
||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
with builtins;
|
with builtins;
|
||||||
|
|
||||||
@ -29,8 +29,8 @@ let
|
|||||||
let
|
let
|
||||||
f = p:
|
f = p:
|
||||||
if shouldRecurseForDerivations p then flattenPkgs p
|
if shouldRecurseForDerivations p then flattenPkgs p
|
||||||
else if isDerivation p then [ p ]
|
else if isDerivation p then [p]
|
||||||
else [ ];
|
else [];
|
||||||
in
|
in
|
||||||
concatMap f (attrValues s);
|
concatMap f (attrValues s);
|
||||||
|
|
||||||
|
@ -28,10 +28,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
overlays = import ./overlays // {
|
overlays = import ./overlays // {
|
||||||
pkgs = _final: prev: import ./pkgs/top-level/all-packages.nix { pkgs = prev; };
|
pkgs = final: prev: import ./pkgs/top-level/all-packages.nix { pkgs = prev; };
|
||||||
};
|
};
|
||||||
|
|
||||||
overlay = _final: _prev: {
|
overlay = final: prev: {
|
||||||
xeals = nixpkgs.lib.composeExtensions self.overlays.pkgs;
|
xeals = nixpkgs.lib.composeExtensions self.overlays.pkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -41,7 +41,7 @@
|
|||||||
xPkgs = import ./pkgs/top-level/all-packages.nix { inherit pkgs; };
|
xPkgs = import ./pkgs/top-level/all-packages.nix { inherit pkgs; };
|
||||||
in
|
in
|
||||||
lib.filterAttrs
|
lib.filterAttrs
|
||||||
(_attr: drv: builtins.elem system (drv.meta.platforms or [ ]))
|
(attr: drv: builtins.elem system (drv.meta.platforms or [ ]))
|
||||||
xPkgs);
|
xPkgs);
|
||||||
|
|
||||||
apps = forAllSystems (system:
|
apps = forAllSystems (system:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# case where you don't want to add the whole NUR namespace to your
|
# case where you don't want to add the whole NUR namespace to your
|
||||||
# configuration.
|
# configuration.
|
||||||
|
|
||||||
_self: super:
|
self: super:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3Packages
|
, python3Packages
|
||||||
|
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
|
||||||
|
, cmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, alsaLib
|
, alsaLib
|
||||||
, dbus
|
, dbus
|
||||||
|
@ -21,10 +21,9 @@ let
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
generateCommon = lib.makeOverridable (
|
generateCommon = lib.makeOverridable ({
|
||||||
{ common ? ./manual-common-packages.nix
|
common ? ./manual-common-packages.nix
|
||||||
}:
|
}: let
|
||||||
let
|
|
||||||
|
|
||||||
imported = import common {
|
imported = import common {
|
||||||
inherit (self) callPackage;
|
inherit (self) callPackage;
|
||||||
@ -36,10 +35,7 @@ let
|
|||||||
|
|
||||||
jetbrainsPlugins = super // overrides;
|
jetbrainsPlugins = super // overrides;
|
||||||
|
|
||||||
in
|
in jetbrainsPlugins // { inherit commonBuild; });
|
||||||
jetbrainsPlugins // { inherit commonBuild; }
|
|
||||||
);
|
|
||||||
|
|
||||||
in
|
in generateCommon { }
|
||||||
generateCommon { }
|
|
||||||
|
|
||||||
|
@ -9,10 +9,9 @@ let
|
|||||||
jetbrainsPlatforms = [ "idea-community" "idea-ultimate" ];
|
jetbrainsPlatforms = [ "idea-community" "idea-ultimate" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
generateIdea = lib.makeOverridable (
|
generateIdea = lib.makeOverridable ({
|
||||||
{ idea ? ./manual-idea-packages.nix
|
idea ? ./manual-idea-packages.nix
|
||||||
}:
|
}: let
|
||||||
let
|
|
||||||
|
|
||||||
imported = import idea {
|
imported = import idea {
|
||||||
inherit (self) callPackage;
|
inherit (self) callPackage;
|
||||||
@ -24,10 +23,7 @@ let
|
|||||||
|
|
||||||
ideaPlugins = super // overrides;
|
ideaPlugins = super // overrides;
|
||||||
|
|
||||||
in
|
in ideaPlugins // { inherit ideaBuild; });
|
||||||
ideaPlugins // { inherit ideaBuild; }
|
|
||||||
);
|
|
||||||
|
|
||||||
in
|
in generateIdea { }
|
||||||
generateIdea { }
|
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
|
|
||||||
|
@ -1,12 +1,16 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
|
, fetchzip
|
||||||
|
|
||||||
, cereal
|
, cereal
|
||||||
, cmake
|
, cmake
|
||||||
|
, git
|
||||||
, libGL
|
, libGL
|
||||||
, libX11
|
, libX11
|
||||||
, libinput
|
, libinput
|
||||||
, libxkbcommon
|
, libxkbcommon
|
||||||
|
, mesa
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pixman
|
, pixman
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
@ -63,6 +64,5 @@ buildGoModule rec {
|
|||||||
homepage = "https://github.com/therecipe/qt";
|
homepage = "https://github.com/therecipe/qt";
|
||||||
description = "Qt bindings for Go";
|
description = "Qt bindings for Go";
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
|
||||||
|
, coreutils
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
}:
|
}:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
|
||||||
, python3Packages
|
, python3Packages
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, makeWrapper
|
||||||
|
|
||||||
, curl
|
, curl
|
||||||
, gnumake
|
, gnumake
|
||||||
, gnutls
|
, gnutls
|
||||||
|
@ -1,22 +1,16 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, lame
|
, lame
|
||||||
|
|
||||||
, aacSupport ? false
|
, aacSupport ? false, faac
|
||||||
, faac
|
, alacSupport ? false, libav
|
||||||
, alacSupport ? false
|
, flacSupport ? false, flac
|
||||||
, libav
|
, m4aSupport ? false, mp4Support ? false, fdk-aac-encoder
|
||||||
, flacSupport ? false
|
, oggSupport ? false, vorbisTools
|
||||||
, flac
|
, opusSupport ? false, opusTools
|
||||||
, m4aSupport ? false
|
|
||||||
, mp4Support ? false
|
|
||||||
, fdk-aac-encoder
|
|
||||||
, oggSupport ? false
|
|
||||||
, vorbisTools
|
|
||||||
, opusSupport ? false
|
|
||||||
, opusTools
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert aacSupport -> faac.meta.available;
|
assert aacSupport -> faac.meta.available;
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
|
||||||
, python3
|
, python3
|
||||||
, ffmpeg
|
, ffmpeg }:
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ytarchive";
|
pname = "ytarchive";
|
||||||
|
@ -42,7 +42,7 @@ rec {
|
|||||||
|
|
||||||
pam_gnupg = pkgs.callPackage ../os-specific/linux/pam_gnupg { };
|
pam_gnupg = pkgs.callPackage ../os-specific/linux/pam_gnupg { };
|
||||||
|
|
||||||
picom-animations = pkgs.picom.overrideAttrs (_oldAttrs: {
|
picom-animations = pkgs.picom.overrideAttrs (oldAttrs: {
|
||||||
pname = "picom-animations";
|
pname = "picom-animations";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "jonaburg";
|
owner = "jonaburg";
|
||||||
|
@ -20,16 +20,14 @@ let
|
|||||||
inherit lib;
|
inherit lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in lib.makeScope newScope (self: lib.makeOverridable ({
|
||||||
lib.makeScope newScope (self: lib.makeOverridable
|
jetbrainsPlugins ? mkJetbrainsPlugins self
|
||||||
({ jetbrainsPlugins ? mkJetbrainsPlugins self
|
|
||||||
, ideaPlugins ? mkIdeaPlugins self
|
, ideaPlugins ? mkIdeaPlugins self
|
||||||
}: ({ }
|
}: ({ }
|
||||||
// jetbrainsPlugins // { inherit jetbrainsPlugins; }
|
// jetbrainsPlugins // { inherit jetbrainsPlugins; }
|
||||||
// ideaPlugins // { inherit ideaPlugins; }
|
// ideaPlugins // { inherit ideaPlugins; }
|
||||||
// {
|
// {
|
||||||
inherit variant;
|
inherit variant;
|
||||||
jetbrainsWithPlugins = jetbrainsWithPlugins self variant;
|
jetbrainsWithPlugins = jetbrainsWithPlugins self variant;
|
||||||
})
|
})
|
||||||
)
|
) { })
|
||||||
{ })
|
|
||||||
|
Loading…
Reference in New Issue
Block a user