Steps To Reproduce
Steps to reproduce the behavior:
flake.nix:
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
for-all-systems.url = "github:Industrial/for-all-systems";
for-all-systems.inputs.nixpkgs.follows = "nixpkgs";
flake-checks.url = "github:Industrial/flake-checks/v1.1.0";
flake-checks.inputs.nixpkgs.follows = "nixpkgs";
flake-devshells.url = "github:Industrial/flake-devshells";
flake-devshells.inputs.nixpkgs.follows = "nixpkgs";
flake-github-actions.url = "github:Industrial/flake-github-actions";
flake-github-actions.inputs.nixpkgs.follows = "nixpkgs";
git-hooks.url = "github:cachix/git-hooks.nix";
git-hooks.inputs.nixpkgs.follows = "nixpkgs";
nix-github-actions.url = "github:nix-community/nix-github-actions";
nix-github-actions.inputs.nixpkgs.follows = "nixpkgs";
# ghc-wasm-meta.url = "gitlab:ghc/ghc-wasm-meta?host=gitlab.haskell.org";
ghc-wasm-meta.url = "https://gitlab.haskell.org/ghc/ghc-wasm-meta/-/archive/master/ghc-wasm-meta-master.tar.gz";
};
outputs = inputs @ {self, ...}: let
systems = ["x86_64-linux" "aarch64-darwin"];
forAllSystems = inputs.for-all-systems.forAllSystems {
inherit systems;
nixpkgs = inputs.nixpkgs;
};
in {
githubActions = inputs.flake-github-actions.github-actions {
inherit systems;
checks = inputs.flake-checks.checks;
} {inherit inputs;};
checks = forAllSystems ({system, ...}:
inputs.flake-checks.checks {
inherit inputs system;
run-unit-tests = false;
custom-hooks = {
pre-commit = {
enable = true;
name = "Pre Push";
entry = "bun test && bun build";
pass_filenames = false;
stages = ["pre-commit"];
};
};
});
devShells = forAllSystems ({
system,
pkgs,
...
}:
inputs.flake-devshells.devshells {
packages = with pkgs; [
# Repository
pre-commit
direnv
# TypeScript
bun
nodePackages.rollup
jq
# EdgeDB
edgedb
# Ollama
ollama
# Haskell
inputs.ghc-wasm-meta.packages.${system}.all_9_10
cabal-install
# ghc
haskell-language-server
haskell.compiler.ghcjs
haskell.packages.ghcjs.ghcjs-base
#haskellPackages.ghc-experimental
haskellPackages.hlint
# wasmtime
wasmtime
];
} {inherit self system pkgs;});
};
}
Build log
It doesn't get to a log or a .drv file because the build seems to hang on a Node.js stack trace:
[1/0/25 built] building hspec-discover-2.7.10 (buildPhase): [4 of 6] Compiling Test.Hspec.Discover.RunSpec ( test/Test/Hspec/Discover/RunSpec.hs, dist/build/spec/spec-tmp/Test/Hspec/Discover/RunSpec.js_o )direnv: ([/nix/store/ml0yghnf9h5rb4dmv1brkfi60ils8gz6-direnv-2.34.0/bin/direnv export fish]) is taking a while to execute. Use CTRL-C to give up.
[1/0/25 built] building hspec-discover-2.7.10 (checkPhase): at FSReqCallback.oncomplete (node:fs:197:21)
Additional context
Add any other context about the problem here.
Notify maintainers
@sternenseemann you are the only maintainer I find in the file (
|
# Point hspec 2.7.10 to correct dependencies |
) which is the only notice of this package + version in nixpkgs so I hope I am tagging the right person here :-)
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
skeleton-nodejs on main [!⇡] via 🥟 via
❯ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.6.47, NixOS, 24.11 (Vicuna), 24.11.20240905.9bb1e75`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.5`
- channels(root): `"darwin, nixos-24.05"`
- nixpkgs: `/nix/store/x615nvk9kw68cmsg01aahd1v0kzv9ifn-source`
skeleton-nodejs on main [!⇡] via 🥟 via took 4s
❯ fastfetch
▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖ tom@huginn
▜███▙ ▜███▙ ▟███▛ ----------
▜███▙ ▜███▙▟███▛ OS: NixOS 24.11.20240905.9bb1e75 (Vicuna) x86_64
▜███▙ ▜██████▛ Host: StarLite (1.0)
▟█████████████████▙ ▜████▛ ▟▙ Kernel: Linux 6.6.47
▟███████████████████▙ ▜███▙ ▟██▙ Uptime: 7 days, 21 hours, 7 mins
▄▄▄▄▖ ▜███▙ ▟███▛ Packages: 1729 (nix-system)
▟███▛ ▜██▛ ▟███▛ Shell: fish 3.7.1
▟███▛ ▜▛ ▟███▛ Display (BOE0B36): 2160x1440 @ 60 Hz in 13″ [Built-in]
▟███████████▛ ▟██████████▙ DE: GNOME 46.4
▜██████████▛ ▟███████████▛ WM: Mutter (Wayland)
▟███▛ ▟▙ ▟███▛ WM Theme: Adwaita
▟███▛ ▟██▙ ▟███▛ Theme: Adwaita [GTK2/3/4]
▟███▛ ▜███▙ ▝▀▀▀▀ Icons: Adwaita [GTK2/3/4]
▜██▛ ▜███▙ ▜██████████████████▛ Font: Cantarell (11pt) [GTK2/3/4]
▜▛ ▟████▙ ▜████████████████▛ Cursor: Adwaita (24px)
▟██████▙ ▜███▙ Terminal: code 1.90.1
▟███▛▜███▙ ▜███▙ CPU: Intel(R) N200 (4) @ 3.70 GHz
▟███▛ ▜███▙ ▜███▙ GPU: Intel UHD Graphics @ 0.75 GHz [Integrated]
▝▀▀▀ ▀▀▀▀▘ ▀▀▀▘ Memory: 10.38 GiB / 15.47 GiB (67%)
Swap: Disabled
Disk (/): 142.17 GiB / 467.87 GiB (30%) - ext4
Disk (/run/media/tom/Data): 2.73 GiB / 937.62 GiB (0%) - ext4
Local IP (wlp0s20f3): 192.168.8.101/24
Battery (AEC3756153-2S1P-N): 96% [Charging]
Locale: en_US.UTF-8
Add a 👍 reaction to issues you find important.
Steps To Reproduce
Steps to reproduce the behavior:
flake.nix:Build log
It doesn't get to a log or a
.drvfile because the build seems to hang on a Node.js stack trace:Additional context
Add any other context about the problem here.
Notify maintainers
@sternenseemann you are the only maintainer I find in the file (
nixpkgs/pkgs/development/haskell-modules/configuration-common.nix
Line 1865 in d1f2bc2
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"and paste the result.Add a 👍 reaction to issues you find important.