Skip to content

Instantly share code, notes, and snippets.

@stuzenz
Created April 28, 2025 22:07
Show Gist options
  • Save stuzenz/e4d8349f196bb76c693d69d2e18c6231 to your computer and use it in GitHub Desktop.
Save stuzenz/e4d8349f196bb76c693d69d2e18c6231 to your computer and use it in GitHub Desktop.
Files for a bug reported on `devenv update` not updating
{
"nodes": {
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1745750098,
"owner": "cachix",
"repo": "devenv",
"rev": "312f0eb723d9b2a1539f175bca9f11f1e4f0a673",
"type": "github"
},
"original": {
"dir": "src/modules",
"owner": "cachix",
"repo": "devenv",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1733328505,
"owner": "edolstra",
"repo": "flake-compat",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"git-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1742649964,
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"git-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1733477122,
"owner": "cachix",
"repo": "devenv-nixpkgs",
"rev": "7bd9e84d0452f6d2e63b6e6da29fe73fac951857",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "rolling",
"repo": "devenv-nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"devenv": "devenv",
"git-hooks": "git-hooks",
"nixpkgs": "nixpkgs",
"pre-commit-hooks": [
"git-hooks"
]
}
}
},
"root": "root",
"version": 7
}
{ pkgs, ... }: {
languages.python = {
enable = true;
uv.enable = true;
};
# languages.go.enable = true;
languages.javascript = {
enable = true;
yarn = {
enable = true;
install.enable = true;
};
};
# packages = with pkgs; [ git gomod2nix ];
packages = with pkgs; [
# Python packages
(python3.withPackages (ps: with ps; [
python-docx
pip
pandas
openpyxl
google-generativeai
pillow
aiohttp
fastapi
uvicorn
python-multipart
]))
# Node.js packages
nodePackages.serve # Added for static file serving
];
}
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
inputs:
nixpkgs:
url: github:cachix/devenv-nixpkgs/rolling
# If you're using non-OSS software, you can set allowUnfree to true.
# allowUnfree: true
# If you're willing to use a package that's vulnerable
# permittedInsecurePackages:
# - "openssl-1.1.1w"
# If you have more than one devenv you can merge them
#imports:
# - ./backend
@stuzenz
Copy link
Author

stuzenz commented Apr 28, 2025

Just noting files for reproducing a bug that I am seeing with devenv update when working with devenv v1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment