mirror of https://github.com/voidlizard/hbs2
ghc 9.2.4 / latest nixpkgs
This commit is contained in:
parent
19c36c5ac8
commit
6fe20ab1a8
151
flake.lock
151
flake.lock
|
@ -1,5 +1,25 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"fixme": {
|
||||||
|
"inputs": {
|
||||||
|
"haskell-flake-utils": "haskell-flake-utils",
|
||||||
|
"nixpkgs": "nixpkgs",
|
||||||
|
"suckless-conf": "suckless-conf"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1675929344,
|
||||||
|
"narHash": "sha256-iytvSV60QF7xNWZKcljjMknSgU3uwAcqqlNiqGRzRLQ=",
|
||||||
|
"owner": "voidlizard",
|
||||||
|
"repo": "fixme",
|
||||||
|
"rev": "e9bb7ccb97649db13b519aa79d1f36bdd1dda55d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "voidlizard",
|
||||||
|
"repo": "fixme",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1644229661,
|
"lastModified": 1644229661,
|
||||||
|
@ -30,6 +50,36 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-utils_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1644229661,
|
||||||
|
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils_4": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1644229661,
|
||||||
|
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"haskell-flake-utils": {
|
"haskell-flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils"
|
"flake-utils": "flake-utils"
|
||||||
|
@ -44,7 +94,6 @@
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "ivanovs-4",
|
"owner": "ivanovs-4",
|
||||||
"ref": "master",
|
|
||||||
"repo": "haskell-flake-utils",
|
"repo": "haskell-flake-utils",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -61,6 +110,43 @@
|
||||||
"rev": "896219e5bde6efac72198550454e9dd9b5ed9ac9",
|
"rev": "896219e5bde6efac72198550454e9dd9b5ed9ac9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ivanovs-4",
|
||||||
|
"repo": "haskell-flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"haskell-flake-utils_3": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1672412555,
|
||||||
|
"narHash": "sha256-Kaa8F7nQFR3KuS6Y9WRUxeJeZlp6CCubyrRfmiEsW4k=",
|
||||||
|
"owner": "ivanovs-4",
|
||||||
|
"repo": "haskell-flake-utils",
|
||||||
|
"rev": "896219e5bde6efac72198550454e9dd9b5ed9ac9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ivanovs-4",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "haskell-flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"haskell-flake-utils_4": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils_4"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1672412555,
|
||||||
|
"narHash": "sha256-Kaa8F7nQFR3KuS6Y9WRUxeJeZlp6CCubyrRfmiEsW4k=",
|
||||||
|
"owner": "ivanovs-4",
|
||||||
|
"repo": "haskell-flake-utils",
|
||||||
|
"rev": "896219e5bde6efac72198550454e9dd9b5ed9ac9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "ivanovs-4",
|
"owner": "ivanovs-4",
|
||||||
"repo": "haskell-flake-utils",
|
"repo": "haskell-flake-utils",
|
||||||
|
@ -70,7 +156,7 @@
|
||||||
},
|
},
|
||||||
"hspup": {
|
"hspup": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"haskell-flake-utils": "haskell-flake-utils_2",
|
"haskell-flake-utils": "haskell-flake-utils_4",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
|
@ -91,25 +177,55 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1675237434,
|
"lastModified": 1675760670,
|
||||||
"narHash": "sha256-YoFR0vyEa1HXufLNIFgOGhIFMRnY6aZ0IepZF5cYemo=",
|
"narHash": "sha256-do2YGWoNUEPnmE0gWkdGJqsfQ2ARJOkzIfWt+gSpNbA=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "e63fe191354ccc082199b550980e346597c52282",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1675758091,
|
||||||
|
"narHash": "sha256-7gFSQbSVAFUHtGCNHPF7mPc5CcqDk9M2+inlVPZSneg=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "747927516efcb5e31ba03b7ff32f61f6d47e7d87",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1675931149,
|
||||||
|
"narHash": "sha256-UcsoOsP9tDlENB1KKdr9EgSmA124id6OxpHb7IpHlD8=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "285b3ff0660640575186a4086e1f8dc0df2874b5",
|
"rev": "47773312034cce8fc09ee166df4d61dd47d8e7d9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-22.11",
|
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"haskell-flake-utils": "haskell-flake-utils",
|
"fixme": "fixme",
|
||||||
|
"haskell-flake-utils": "haskell-flake-utils_3",
|
||||||
"hspup": "hspup",
|
"hspup": "hspup",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"saltine": "saltine"
|
"saltine": "saltine"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -129,6 +245,25 @@
|
||||||
"rev": "3d3a54cf46f78b71b4b55653482fb6f4cee6b77d",
|
"rev": "3d3a54cf46f78b71b4b55653482fb6f4cee6b77d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"suckless-conf": {
|
||||||
|
"inputs": {
|
||||||
|
"haskell-flake-utils": "haskell-flake-utils_2",
|
||||||
|
"nixpkgs": "nixpkgs_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1675928120,
|
||||||
|
"narHash": "sha256-vt5i9Ad0wSWbLvRBDqszUgI5+7zSJlGMcXPANC8rH2Q=",
|
||||||
|
"owner": "voidlizard",
|
||||||
|
"repo": "suckless-conf",
|
||||||
|
"rev": "54377068aac95cbfd8c69177a101c434feecff41",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "voidlizard",
|
||||||
|
"repo": "suckless-conf",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
@ -3,12 +3,15 @@ description = "hbs2";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
nixpkgs.url = "github:nixos/nixpkgs";
|
||||||
# haskell-flake-utils.url = "github:ivanovs-4/haskell-flake-utils";
|
# haskell-flake-utils.url = "github:ivanovs-4/haskell-flake-utils";
|
||||||
haskell-flake-utils.url = "github:ivanovs-4/haskell-flake-utils/master";
|
haskell-flake-utils.url = "github:ivanovs-4/haskell-flake-utils/master";
|
||||||
hspup.url = "github:voidlizard/hspup";
|
hspup.url = "github:voidlizard/hspup";
|
||||||
hspup.inputs.nixpkgs.follows = "nixpkgs";
|
hspup.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
fixme.url = "github:voidlizard/fixme";
|
||||||
|
# fixme.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
saltine = {
|
saltine = {
|
||||||
url = "github:tel/saltine/3d3a54cf46f78b71b4b55653482fb6f4cee6b77d";
|
url = "github:tel/saltine/3d3a54cf46f78b71b4b55653482fb6f4cee6b77d";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
@ -65,6 +68,7 @@ outputs = { self, nixpkgs, haskell-flake-utils, ... }@inputs:
|
||||||
haskellPackages.haskell-language-server
|
haskellPackages.haskell-language-server
|
||||||
pkg-config
|
pkg-config
|
||||||
inputs.hspup.packages.${pkgs.system}.default
|
inputs.hspup.packages.${pkgs.system}.default
|
||||||
|
inputs.fixme.packages.${pkgs.system}.default
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -103,7 +103,7 @@ library
|
||||||
|
|
||||||
-- other-modules:
|
-- other-modules:
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
build-depends: base ^>=4.15.1.0
|
build-depends: base
|
||||||
, aeson
|
, aeson
|
||||||
, async
|
, async
|
||||||
, attoparsec
|
, attoparsec
|
||||||
|
@ -166,7 +166,7 @@ test-suite test
|
||||||
hs-source-dirs: test
|
hs-source-dirs: test
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
build-depends:
|
build-depends:
|
||||||
base ^>=4.15.1.0, hbs2-core
|
base, hbs2-core
|
||||||
, async
|
, async
|
||||||
, bytestring
|
, bytestring
|
||||||
, cache
|
, cache
|
||||||
|
|
|
@ -151,7 +151,9 @@ data instance Event e (PeerHandshake e) =
|
||||||
KnownPeerEvent (Peer e) (PeerData e)
|
KnownPeerEvent (Peer e) (PeerData e)
|
||||||
deriving stock (Typeable)
|
deriving stock (Typeable)
|
||||||
|
|
||||||
instance Typeable (KnownPeer e) => Hashable (EventKey e (KnownPeer e)) where
|
instance ( Typeable (KnownPeer e)
|
||||||
|
, Eq (EventKey e (KnownPeer e))
|
||||||
|
) => Hashable (EventKey e (KnownPeer e)) where
|
||||||
hashWithSalt salt _ = hashWithSalt salt (someTypeRep p)
|
hashWithSalt salt _ = hashWithSalt salt (someTypeRep p)
|
||||||
where
|
where
|
||||||
p = Proxy @(KnownPeer e)
|
p = Proxy @(KnownPeer e)
|
||||||
|
|
|
@ -18,7 +18,7 @@ common warnings
|
||||||
|
|
||||||
common common-deps
|
common common-deps
|
||||||
build-depends:
|
build-depends:
|
||||||
base ^>=4.15.1.0, hbs2-core, hbs2-storage-simple
|
base, hbs2-core, hbs2-storage-simple
|
||||||
, async
|
, async
|
||||||
, bytestring
|
, bytestring
|
||||||
, cache
|
, cache
|
||||||
|
@ -38,7 +38,7 @@ common common-deps
|
||||||
, random
|
, random
|
||||||
, random-shuffle
|
, random-shuffle
|
||||||
, safe
|
, safe
|
||||||
, saltine ^>=0.2.0.1
|
, saltine >=0.2.0.1
|
||||||
, serialise
|
, serialise
|
||||||
, split
|
, split
|
||||||
, stm
|
, stm
|
||||||
|
@ -108,7 +108,7 @@ executable hbs2-peer
|
||||||
, PeerTypes
|
, PeerTypes
|
||||||
|
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
build-depends: base ^>=4.15.1.0
|
build-depends: base
|
||||||
hs-source-dirs: app
|
hs-source-dirs: app
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ library
|
||||||
, HBS2.Storage.Simple.Extra
|
, HBS2.Storage.Simple.Extra
|
||||||
-- other-modules:
|
-- other-modules:
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
build-depends: base ^>=4.15.1.0, hbs2-core
|
build-depends: base, hbs2-core
|
||||||
, async
|
, async
|
||||||
, bytestring
|
, bytestring
|
||||||
, bytestring-mmap
|
, bytestring-mmap
|
||||||
|
@ -97,7 +97,7 @@ test-suite test
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
base ^>=4.15.1.0, hbs2-storage-simple, hbs2-core
|
base, hbs2-storage-simple, hbs2-core
|
||||||
, async
|
, async
|
||||||
, bytestring
|
, bytestring
|
||||||
, cborg
|
, cborg
|
||||||
|
|
|
@ -18,7 +18,7 @@ common warnings
|
||||||
|
|
||||||
common common-deps
|
common common-deps
|
||||||
build-depends:
|
build-depends:
|
||||||
base ^>=4.15.1.0, hbs2-core, hbs2-storage-simple
|
base, hbs2-core, hbs2-storage-simple
|
||||||
, async
|
, async
|
||||||
, bytestring
|
, bytestring
|
||||||
, cache
|
, cache
|
||||||
|
@ -126,7 +126,7 @@ executable test-udp
|
||||||
main-is: TestUDP.hs
|
main-is: TestUDP.hs
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
base ^>=4.15.1.0, hbs2-core, hbs2-storage-simple
|
base, hbs2-core, hbs2-storage-simple
|
||||||
, async
|
, async
|
||||||
, attoparsec
|
, attoparsec
|
||||||
, bytestring
|
, bytestring
|
||||||
|
@ -176,7 +176,7 @@ executable test-logger
|
||||||
main-is: TestLogger.hs
|
main-is: TestLogger.hs
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
base ^>=4.15.1.0, hbs2-core, hbs2-storage-simple
|
base, hbs2-core, hbs2-storage-simple
|
||||||
, async
|
, async
|
||||||
, attoparsec
|
, attoparsec
|
||||||
, bytestring
|
, bytestring
|
||||||
|
|
|
@ -61,7 +61,7 @@ executable hbs2
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
-- other-modules:
|
-- other-modules:
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
build-depends: base ^>=4.15.1.0, hbs2-core, hbs2-storage-simple
|
build-depends: base, hbs2-core, hbs2-storage-simple
|
||||||
, aeson
|
, aeson
|
||||||
, async
|
, async
|
||||||
, base58-bytestring
|
, base58-bytestring
|
||||||
|
|
Loading…
Reference in New Issue