Compare commits

..

3 Commits

Author SHA1 Message Date
pingu ff6b817b4b A bit 2025-10-08 14:01:16 +02:00
pingu 93c680a033 Cabal init 2025-10-08 14:01:16 +02:00
pingu ff82290cef Initial commit 2025-10-08 14:01:15 +02: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 'Estinen' generated by
-- Initial package description 'Estinien' generated by
-- 'cabal init'. For further documentation, see:
-- http://haskell.org/cabal/users-guide/
--
-- The name of the package.
name: Estinen
name: Estinien
-- 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 Estinen
executable Estinien
-- Import common warning flags.
import: warnings
@@ -94,7 +94,7 @@ executable Estinen
-- Other library packages from which modules are imported.
build-depends:
base >=4.19.2.0,
Estinen
Estinien
-- 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.
Estinen
Estinien
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 @@
# Estinen
# Estinien
Sudoku solver written in haskell
+6 -6
View File
@@ -1,5 +1,5 @@
{
description = "Estinen goes flakes";
description = "Estinien goes flakes";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
@@ -34,12 +34,12 @@
in
{
packages = rec {
default = estinen;
estinen = pkgs.haskell.packages.${ghcVer}.estinen;
default = estinien;
estinien = pkgs.haskell.packages.${ghcVer}.estinien;
};
checks = {
inherit (self.packages.${system}) estinen;
inherit (self.packages.${system}) estinien;
};
# for debugging
@@ -49,7 +49,7 @@
let haskellPackages = pkgs.haskell.packages.${ghcVer};
in
haskellPackages.shellFor {
packages = p: [ self.packages.${system}.estinen ];
packages = p: [ self.packages.${system}.estinien ];
withHoogle = true;
buildInputs =
(with pkgs; [
@@ -70,7 +70,7 @@
default = makeHaskellOverlay (prev: hfinal: hprev:
let hlib = prev.haskell.lib; in
{
estinen = hprev.callCabal2nix "estinen" ./. { };
estinien = hprev.callCabal2nix "estinien" ./. { };
rando = hlib.dontCheck hprev.rando;
});