Skip to content

Commit

Permalink
chore(flake): instantiate libenv inside flake
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Mar 26, 2024
1 parent 1bc7a7d commit f44a7a9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
description = "haylxon dev flake";
inputs =
{
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
Expand All @@ -9,11 +8,21 @@
let
system = "aarch64-darwin";
pkgs = nixpkgs.legacyPackages.${system};
nonRustDeps = [
pkgs.libiconv
];
in
{
devShells.${system}.default = pkgs.mkShell
{
packages = with pkgs; [ rustup ];
shellHook = ''
echo
echo "🍎🍎 You are inside nix-shell"
echo
zsh
'';
buildInputs = nonRustDeps;
packages = with pkgs; [ darwin.apple_sdk.frameworks.SystemConfiguration ];
};
};
}
Expand Down

0 comments on commit f44a7a9

Please sign in to comment.