Get devenv up working

This commit is contained in:
Alejandro Angulo 2023-09-17 15:43:15 -07:00
parent fc10f2e99c
commit 89c712bbb9
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 15 additions and 9 deletions

View file

@ -8,11 +8,11 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1692203620, "lastModified": 1694422554,
"narHash": "sha256-9SF/H8oCWv166q5o+JtV7tK+koydgFMu02HCB27UWpU=", "narHash": "sha256-s5NTPzT66yIMmau+ZGP7q9z4NjgceDETL4xZ6HJ/TBg=",
"owner": "cachix", "owner": "cachix",
"repo": "devenv", "repo": "devenv",
"rev": "eee80243720b7f284128873a9694a520d9967b2f", "rev": "63d20fe09aa09060ea9ec9bb6d582c025402ba15",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -60,11 +60,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1689068808, "lastModified": 1694529238,
"narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=", "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4", "rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -185,11 +185,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1692174805, "lastModified": 1694767346,
"narHash": "sha256-xmNPFDi/AUMIxwgOH/IVom55Dks34u1g7sFKKebxUm0=", "narHash": "sha256-5uH27SiVFUwsTsqC5rs3kS7pBoNhtoy9QfTP9BmknGk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "caac0eb6bdcad0b32cb2522e03e4002c8975c62e", "rev": "ace5093e36ab1e95cb9463863491bee90d5a4183",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -49,6 +49,10 @@
''; '';
}; };
# Workaround for cachix/devenv#756
# See here: https://github.com/cachix/devenv/issues/756
packages.devenv-up = self.devShell.${system}.config.procfileScript;
defaultPackage = self.packages.${system}.alejandr0angul0-dot-dev; defaultPackage = self.packages.${system}.alejandr0angul0-dot-dev;
apps = rec { apps = rec {
@ -94,6 +98,8 @@
}; };
}; };
processes.hugo-server.exec = "${pkgs.hugo}/bin/hugo server";
enterShell = '' enterShell = ''
export PATH=./node_modules/.bin:$PATH export PATH=./node_modules/.bin:$PATH
''; '';