mirror of
https://github.com/SpyHoodle/PrideFetch.git
synced 2024-11-21 18:35:42 +00:00
Add psutil to flake.nix (#29)
Currently we're using the nixpkg for running pridefetch, but due to a version mismatch we are missing the psutil package. This results in errors when running pridefetch from this flake. Overriding the buildInputs is a temporary fix before we update this in nixpkgs.
This commit is contained in:
parent
f9f9b94d67
commit
50ddd29d03
16
flake.lock
16
flake.lock
@ -2,10 +2,12 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 0,
|
"lastModified": 1707877513,
|
||||||
"narHash": "sha256-kP4m7ZgFYj8fh7oW2L0uW0sJw/e0k1HY26HYJcvNEKM=",
|
"narHash": "sha256-sp0w2apswd3wv0sAEF7StOGHkns3XUQaO5erhWFZWXk=",
|
||||||
"path": "/nix/store/ayvjhxw0zjwp5ipvwlhbhrwqqw553h2f-source",
|
"owner": "NixOS",
|
||||||
"type": "path"
|
"repo": "nixpkgs",
|
||||||
|
"rev": "89653a03e0915e4a872788d10680e7eec92f8600",
|
||||||
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"id": "nixpkgs",
|
||||||
@ -14,11 +16,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1654245945,
|
"lastModified": 1707877513,
|
||||||
"narHash": "sha256-PV6MZ+HuNnyLxQGa2rwt0BmCRkQS2xqhc+SeJLQM+WU=",
|
"narHash": "sha256-sp0w2apswd3wv0sAEF7StOGHkns3XUQaO5erhWFZWXk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "442db9429b9fbdb6352cfb937afc8ecccfe2633f",
|
"rev": "89653a03e0915e4a872788d10680e7eec92f8600",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -20,6 +20,12 @@
|
|||||||
in {
|
in {
|
||||||
pridefetch = pkgs-unstable.pridefetch.overrideAttrs (finalAttrs: previousAttrs: {
|
pridefetch = pkgs-unstable.pridefetch.overrideAttrs (finalAttrs: previousAttrs: {
|
||||||
src = builtins.path { path = ./.; name = "pridefetch"; };
|
src = builtins.path { path = ./.; name = "pridefetch"; };
|
||||||
|
buildInputs = [
|
||||||
|
(pkgs-unstable.python3.withPackages (pythonPackages: with pythonPackages; [
|
||||||
|
distro
|
||||||
|
psutil
|
||||||
|
]))
|
||||||
|
];
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user