Skip to content

Commit 010a452

Browse files
authored
fix(flake): remove pinned input, only consume in Nix shell (#872)
1 parent 861df89 commit 010a452

File tree

3 files changed

+8
-26
lines changed

3 files changed

+8
-26
lines changed

flake.lock

Lines changed: 0 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
1111

12-
nixpkgs-qt6.url = "github:NixOS/nixpkgs/93ff48c9be84a76319dac293733df09bbbe3f25c";
13-
1412
systems.url = "github:nix-systems/default";
1513
};
1614

nix/shell.nix

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
{
2-
inputs,
3-
lib,
4-
pkgs,
5-
...
6-
}:
1+
{ lib, pkgs, ... }:
72

83
let
9-
qt6Pkgs = import inputs.nixpkgs-qt6 { inherit (pkgs) system; };
4+
# INFO: PySide6 from PIP is compiled for 6.8.0 of Qt, must pin to match version.
5+
# Long term this can be solved with an alternative like uv2nix for the devshell.
6+
qt6Pkgs = import (builtins.fetchTarball {
7+
name = "nixos-unstable-qt6-pinned";
8+
url = "https://github.com/NixOS/nixpkgs/archive/93ff48c9be84a76319dac293733df09bbbe3f25c.tar.gz";
9+
sha256 = "038m7932v4z0zn2lk7k7mbqbank30q84r1viyhchw9pcm3aq3q23";
10+
}) { inherit (pkgs) system; };
1011

1112
pythonLibraryPath = lib.makeLibraryPath (
1213
(with pkgs; [

0 commit comments

Comments
 (0)