How to resolve a symlinked file in extra-source-files #232
Answered
by
srid
johnhampton
asked this question in
Q&A
-
I'm trying to override the haskell-effectfu/effectful packages with latest commits from GitHub. I'm getting an error that the Any suggestions on how to resolve this? Thanks! flake.nix{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
haskell-flake.url = "github:srid/haskell-flake";
systems.url = "github:nix-systems/default";
effectful = {
url = "github:haskell-effectful/effectful";
flake = false;
};
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
imports = [ inputs.haskell-flake.flakeModule];
perSystem = { self', inputs', pkgs, config, ... }: {
checks = self'.packages;
haskellProjects.default = {
defaults.settings.default = { haddock = true; };
packages = {
effectful-core.source = "${inputs.effectful}/effectful-core";
effectful.source = "${inputs.effectful}/effectful";
};
# Project settings here
};
};
}
;
} Error
|
Beta Was this translation helpful? Give feedback.
Answered by
srid
Mar 13, 2024
Replies: 1 comment 1 reply
-
You can build |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
johnhampton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can build
packages.<name>.source
path yourself, by copying the symlinks.cf. https://github.com/kowainik/summoner/pull/335/files#diff-245563af9e34754739b12b294f3324c1d42c116ace7ce8735e21dfbc82d8e064R19-R26