Compare commits
2 Commits
a81c7fceb6
...
d334c43fe4
| Author | SHA1 | Date | |
|---|---|---|---|
| d334c43fe4 | |||
| d63041ac21 |
6
flake.lock
generated
6
flake.lock
generated
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1763283776,
|
"lastModified": 1762844143,
|
||||||
"narHash": "sha256-Y7TDFPK4GlqrKrivOcsHG8xSGqQx3A6c+i7novT85Uk=",
|
"narHash": "sha256-SlybxLZ1/e4T2lb1czEtWVzDCVSTvk9WLwGhmxFmBxI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "50a96edd8d0db6cc8db57dab6bb6d6ee1f3dc49a",
|
"rev": "9da7f1cf7f8a6e2a7cb3001b048546c92a8258b4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
22
flake.nix
22
flake.nix
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
description = "Description for the project";
|
description = "Web Engineering";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
@@ -8,13 +8,7 @@
|
|||||||
|
|
||||||
outputs = inputs @ {flake-parts, ...}:
|
outputs = inputs @ {flake-parts, ...}:
|
||||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||||
imports = [
|
imports = [];
|
||||||
# To import an internal flake module: ./other.nix
|
|
||||||
# To import an external flake module:
|
|
||||||
# 1. Add foo to inputs
|
|
||||||
# 2. Add foo as a parameter to the outputs function
|
|
||||||
# 3. Add here: foo.flakeModule
|
|
||||||
];
|
|
||||||
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
|
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
|
||||||
perSystem = {
|
perSystem = {
|
||||||
config,
|
config,
|
||||||
@@ -96,8 +90,18 @@
|
|||||||
devShells.default = with pkgs;
|
devShells.default = with pkgs;
|
||||||
mkShell {
|
mkShell {
|
||||||
nativeBuildInputs = [];
|
nativeBuildInputs = [];
|
||||||
packages = [mermaid-cli] ++ latexPackages;
|
packages =
|
||||||
|
[
|
||||||
|
mermaid-cli
|
||||||
|
openjdk
|
||||||
|
jetty
|
||||||
|
ant
|
||||||
|
]
|
||||||
|
++ latexPackages;
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
echo "Usage Example:"
|
||||||
|
echo "jetty ..."
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user