feat: haskell added
This commit is contained in:
parent
0ef3e57b21
commit
71c63a89e2
18 changed files with 161 additions and 102 deletions
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
description = "Python flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
systems = [ "x86_64-linux" "aarch64-linux" ];
|
||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||
pkgsForEach = nixpkgs.legacyPackages;
|
||||
in
|
||||
{
|
||||
packages = forAllSystems (system: {
|
||||
default = pkgsForEach.${system}.callPackage ./nix/package.nix { };
|
||||
python-app = self.packages.${system}.default;
|
||||
});
|
||||
|
||||
devShells = forAllSystems (system: {
|
||||
default = pkgsForEach.${system}.callPackage ./nix/shell.nix {
|
||||
inherit (self.packages.${system}) python-app;
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue