Skip to content
Snippets Groups Projects
Commit 5e7f8559 authored by Max Tomago's avatar Max Tomago
Browse files

Merge branch 'remove-all-cabal-hashes' into 'master'

all-cabal-hashes: remove

See merge request horizon/horizon-platform!18
parents f093fbb5 340026c0
No related merge requests found
{ {
"nodes": { "nodes": {
"all-cabal-hashes": {
"flake": false,
"locked": {
"lastModified": 1667742759,
"narHash": "sha256-PniFwhuGiX32rPHNyqgx8nn1No39SP89CHSoBuJOXlE=",
"owner": "commercialhaskell",
"repo": "all-cabal-hashes",
"rev": "eaf3b72978447f236e82c0de1d6f770e3dec00a7",
"type": "github"
},
"original": {
"owner": "commercialhaskell",
"ref": "hackage",
"repo": "all-cabal-hashes",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1659877975, "lastModified": 1659877975,
...@@ -130,7 +113,6 @@ ...@@ -130,7 +113,6 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"all-cabal-hashes": "all-cabal-hashes",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"get-flake": "get-flake", "get-flake": "get-flake",
"horizon-gen-nix": "horizon-gen-nix", "horizon-gen-nix": "horizon-gen-nix",
......
{ {
inputs = { inputs = {
all-cabal-hashes = {
url = "github:commercialhaskell/all-cabal-hashes/hackage";
flake = false;
};
get-flake.url = "github:ursi/get-flake"; get-flake.url = "github:ursi/get-flake";
lint-utils.url = "git+https://gitlab.homotopic.tech/nix/lint-utils"; lint-utils.url = "git+https://gitlab.homotopic.tech/nix/lint-utils";
horizon-gen-nix = { horizon-gen-nix = {
...@@ -12,22 +8,21 @@ ...@@ -12,22 +8,21 @@
}; };
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
}; };
outputs = inputs@{ self, all-cabal-hashes, nixpkgs, flake-utils, get-flake, horizon-gen-nix, lint-utils, ... }: outputs = inputs@{ self, nixpkgs, flake-utils, get-flake, horizon-gen-nix, lint-utils, ... }:
flake-utils.lib.eachSystem [ "x86_64-linux" ] (system: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let let
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
horizon-gen-nix-app = get-flake horizon-gen-nix; horizon-gen-nix-app = get-flake horizon-gen-nix;
configuration = import ./configuration.nix { inherit inputs pkgs; };
haskellLib = pkgs.haskell.lib.compose; haskellLib = pkgs.haskell.lib.compose;
hsPkgs = pkgs.callPackage (nixpkgs + /pkgs/development/haskell-modules) { hsPkgs = pkgs.callPackage (nixpkgs + /pkgs/development/haskell-modules) {
buildHaskellPackages = pkgs.haskell.packages.ghc942; buildHaskellPackages = pkgs.haskell.packages.ghc942;
compilerConfig = pkgs.callPackage ./configuration-ghc-9.4.x.nix { inherit haskellLib; };
configurationCommon = import ./configuration.nix; configurationCommon = import ./configuration.nix;
configurationNix = { pkgs, haskellLib }: self: super: { }; configurationNix = { pkgs, haskellLib }: self: super: { };
ghc = pkgs.haskell.compiler.ghc942; ghc = pkgs.haskell.compiler.ghc942;
haskellLib = pkgs.haskell.lib.compose; inherit haskellLib;
initialPackages = import ./overlay.nix; initialPackages = import ./overlay.nix;
nonHackagePackages = self: super: { }; nonHackagePackages = self: super: { };
compilerConfig = pkgs.callPackage ./configuration-ghc-9.4.x.nix { haskellLib = haskellLib; };
}; };
hp' = pkgs.lib.filterAttrs hp' = pkgs.lib.filterAttrs
(n: v: v != null (n: v: v != null
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment