init neue

This commit is contained in:
mtgmonkey
2025-12-22 15:58:44 +01:00
parent 732a4efd33
commit 298a13b60d
9 changed files with 539 additions and 325 deletions

View File

@@ -1,13 +1,28 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
};
outputs = {nixpkgs, ...}: let
outputs = {
nixpkgs,
self,
...
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system} = {
default = pkgs.callPackage ./package.nix {};
default =
pkgs.haskellPackages.callCabal2nix "hs-glsl" ./. {};
};
devShells.${system} = {
default = pkgs.mkShell {
packages = [
pkgs.cabal-install
];
inputsFrom = [
self.packages.${system}.default
];
};
};
};
}