Compare commits
2 Commits
339dac3999
...
270782cb78
Author | SHA1 | Date | |
---|---|---|---|
270782cb78 | |||
268ed3795c |
1
.direnv/flake-profile
Symbolic link
1
.direnv/flake-profile
Symbolic link
@ -0,0 +1 @@
|
||||
flake-profile-2-link
|
1
.direnv/flake-profile-1-link
Symbolic link
1
.direnv/flake-profile-1-link
Symbolic link
@ -0,0 +1 @@
|
||||
/nix/store/3hvzb7brklcrpdggn78fnmi20i49jnys-nix-shell-env
|
1
.direnv/flake-profile-2-link
Symbolic link
1
.direnv/flake-profile-2-link
Symbolic link
@ -0,0 +1 @@
|
||||
/nix/store/amb6zvwfmy0l7yfdhrfaclcy4997fy03-nix-shell-env
|
1
.envrc
Normal file
1
.envrc
Normal file
@ -0,0 +1 @@
|
||||
use flake
|
BIN
bun.lockb
Executable file
BIN
bun.lockb
Executable file
Binary file not shown.
27
flake.lock
Normal file
27
flake.lock
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1725634671,
|
||||
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
31
flake.nix
Normal file
31
flake.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
description = "Hotel-Manager";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShells.${system}.default =
|
||||
pkgs.mkShell
|
||||
{
|
||||
buildInputs = [
|
||||
pkgs.nodePackages."@angular/cli"
|
||||
pkgs.git
|
||||
pkgs.bun
|
||||
];
|
||||
|
||||
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
||||
|
||||
shellHook = ''
|
||||
export CARGO_HOME=$HOME/.cargo
|
||||
export RUSTUP_HOME=$HOME/.rustup
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user