Compare commits

..

3 Commits

Author SHA1 Message Date
pingu d04c6c6e26 A bit 2025-10-08 13:00:32 +02:00
pingu e5699025ba Cabal init 2025-10-08 10:07:00 +02:00
pingu d5a64d7596 Initial commit 2025-10-08 07:52:25 +00:00
4 changed files with 12 additions and 12 deletions
+4 -4
View File
@@ -6,12 +6,12 @@ cabal-version: 3.4
-- Starting from the specification version 2.2, the cabal-version field must be
-- the first thing in the cabal file.
-- Initial package description 'Estinien' generated by
-- Initial package description 'Estinen' generated by
-- 'cabal init'. For further documentation, see:
-- http://haskell.org/cabal/users-guide/
--
-- The name of the package.
name: Estinien
name: Estinen
-- The package version.
-- See the Haskell package versioning policy (PVP) for standards
@@ -78,7 +78,7 @@ library
-- Base language which the package is written in.
default-language: GHC2024
executable Estinien
executable Estinen
-- Import common warning flags.
import: warnings
@@ -94,7 +94,7 @@ executable Estinien
-- Other library packages from which modules are imported.
build-depends:
base >=4.19.2.0,
Estinien
Estinen
-- Directories containing source files.
hs-source-dirs: app
+1 -1
View File
@@ -219,7 +219,7 @@ If you develop a new program, and you want it to be of the greatest possible use
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
Estinien
Estinen
Copyright (C) 2025 pingu
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+1 -1
View File
@@ -1,4 +1,4 @@
# Estinien
# Estinen
Sudoku solver written in haskell
+6 -6
View File
@@ -1,5 +1,5 @@
{
description = "Estinien goes flakes";
description = "Estinen goes flakes";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
@@ -34,12 +34,12 @@
in
{
packages = rec {
default = estinien;
estinien = pkgs.haskell.packages.${ghcVer}.estinien;
default = estinen;
estinen = pkgs.haskell.packages.${ghcVer}.estinen;
};
checks = {
inherit (self.packages.${system}) estinien;
inherit (self.packages.${system}) estinen;
};
# for debugging
@@ -49,7 +49,7 @@
let haskellPackages = pkgs.haskell.packages.${ghcVer};
in
haskellPackages.shellFor {
packages = p: [ self.packages.${system}.estinien ];
packages = p: [ self.packages.${system}.estinen ];
withHoogle = true;
buildInputs =
(with pkgs; [
@@ -70,7 +70,7 @@
default = makeHaskellOverlay (prev: hfinal: hprev:
let hlib = prev.haskell.lib; in
{
estinien = hprev.callCabal2nix "estinien" ./. { };
estinen = hprev.callCabal2nix "estinen" ./. { };
rando = hlib.dontCheck hprev.rando;
});