2024-09-10 05:39:18 +00:00
|
|
|
{
|
|
|
|
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
|
2024-09-10 05:46:21 +00:00
|
|
|
pkgs.bun
|
2024-09-10 05:39:18 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
|
|
|
|
|
|
|
shellHook = ''
|
|
|
|
export CARGO_HOME=$HOME/.cargo
|
|
|
|
export RUSTUP_HOME=$HOME/.rustup
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|