Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ff6b817b4b | |||
| 93c680a033 | |||
| ff82290cef |
@@ -6,12 +6,12 @@ cabal-version: 3.4
|
|||||||
-- Starting from the specification version 2.2, the cabal-version field must be
|
-- Starting from the specification version 2.2, the cabal-version field must be
|
||||||
-- the first thing in the cabal file.
|
-- 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:
|
-- 'cabal init'. For further documentation, see:
|
||||||
-- http://haskell.org/cabal/users-guide/
|
-- http://haskell.org/cabal/users-guide/
|
||||||
--
|
--
|
||||||
-- The name of the package.
|
-- The name of the package.
|
||||||
name: Estinen
|
name: Estinien
|
||||||
|
|
||||||
-- The package version.
|
-- The package version.
|
||||||
-- See the Haskell package versioning policy (PVP) for standards
|
-- See the Haskell package versioning policy (PVP) for standards
|
||||||
@@ -78,7 +78,7 @@ library
|
|||||||
-- Base language which the package is written in.
|
-- Base language which the package is written in.
|
||||||
default-language: GHC2024
|
default-language: GHC2024
|
||||||
|
|
||||||
executable Estinen
|
executable Estinien
|
||||||
-- Import common warning flags.
|
-- Import common warning flags.
|
||||||
import: warnings
|
import: warnings
|
||||||
|
|
||||||
@@ -94,7 +94,7 @@ executable Estinen
|
|||||||
-- Other library packages from which modules are imported.
|
-- Other library packages from which modules are imported.
|
||||||
build-depends:
|
build-depends:
|
||||||
base >=4.19.2.0,
|
base >=4.19.2.0,
|
||||||
Estinen
|
Estinien
|
||||||
|
|
||||||
-- Directories containing source files.
|
-- Directories containing source files.
|
||||||
hs-source-dirs: app
|
hs-source-dirs: app
|
||||||
@@ -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.
|
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
|
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.
|
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,4 +1,4 @@
|
|||||||
# Estinen
|
# Estinien
|
||||||
|
|
||||||
Sudoku solver written in haskell
|
Sudoku solver written in haskell
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
description = "Estinen goes flakes";
|
description = "Estinien goes flakes";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
@@ -34,12 +34,12 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
packages = rec {
|
packages = rec {
|
||||||
default = estinen;
|
default = estinien;
|
||||||
estinen = pkgs.haskell.packages.${ghcVer}.estinen;
|
estinien = pkgs.haskell.packages.${ghcVer}.estinien;
|
||||||
};
|
};
|
||||||
|
|
||||||
checks = {
|
checks = {
|
||||||
inherit (self.packages.${system}) estinen;
|
inherit (self.packages.${system}) estinien;
|
||||||
};
|
};
|
||||||
|
|
||||||
# for debugging
|
# for debugging
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
let haskellPackages = pkgs.haskell.packages.${ghcVer};
|
let haskellPackages = pkgs.haskell.packages.${ghcVer};
|
||||||
in
|
in
|
||||||
haskellPackages.shellFor {
|
haskellPackages.shellFor {
|
||||||
packages = p: [ self.packages.${system}.estinen ];
|
packages = p: [ self.packages.${system}.estinien ];
|
||||||
withHoogle = true;
|
withHoogle = true;
|
||||||
buildInputs =
|
buildInputs =
|
||||||
(with pkgs; [
|
(with pkgs; [
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
default = makeHaskellOverlay (prev: hfinal: hprev:
|
default = makeHaskellOverlay (prev: hfinal: hprev:
|
||||||
let hlib = prev.haskell.lib; in
|
let hlib = prev.haskell.lib; in
|
||||||
{
|
{
|
||||||
estinen = hprev.callCabal2nix "estinen" ./. { };
|
estinien = hprev.callCabal2nix "estinien" ./. { };
|
||||||
|
|
||||||
rando = hlib.dontCheck hprev.rando;
|
rando = hlib.dontCheck hprev.rando;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user