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