Skip to content

Commit

Permalink
chore: use new uv devenv setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ss2165 committed Dec 2, 2024
1 parent 28f3928 commit fb6818a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
51 changes: 24 additions & 27 deletions devenv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,32 +51,10 @@
"type": "github"
}
},
"git-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1732021966,
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "3308484d1a443fc5bc92012435d79e80458fe43c",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"git-hooks",
"pre-commit-hooks",
"nixpkgs"
]
},
Expand Down Expand Up @@ -123,15 +101,34 @@
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1732021966,
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "3308484d1a443fc5bc92012435d79e80458fe43c",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"type": "github"
}
},
"root": {
"inputs": {
"devenv": "devenv",
"fenix": "fenix",
"git-hooks": "git-hooks",
"nixpkgs": "nixpkgs",
"pre-commit-hooks": [
"git-hooks"
]
"pre-commit-hooks": "pre-commit-hooks"
}
},
"rust-analyzer-src": {
Expand Down
7 changes: 5 additions & 2 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,17 @@
);

enterShell = ''
just setup-extras
source .devenv/state/venv/activate
export PATH="$UV_PROJECT_ENVIRONMENT/bin:$PATH"
'';

languages.python = {
enable = true;
uv = {
enable = true;
sync = {
enable = true;
allExtras = true;
};
};
};

Expand Down

0 comments on commit fb6818a

Please sign in to comment.