diff options
author | Vincent Ambo <mail@tazj.in> | 2021-01-09T13·26+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-01-13T16·53+0000 |
commit | b4e420d4ff3011b8fd515c2cab33fbde55859b8f (patch) | |
tree | 8abd2d9d8368c185c6422d0ba776f6a9d2744e37 | |
parent | 216e7334f6cc8b9a46a8ebc8be4e081f9580c840 (diff) |
chore(3p): Bump NixOS channels to 2021-01-09 r/2078
Your regularly scheduled channel update, but slightly more regular than before. Included fixes: * 3p/emacs: Pick telega.el from stable channel, unstable is broken. * glittershark/fprintd: Compile with gcc9, since build fails with the new default of gcc10 * glittershark/fprintd: Use a global overlay for the fprintd package until https://github.com/NixOS/nixpkgs/pull/108962 lands in nixos-unstable * glittershark/home: Don't install rr, as it's not building with gcc10 Co-Author: Griffin Smith <grfn@gws.fyi> Change-Id: Ia715fef64a405a220049fc540017356fa7370e0b Reviewed-on: https://cl.tvl.fyi/c/depot/+/2341 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: lukegb <lukegb@tvl.fyi> Tested-by: BuildkiteCI
-rw-r--r-- | third_party/default.nix | 15 | ||||
-rw-r--r-- | users/glittershark/pkgs/fprintd/default.nix | 4 | ||||
-rw-r--r-- | users/glittershark/pkgs/fprintd/libfprint-tod-clean.nix | 2 | ||||
-rw-r--r-- | users/glittershark/pkgs/fprintd/libfprint-tod.nix | 2 | ||||
-rw-r--r-- | users/glittershark/system/home/modules/development.nix | 1 | ||||
-rw-r--r-- | users/glittershark/system/system/machines/yeren.nix | 5 | ||||
-rw-r--r-- | users/tazjin/emacs/default.nix | 8 |
7 files changed, 22 insertions, 15 deletions
diff --git a/third_party/default.nix b/third_party/default.nix index 7638d98d6575..cea0a38a490a 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -5,11 +5,11 @@ { ... }: let - # Tracking nixos-unstable as of 2020-12-28. - nixpkgsCommit = "2f47650c2f28d87f86ab807b8a339c684d91ec56"; + # Tracking nixos-unstable as of 2021-01-09. + nixpkgsCommit = "f211631c1cb3e94828c7650b5d12c1e5a89e0e16"; nixpkgsSrc = fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/${nixpkgsCommit}.tar.gz"; - sha256 = "17akl75x28rzq97gaad32flswdsp150nfsg7h909kda721zql71a"; + sha256 = "0r085j42991qcbzx4l0hnwlsxw016y4b7r821s4qxvqnvwr9lxar"; }; nixpkgs = import nixpkgsSrc { config.allowUnfree = true; @@ -21,11 +21,11 @@ let ]; }; - # Tracking nixos-20.09 as of 2020-12-28. - stableCommit = "0c81b9a4f170f734bd7e587a39e56470c59733e7"; + # Tracking nixos-20.09 as of 2021-01-09. + stableCommit = "0cfd08f4881bbfdaa57e68835b923d4290588d98"; stableNixpkgsSrc = fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/${stableCommit}.tar.gz"; - sha256 = "1fl5ks6p78bamqanbk9xpy83jzzcdw2mdabrp59n33xv7jix1jzx"; + sha256 = "1srd9p37jmrsxgvrxvlibmscphz5p42244285yc5piacvrz1rdcc"; }; stableNixpkgs = import stableNixpkgsSrc {}; @@ -66,6 +66,9 @@ in exposed.lib.fix(self: exposed // { emacs27-nox = assert ((exposed.lib.versions.major nixpkgs.emacs.version) == "27"); nixpkgs.emacs-nox; + # Provide telega.el from stable + stableTelega = stableNixpkgs.emacsPackages.telega; + # The Go authors have released a version of Go (in alpha) that has a # type system. This makes it available, specifically for use with # //nix/buildTypedGo. diff --git a/users/glittershark/pkgs/fprintd/default.nix b/users/glittershark/pkgs/fprintd/default.nix index 4c4632b7a32e..0f9d414aeb86 100644 --- a/users/glittershark/pkgs/fprintd/default.nix +++ b/users/glittershark/pkgs/fprintd/default.nix @@ -3,7 +3,11 @@ args @ { pkgs, ... }: let nixpkgs = import pkgs.nixpkgsSrc { config.allowUnfree = true; + overlays = [(self: super: { + gcc = super.gcc9; + })]; }; + inherit (nixpkgs) stdenv fetchFromGitLab diff --git a/users/glittershark/pkgs/fprintd/libfprint-tod-clean.nix b/users/glittershark/pkgs/fprintd/libfprint-tod-clean.nix index 17a4af450599..d8e64f3cc1c9 100644 --- a/users/glittershark/pkgs/fprintd/libfprint-tod-clean.nix +++ b/users/glittershark/pkgs/fprintd/libfprint-tod-clean.nix @@ -21,7 +21,7 @@ }: stdenv.mkDerivation rec { - pname = "libfprint"; + pname = "libfprint-tod-clean"; version = "1.90.2"; outputs = [ "out" "devdoc" ]; diff --git a/users/glittershark/pkgs/fprintd/libfprint-tod.nix b/users/glittershark/pkgs/fprintd/libfprint-tod.nix index 70c5d6d367c1..d9c87e673c97 100644 --- a/users/glittershark/pkgs/fprintd/libfprint-tod.nix +++ b/users/glittershark/pkgs/fprintd/libfprint-tod.nix @@ -22,7 +22,7 @@ }: stdenv.mkDerivation rec { - pname = "libfprint"; + pname = "libfprint-tod"; version = "1.90.2"; outputs = [ "out" "devdoc" ]; diff --git a/users/glittershark/system/home/modules/development.nix b/users/glittershark/system/home/modules/development.nix index cf7301cc60c2..c5338c8d9a84 100644 --- a/users/glittershark/system/home/modules/development.nix +++ b/users/glittershark/system/home/modules/development.nix @@ -63,7 +63,6 @@ with lib; config.lib.depot.third_party.clang-tools ] ++ optionals (stdenv.isLinux) [ valgrind - rr ]; programs.git = { diff --git a/users/glittershark/system/system/machines/yeren.nix b/users/glittershark/system/system/machines/yeren.nix index ae697592def2..c695608977be 100644 --- a/users/glittershark/system/system/machines/yeren.nix +++ b/users/glittershark/system/system/machines/yeren.nix @@ -70,6 +70,11 @@ intel-media-driver ]; + # the fprintd module hardcodes pkgs.fprintd :'( + nixpkgs.overlays = [(_: _: { + fprintd = config.depot.users.glittershark.pkgs.fprintd; + })]; + services.fprintd = { enable = true; package = config.depot.users.glittershark.pkgs.fprintd; diff --git a/users/tazjin/emacs/default.nix b/users/tazjin/emacs/default.nix index 4e96eff3cf58..b1ec90f18543 100644 --- a/users/tazjin/emacs/default.nix +++ b/users/tazjin/emacs/default.nix @@ -14,12 +14,8 @@ let emacsWithPackages = (third_party.emacsPackagesGen third_party.emacs27).emacsWithPackages; - # Pick telega from unstable channel for recent fixes. - unstable = import third_party.nixpkgsSrc {}; - telegaUnstable = (unstable.emacsPackagesGen third_party.emacs27).telega; - # $PATH for binaries that need to be available to Emacs - emacsBinPath = lib.makeBinPath [ telegaUnstable ]; + emacsBinPath = lib.makeBinPath [ third_party.stableTelega ]; identity = x: x; @@ -88,7 +84,6 @@ let sly string-edit swiper - telegaUnstable telephone-line terraform-mode toml-mode @@ -110,6 +105,7 @@ let tvl # patched / overridden versions of packages + depot.third_party.stableTelega depot.third_party.emacs.exwm depot.third_party.emacs.rcirc depot.third_party.emacs.vterm |