build: update nix input `nixpkgs`
authorJulien Moutinho <julm@sourcephile.fr>
Mon, 22 Aug 2022 21:03:24 +0000 (23:03 +0200)
committerJulien Moutinho <julm@sourcephile.fr>
Mon, 22 Aug 2022 21:18:07 +0000 (23:18 +0200)
flake.lock
flake.nix
src/Symantic/Plaintext/Classes.hs

index 78c77b4f97a719a07f802cafb9637677476f5874..b1a5245d68d8e154a63fc255b31d358cb2bf5c9f 100644 (file)
@@ -2,11 +2,11 @@
   "nodes": {
     "nixpkgs": {
       "locked": {
-        "lastModified": 1635110579,
-        "narHash": "sha256-QJzT/ts3reR1wtezw6/05lOur2BhF8ec1IsD7PQ1yEs=",
+        "lastModified": 1660908602,
+        "narHash": "sha256-SwZ85IPWvC4NxxFhWhRMTJpApSHbY1u4YK2UFWEBWvY=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "6b23e8fc7820366e489377b5b00890f088f36a01",
+        "rev": "495b19d5b3e62b4ec7e846bdfb6ef3d9c3b83492",
         "type": "github"
       },
       "original": {
         ]
       },
       "locked": {
-        "lastModified": 1635380370,
-        "narHash": "sha256-2TS2EonIm5rB/FuaQF8O0JJMeRsX0cFoz/nfawHiF5U=",
-        "ref": "main",
-        "rev": "15f57d4bc533cb5a5c355b755b518f5a23a0011b",
-        "revCount": 48,
+        "lastModified": 1646612789,
+        "narHash": "sha256-73J17OLEiUz/CnEUJKtBXcf4AIA3BLQLoB1bLRzBqXs=",
+        "ref": "refs/heads/main",
+        "rev": "b2dccef38e13d96eff2e6e3480c2b1423c08aaa8",
+        "revCount": 60,
         "type": "git",
-        "url": "https://git.code.sourcephile.fr/~julm/symantic-base"
+        "url": "git://git.sourcephile.fr/haskell/symantic-base"
       },
       "original": {
-        "ref": "main",
         "type": "git",
-        "url": "https://git.code.sourcephile.fr/~julm/symantic-base"
+        "url": "git://git.sourcephile.fr/haskell/symantic-base"
       }
     }
   },
index 914b17e76e9712d1196169df8fae36dc7d89fb0a..c7f8aa047cabae3b283ca64ab5625ddce0571b9c 100644 (file)
--- a/flake.nix
+++ b/flake.nix
@@ -1,11 +1,13 @@
 {
 inputs.nixpkgs.url = "flake:nixpkgs";
-inputs.symantic-base.url = "git+https://git.code.sourcephile.fr/~julm/symantic-base?ref=main";
+#inputs.symantic-base.url = "git+https://git.code.sourcephile.fr/~julm/symantic-base?ref=main";
+#inputs.symantic-base.url = "git+ssh://git@losurdo.wg/julm/symantic-base?ref=main";
+inputs.symantic-base.url = "git://git.sourcephile.fr/haskell/symantic-base";
 inputs.symantic-base.inputs.nixpkgs.follows = "nixpkgs";
 outputs = inputs: let
   pkg = "symantic-plaintext";
   lib = inputs.nixpkgs.lib;
-  forAllSystems = f: lib.genAttrs lib.systems.supported.hydra (system: f rec {
+  forAllSystems = f: lib.genAttrs lib.systems.flakeExposed (system: f rec {
     inherit system;
     pkgs = inputs.nixpkgs.legacyPackages.${system};
     haskellPackages = pkgs.haskellPackages.extend (with pkgs.haskell.lib; hfinal: hsuper: {
index 0cbb1519b384bf3ec753e3c7b9413798a1576721..3f6ce09f1e83cb5335ecf7877be80cec064e7b31 100644 (file)
@@ -26,7 +26,7 @@ import Data.Maybe (Maybe (..))
 import Data.Ord (Ord (..))
 import Data.Traversable (Traversable)
 import Numeric.Natural (Natural)
-import Symantic.Class (
+import Symantic.Classes (
   Emptyable (..),
   Inferable (..),
   ProductFunctor (..),