Newest at the top
2025-02-03 21:58:00 +0100 | kenran | (~kenran@user/kenran) kenran |
2025-02-03 21:57:25 +0100 | <dminuoso> | If you dont, it defaults to a flake |
2025-02-03 21:57:21 +0100 | <dminuoso> | Athas: Hold on, you need to describe the installable. |
2025-02-03 21:57:06 +0100 | <Athas> | 'nix develop' just complains that it cannot find a flake.nix. |
2025-02-03 21:57:03 +0100 | julie_pilgrim | (~julie_pil@user/julie-pilgrim/x-1240752) (Remote host closed the connection) |
2025-02-03 21:56:57 +0100 | <dminuoso> | Athas: Either way, do consider `nix develop` in the future, that way you switch from indirect guesswork to just using objdump, or just rapidly trying different flags. |
2025-02-03 21:56:35 +0100 | <Athas> | It's quite nice that Nix allows you to do these things in a maintainable manner. |
2025-02-03 21:56:21 +0100 | <Athas> | My solution was to copy the package.nix for elfutils from the previous version of Nixpkgs into my setup, and this does work. |
2025-02-03 21:55:49 +0100 | <Athas> | I know! |
2025-02-03 21:55:45 +0100 | <dminuoso> | That sounds yuk. |
2025-02-03 21:55:35 +0100 | <Athas> | I just decided my life is too short to debug it further. |
2025-02-03 21:55:21 +0100 | <Athas> | I already took binutils to this problem. |
2025-02-03 21:55:03 +0100 | <Athas> | But I am pretty sure I know what is wrong: libdw.a references some functions (eu_search_tree_fini) which are not provided by any of the other elfutils .a files (but are provided by the .so files). |
2025-02-03 21:54:21 +0100 | <dminuoso> | drop into `nix develop`, and then you can interactively call the tools and debug |
2025-02-03 21:54:05 +0100 | <dminuoso> | Athas: Ideally you would instanstiate the derivation, look at it to figure out the details of the shell command dance of the stages (especially since with callCabal2nix this is all synthesized with layers of indirection) |
2025-02-03 21:53:48 +0100 | <Athas> | (In practice I use a trivially small project to debug the Nix setup.) |
2025-02-03 21:53:22 +0100 | <Athas> | I do use a nix-shell environment too, but that doesn't link statically, so it's not so useful for debugging this. |
2025-02-03 21:52:33 +0100 | <dminuoso> | Think it was with nix-shell. |
2025-02-03 21:52:22 +0100 | <dminuoso> | There is a pre-nix-command variant too, if you fancy that. |
2025-02-03 21:52:05 +0100 | <haskellbridge> | <magic_rb> Its a "nix-command" only feature |
2025-02-03 21:51:56 +0100 | <haskellbridge> | <magic_rb> No |
2025-02-03 21:51:45 +0100 | <Athas> | "nix develop" is a flakes-only feature, isn't it? |
2025-02-03 21:51:31 +0100 | <haskellbridge> | <magic_rb> Yeah "nix develop" is your friend here |
2025-02-03 21:51:31 +0100 | <dminuoso> | (Talking about haskell nixpkgs builds of course) |
2025-02-03 21:51:19 +0100 | <dminuoso> | s/feasible/infeasible/ |
2025-02-03 21:51:13 +0100 | <dminuoso> | Trying to debug these types of errors with just plain `nix build` is.. just feasible. |
2025-02-03 21:51:00 +0100 | gorignak | (~gorignak@user/gorignak) gorignak |
2025-02-03 21:50:52 +0100 | <dminuoso> | Athas: My experience with nixpkgs builds is limited, how useful is `nix develop` there? |
2025-02-03 21:50:29 +0100 | gorignak | (~gorignak@user/gorignak) (Quit: quit) |
2025-02-03 21:44:41 +0100 | lxsameer | (~lxsameer@Serene/lxsameer) lxsameer |
2025-02-03 21:44:09 +0100 | ezzieyguywuf | (~Unknown@user/ezzieyguywuf) ezzieyguywuf |
2025-02-03 21:43:55 +0100 | ezzieyguywuf | (~Unknown@user/ezzieyguywuf) (Quit: leaving) |
2025-02-03 21:43:46 +0100 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en |
2025-02-03 21:43:41 +0100 | <Athas> | Debugging these things is particularly thrilling because I have to wait for a complete rebuild. |
2025-02-03 21:43:23 +0100 | <Athas> | dminuoso: https://gist.github.com/athas/d862f8842b51a5fc4b3aa0005c487a5b |
2025-02-03 21:40:49 +0100 | gorignak | (~gorignak@user/gorignak) gorignak |
2025-02-03 21:40:32 +0100 | ColinRobinson | (~juan@user/JuanDaugherty) (Quit: praxis.meansofproduction.biz (juan@acm.org)) |
2025-02-03 21:40:18 +0100 | gorignak | (~gorignak@user/gorignak) (Quit: quit) |
2025-02-03 21:33:36 +0100 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en) |
2025-02-03 21:31:43 +0100 | foul_owl | (~kerry@174-21-138-88.tukw.qwest.net) foul_owl |
2025-02-03 21:30:37 +0100 | gorignak | (~gorignak@user/gorignak) gorignak |
2025-02-03 21:30:07 +0100 | gorignak | (~gorignak@user/gorignak) (Quit: quit) |
2025-02-03 21:29:17 +0100 | alfiee | (~alfiee@user/alfiee) (Ping timeout: 265 seconds) |
2025-02-03 21:24:46 +0100 | alfiee | (~alfiee@user/alfiee) alfiee |
2025-02-03 21:20:30 +0100 | ljdarj1 | ljdarj |
2025-02-03 21:20:30 +0100 | ljdarj | (~Thunderbi@user/ljdarj) (Ping timeout: 244 seconds) |
2025-02-03 21:20:27 +0100 | gorignak | (~gorignak@user/gorignak) gorignak |
2025-02-03 21:19:56 +0100 | gorignak | (~gorignak@user/gorignak) (Quit: quit) |
2025-02-03 21:18:15 +0100 | <Athas> | dminuoso: no, it stopped because I jammed a hack in there. One moment, I'll remove the hack. |
2025-02-03 21:17:53 +0100 | foul_owl | (~kerry@193.42.0.124) (Ping timeout: 248 seconds) |