mirror of
https://github.com/MarkusZoppelt/portfolio_rs.git
synced 2026-11-28 13:02:12 +01:00
21 lines
No EOL
525 B
Nix
21 lines
No EOL
525 B
Nix
{
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs = { nixpkgs, ... }:
|
|
let
|
|
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
|
in {
|
|
devShells = forAllSystems (system:
|
|
let pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
rustc
|
|
cargo
|
|
libiconv
|
|
];
|
|
};
|
|
}
|
|
);
|
|
};
|
|
} |