infra: get claude code from unstable
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
{ pkgs ? import <nixpkgs> { config.allowUnfree = true; } }:
|
{ pkgs ? import <nixpkgs> { config.allowUnfree = true; } }:
|
||||||
|
let
|
||||||
|
unstable = import <nixos-unstable> { config.allowUnfree = true; };
|
||||||
|
in
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
(pkgs.python3.withPackages (ps: with ps; [
|
(pkgs.python3.withPackages (ps: with ps; [
|
||||||
@@ -9,9 +11,8 @@ pkgs.mkShell {
|
|||||||
lxml
|
lxml
|
||||||
waitress
|
waitress
|
||||||
]))
|
]))
|
||||||
pkgs.claude-code
|
unstable.claude-code
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
if [ -f .env ]; then
|
if [ -f .env ]; then
|
||||||
set -a
|
set -a
|
||||||
|
|||||||
Reference in New Issue
Block a user