From 7e360aa4a1f20206395c32d9dbc05dcaef69e43b Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Fri, 26 Dec 2025 14:44:50 +1000 Subject: [PATCH] Switch darktable to unstable channel So i can get on the 5.4 release. --- alex/personal.nix | 10 ++++++++-- flake.lock | 19 ++++++++++++++++++- flake.nix | 1 + 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/alex/personal.nix b/alex/personal.nix index edeb32f..8e6418c 100644 --- a/alex/personal.nix +++ b/alex/personal.nix @@ -1,5 +1,11 @@ { config, pkgs, inputs, ... }: +let + unstable = import inputs.nixpkgs-unstable { + system = pkgs.system; + config.allowUnfree = true; + }; +in { home.packages = with pkgs; [ foliate @@ -18,14 +24,14 @@ (symlinkJoin { name = "darktable"; - paths = [ darktable ]; + paths = [ unstable.darktable ]; nativeBuildInputs = [ makeWrapper ]; postBuild = '' # Remove the symlink to the original binary rm $out/bin/darktable # Create a wrapper that points to the cached original - makeWrapper ${darktable}/bin/darktable $out/bin/darktable \ + makeWrapper ${unstable.darktable}/bin/darktable $out/bin/darktable \ --set GDK_BACKEND wayland ''; }) diff --git a/flake.lock b/flake.lock index 3f24136..ed2ec7f 100644 --- a/flake.lock +++ b/flake.lock @@ -74,6 +74,22 @@ "type": "github" } }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1766651565, + "narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1765838191, @@ -94,7 +110,8 @@ "inputs": { "home-manager": "home-manager", "locutus": "locutus", - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs_2", + "nixpkgs-unstable": "nixpkgs-unstable" } }, "systems": { diff --git a/flake.nix b/flake.nix index 2ed59db..9021253 100644 --- a/flake.nix +++ b/flake.nix @@ -4,6 +4,7 @@ inputs = { # NixOS official package source nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; + nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; home-manager = { url = "github:nix-community/home-manager/release-25.11"; # The `follows` keyword in inputs is used for inheritance.