23 Nov 2021 |
| @server_stats:nordgedanken.dev left the room. | 03:31:22 |
26 Nov 2021 |
| immae joined the room. | 09:53:04 |
4 Dec 2021 |
| immae left the room. | 11:04:39 |
4 Jan 2022 |
| j7lc8l joined the room. | 09:40:05 |
1 Feb 2022 |
sterni | nh2: fyi https://github.com/NixOS/nixpkgs/pull/156835 | 11:23:55 |
nh2 | sterni: that's good to know! | 12:18:24 |
28 Feb 2022 |
| @adamcstephens:matrix.org joined the room. | 12:34:00 |
9 Mar 2022 |
| @adamcstephens:matrix.org left the room. | 04:11:20 |
11 Mar 2022 |
| ibizaman joined the room. | 06:09:28 |
26 Mar 2022 |
| @bruceleewees:matrix.org left the room. | 17:18:41 |
7 Apr 2022 |
nh2 | Hi all, I created a @NixOS/static team and started to invite some people into it; let me know if you want to be added (I don't know if it/Github allows requesting to be invited): https://github.com/orgs/NixOS/teams/static/members | 17:15:09 |
8 Apr 2022 |
maralorn | I have to say I actually never tried or intend to compile something statically. But I'll stay in just because. ^^ | 15:58:10 |
18 Apr 2022 |
| @wybpip:matrix.org joined the room. | 11:04:22 |
| @wybpip:matrix.org left the room. | 11:04:23 |
21 Apr 2022 |
| kphlwt joined the room. | 17:54:00 |
kphlwt | I hope this is the correct room. I'm using NixOS and trying to start my first small Haskell project. (I'm still learning) I want to use a Nix Flake with haskell.nix, but the example project (hello haskell) doesn't build.
$ nix build .#hello:exe:hello
trace: No index state specified for haskell-project, using the latest index state that we know about (2022-04-20T00:00:00Z)!
trace: ERROR: cabal configure failed with:
Warning: The package list for 'hackage.haskell.org-at-2022-04-20T000000Z' is
19103 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: hello (user goal)
[__0] rejecting: hello-1.0.0.2, hello-1.0.0.1, hello-1.0 (constraint from user
target requires ==0.1.0.0)
[__0] trying: hello-0.1.0.0
[__1] next goal: base (dependency of hello)
[__1] rejecting: base-4.16.1.0/installed-4.16.1.0 (conflict: hello =>
base^>=4.15.1.0)
[__1] skipping: base-4.16.1.0, base-4.16.0.0 (has the same characteristics
that caused the previous version to fail: excluded by constraint '^>=4.15.1.0'
from 'hello')
[__1] rejecting: base-4.15.1.0, base-4.15.0.0, base-4.14.3.0, base-4.14.2.0,
base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0, base-4.11.1.0,
base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0,
base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1,
base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0,
base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2,
base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2,
base-3.0.3.1 (constraint from non-upgradeable package requires installed
instance)
[__1] fail (backjumping, conflict set: base, hello)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, hello
error: flake 'git+file:///path/to/my/flake' does not provide attribute 'packages.x86_64-linux.hello:exe:hello', 'legacyPackages.x86_64-linux.hello:exe:hello' or 'hello:exe:hello'
after cabal update cabal run started to work, but not nix build (which makse sense, since i cabal update d only my installation of cabal and not the one in the build environment.) How can I update that one?
| 18:14:25 |
kphlwt | * I hope this is the correct room. I'm using NixOS and trying to start my first small Haskell project. (I'm still learning) I want to use a Nix Flake with haskell.nix, but the example project (hello haskell) doesn't build.
$ nix build .#hello:exe:hello
trace: No index state specified for haskell-project, using the latest index state that we know about (2022-04-20T00:00:00Z)!
trace: ERROR: cabal configure failed with:
Warning: The package list for 'hackage.haskell.org-at-2022-04-20T000000Z' is
19103 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: hello (user goal)
[__0] rejecting: hello-1.0.0.2, hello-1.0.0.1, hello-1.0 (constraint from user
target requires ==0.1.0.0)
[__0] trying: hello-0.1.0.0
[__1] next goal: base (dependency of hello)
[__1] rejecting: base-4.16.1.0/installed-4.16.1.0 (conflict: hello =>
base^>=4.15.1.0)
[__1] skipping: base-4.16.1.0, base-4.16.0.0 (has the same characteristics
that caused the previous version to fail: excluded by constraint '^>=4.15.1.0'
from 'hello')
[__1] rejecting: base-4.15.1.0, base-4.15.0.0, base-4.14.3.0, base-4.14.2.0,
base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0, base-4.11.1.0,
base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0,
base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1,
base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0,
base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2,
base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2,
base-3.0.3.1 (constraint from non-upgradeable package requires installed
instance)
[__1] fail (backjumping, conflict set: base, hello)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, hello
error: flake 'git+file:///path/to/my/flake' does not provide attribute 'packages.x86_64-linux.hello:exe:hello', 'legacyPackages.x86_64-linux.hello:exe:hello' or 'hello:exe:hello'
after cabal update cabal run started to work, but not nix build (which makse sense, since i cabal update d only my installation of cabal and not the one in the build environment.) How can I update that one?
| 18:16:20 |
kphlwt | * I hope this is the correct room. I'm using NixOS and trying to start my first small Haskell project. (I'm still learning) I want to use a Nix Flake with haskell.nix, but the example project (hello haskell) doesn't build.
$ nix build .#hello:exe:hello
trace: No index state specified for haskell-project, using the latest index state that we know about (2022-04-20T00:00:00Z)!
trace: ERROR: cabal configure failed with:
Warning: The package list for 'hackage.haskell.org-at-2022-04-20T000000Z' is
19103 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: hello (user goal)
[__0] rejecting: hello-1.0.0.2, hello-1.0.0.1, hello-1.0 (constraint from user
target requires ==0.1.0.0)
[__0] trying: hello-0.1.0.0
[__1] next goal: base (dependency of hello)
[__1] rejecting: base-4.16.1.0/installed-4.16.1.0 (conflict: hello =>
base^>=4.15.1.0)
[__1] skipping: base-4.16.1.0, base-4.16.0.0 (has the same characteristics
that caused the previous version to fail: excluded by constraint '^>=4.15.1.0'
from 'hello')
[__1] rejecting: base-4.15.1.0, base-4.15.0.0, base-4.14.3.0, base-4.14.2.0,
base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0, base-4.11.1.0,
base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0,
base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1,
base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0,
base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2,
base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2,
base-3.0.3.1 (constraint from non-upgradeable package requires installed
instance)
[__1] fail (backjumping, conflict set: base, hello)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, hello
error: flake 'git+file:///path/to/my/flake' does not provide attribute 'packages.x86_64-linux.hello:exe:hello', 'legacyPackages.x86_64-linux.hello:exe:hello' or 'hello:exe:hello'
after cabal update cabal run started to work, but not nix build (which makse sense, since i cabal update d only my installation of cabal and not the one in the build environment.) How can I update that one?
| 18:16:41 |
sibnull | In reply to @elias02:matrix.org
I hope this is the correct room. I'm using NixOS and trying to start my first small Haskell project. (I'm still learning) I want to use a Nix Flake with haskell.nix, but the example project (hello haskell) doesn't build.
$ nix build .#hello:exe:hello
trace: No index state specified for haskell-project, using the latest index state that we know about (2022-04-20T00:00:00Z)!
trace: ERROR: cabal configure failed with:
Warning: The package list for 'hackage.haskell.org-at-2022-04-20T000000Z' is
19103 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: hello (user goal)
[__0] rejecting: hello-1.0.0.2, hello-1.0.0.1, hello-1.0 (constraint from user
target requires ==0.1.0.0)
[__0] trying: hello-0.1.0.0
[__1] next goal: base (dependency of hello)
[__1] rejecting: base-4.16.1.0/installed-4.16.1.0 (conflict: hello =>
base^>=4.15.1.0)
[__1] skipping: base-4.16.1.0, base-4.16.0.0 (has the same characteristics
that caused the previous version to fail: excluded by constraint '^>=4.15.1.0'
from 'hello')
[__1] rejecting: base-4.15.1.0, base-4.15.0.0, base-4.14.3.0, base-4.14.2.0,
base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0, base-4.11.1.0,
base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0,
base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1,
base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0,
base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2,
base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2,
base-3.0.3.1 (constraint from non-upgradeable package requires installed
instance)
[__1] fail (backjumping, conflict set: base, hello)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, hello
error: flake 'git+file:///path/to/my/flake' does not provide attribute 'packages.x86_64-linux.hello:exe:hello', 'legacyPackages.x86_64-linux.hello:exe:hello' or 'hello:exe:hello'
after cabal update cabal run started to work, but not nix build (which makse sense, since i cabal update d only my installation of cabal and not the one in the build environment.) How can I update that one?
I use this: https://github.com/jonascarpay/template-haskell | 21:18:06 |
kphlwt | thanks, i will have a look | 21:20:29 |
nh2 | kphlwt: this isn't quite the right room; this is about building fully static Haskell executables, which is a bit of an advanced topic. You are probably looking for the Nix Haskell channel | 22:27:25 |
kphlwt | i can't find that one. Do you have a link? | 22:31:15 |
nh2 | kphlwt: https://app.element.io/#/room/#haskell:nixos.org | 22:31:36 |
kphlwt | thanks | 22:32:04 |
30 Apr 2022 |
sterni | or rather #haskell.nix on libera.chat which is the haskell.nix channel | 10:11:24 |
1 May 2022 |
| @wybpip:matrix.org joined the room. | 21:45:43 |
| @wybpip:matrix.org left the room. | 21:45:43 |
24 May 2022 |
| salimp joined the room. | 12:41:11 |
22 Jun 2022 |
| 50^2 joined the room. | 06:41:48 |
23 Jun 2022 |
| @better_sleeping:converser.eu joined the room. | 23:44:41 |