Created
July 17, 2024 13:30
-
-
Save danidiaz/c8cd617adbaa3e677a25772955817c5c to your computer and use it in GitHub Desktop.
python & npm Nix flake from Mac system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "A very basic flake"; | |
inputs = { | |
nixpkgs.url = "nixpkgs/24.05"; | |
}; | |
outputs = { self, nixpkgs }: | |
let system = "aarch64-darwin"; | |
in | |
{ | |
devShells.${system}.default = | |
let | |
pkgs = nixpkgs.legacyPackages.aarch64-darwin; | |
in pkgs.mkShell | |
{ | |
packages = [ | |
pkgs.python3 | |
pkgs.nodejs | |
]; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment