init flake

This commit is contained in:
2022-12-03 11:56:29 +01:00
commit 922fcbd934
3 changed files with 72 additions and 0 deletions

28
flake.nix Normal file
View File

@@ -0,0 +1,28 @@
{
description = "pentatrack flake";
inputs = {
utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, utils, nixpkgs }:
utils.lib.eachSystem [ "i686-linux" "x86_64-linux" ]
(system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
shellHok = ''
echo "entering pentatrack devenv"
'';
nativeBuildInputs = [
pkgs.python310Packages.grip
];
};
}
);
}