temp: nixos unstable as flake input

Change-Id: I8009ca21a9a993448da569f2fa1b89155f84aac2
This commit is contained in:
jade 2024-10-14 16:00:07 -07:00
parent f12cfda5af
commit f5a2fc5f8d
3 changed files with 8 additions and 6 deletions

View file

@ -34,16 +34,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1721931987,
"narHash": "sha256-1Zg8LY0T5EfXtv0Kf4M6SFnjH7Eto4VV+EKJ/YSnhiI=",
"lastModified": 1728492678,
"narHash": "sha256-9UTxR8eukdg+XZeHgxW5hQA9fIKHsKCdOIUycTryeVw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e21630230c77140bc6478a21cd71e8bb73706fce",
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.05-small",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -2,7 +2,7 @@
description = "Lix: A modern, delicious implementation of the Nix package manager";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05-small";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-regression.url = "github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2";
pre-commit-hooks = {
url = "github:cachix/git-hooks.nix";

View file

@ -33,6 +33,8 @@
llvmPackages,
lsof,
# FIXME: remove default after dropping NixOS 24.05
# This default exists to cope with both having and not having
# https://github.com/NixOS/nixpkgs/pull/346945
lowdown-unsandboxed ? lowdown,
lowdown,
mdbook,
@ -489,7 +491,7 @@ stdenv.mkDerivation (finalAttrs: {
p.requests
p.xdg-base-dirs
p.packaging
(p.toPythonModule xonsh.passthru.unwrapped)
p.xonsh
]
);
pythonEnv = python3.withPackages pythonPackages;