<bdesham>
I'm trying to package a weechat script (it's a 6 KB Python script) whose canonical url, as far as I can tell, doesn't contain a version number. is the nixpkgs standard in this case just to include the script in nixpkgs itself?
growpotk- has quit [Ping timeout: 246 seconds]
dsiypl4 has quit [Ping timeout: 258 seconds]
mexisme has quit [Ping timeout: 245 seconds]
pareidolia has quit [Remote host closed the connection]
<{^_^}>
nix#2431 (by sgraf812, 47 weeks ago, open): fetchGit fails with a not very helpful error message when fetching a revision not in the remote's HEAD
wildtrees has quit [Quit: Leaving]
* pie__
shrugs cluelessly
<pie__>
so the thing is, I forgot to pin a project so I broke it when I upgraded my system
<pie__>
I went back and got the revision used for the previous system build
<pie__>
and now I'm trying to pin that for this project
<clever>
pie__: you can also use fetchTarball for anything on github
stepcut has quit [Remote host closed the connection]
ottidmes has quit [Ping timeout: 248 seconds]
drakonis has quit [Ping timeout: 248 seconds]
mexisme has joined #nixos
<alienpirate5>
how do I tell NixOS "don't compile gtk+3 at all"
<alienpirate5>
it always insists on adding it to the system path even though nothing i have pulls it in
<simpson>
alienpirate5: As a blunt instrument (IIRC your context is that you're cross-compiling to an embedded platform), you could comment out GTK+3 from your nixpkgs and see what breaks.
<simpson>
This is from the School of Mock, more or less.
<alienpirate5>
I'm using just a standard nixpkgs channel
<pie__>
niso: you didnt have to install any drivers or anything?
<niso>
pie__: i think line 27 should be the interesting line for you, the rest is pretty much just my fuzzy-matching menu
<niso>
pie__: i don't think so
<pie__>
....
<pie__>
let me check my scanner program
<pie__>
im going to feel like an idiot if its enabled by cnijfilter or something and I just didnt check
<niso>
pie__: but all of the scanner programs i tried failed/didn't work
<pie__>
ok yeah its not listed
<pie__>
but scanimage did?
<niso>
yep
<pie__>
whats the package for it
<pie__>
,locate scanimage
<{^_^}>
Found in packages: saneBackends, sane-backends-git
<niso>
pie__: sane-backends
<pie__>
yeah i keep forgetting about ,locate
<niso>
if i recall it correctly saneBackends failed, and sane-backends worked (or something like that), it's been a while and sadly i didn't write it down.....:/
<niso>
+ i was new to nix, thus it was out of option to fix it
<niso>
pie__: lemme know if it works
<pie__>
how does it know what device to scan from
<niso>
i think it just picks the first one by default
<pie__>
they probably interoperate with cups in some manner
<niso>
thanks (didn't setup the printing yet)
<pie__>
maybe the fancy scangear programs can do more for the scanner but idk
<niso>
looks like they are closed source, thus idc :P
banksiaboy has joined #nixos
<banksiaboy>
I have just installed Nixon’s. When I install binary packages. Nix-never -I neicim. They don’t appear on my oath, so I can’t use them. Can find no mention of this problem :-(
banksiaboy has left #nixos [#nixos]
<dansho>
stites: what would an overlay look like? i have this and it doesn't cause any errors, but it still uses clang 3.5.2 https://paste.ee/p/Vvpm2
banksiaboy14 has joined #nixos
<banksiaboy14>
Sorry, tried to use freenode in iPad couldnt see entry field.
<dansho>
oh, they left
<banksiaboy14>
ok - just installed NixOS. have tried upgrade swap to nixos-unstable channel. Every time i try to install a binary its does not end up on my path.
<banksiaboy14>
nix-env -i neovim never gets on my path. vim either.
<banksiaboy14>
can find not reference to this problem. googling for an hour.
<banksiaboy14>
i can see the path - but i would have to ls all the directories and try to find the bin. maybe not so bad with neovim, but doesn't resemble any kind of documentation or self-documentation.
<pie__>
banksiaboy14: note how i said look for neovim in the paths
<pie__>
banksiaboy14: run this and tell me what you see: echo $PATH | awk '{split($0,array,":")} END { for (i in array) print array[i] }'
<banksiaboy14>
anyway am indulging in philosophy. Thanks for the rescue
<pie__>
oh well yeah sure, nixos documentation is variable
<pie__>
its not the most newbie friendly distro at this point, the community does compensate a lot
<banksiaboy14>
yes - i see the path split into directories
<pie__>
youll have to be prepared to get your hands a bit dirty sometimes if you need to figure something out
<pie__>
banksiaboy14: right, but note that each path has a name in it
<banksiaboy14>
sure
<pie__>
the name is actually arbitrary, but it tends to match the package name
<pie__>
so since you want to know what binaries neovim has, you can find the corresponding $PATH entry by looking at the names
<pie__>
follow?
<banksiaboy14>
l suppose when i understand where packages get installed in various contexts it wouldn't be too hard
<pie__>
yeah nix has a lot of file system level separation going on, i guess your confusin makes more sense if you dont know that
<pie__>
*confusion
allodium has quit [Remote host closed the connection]
<pie__>
if you really know nothing about nixos youre going to want to do some reading, the manual is probably not the most coherent place to start
<pie__>
i dont actually have any specific recommendations since i dont remember what worked for me (lots of bits and pieces over time probably...)
<pie__>
but you should be able to get a relatively coherent basic picture from eelcos thesis
<banksiaboy14>
the reason I am confused, is because its confusing. But im ok. Thanks for your help. May be back soon trying to sort out ssh login
<pie__>
of course ;) <banksiaboy14> the reason I am confused, is because its confusing. But im ok. Thanks for your help. May be back soon trying to sort out ssh login
nwspk has quit [Ping timeout: 264 seconds]
<pie__>
^ @ "the reason im confused, is because it's confusing"
ericnoan has quit [Ping timeout: 245 seconds]
primeos has joined #nixos
<banksiaboy14>
i've used nix-env quite a bit under ubuntu. I thought id try the real thing :)
<selfsymmetric-mu>
dansho: I have never figured it out. Here's what I do. I change the 1 to a 2 (to prevent hash collisions). I then run a build. It breaks, but tells me what it gets. I then replace the sha with the correct one in the build output.
<selfsymmetric-mu>
You could also download the release artifact and SHA it yourself, but above's the lazy way.
jlv has quit [Ping timeout: 260 seconds]
<dansho>
selfsymmetric-mu: maybe that's not the problem, when i do nix-build . it tries to get it from http instead of using the one in the nix store with $ nix-store --add-fixed sha256 UnrealEngine-4.22.3-release.zip like it said to do
<ivan>
UnrealEngine is not publicly accessible, it should be changed to not try to fetch the thing
phreedom_ has quit [Remote host closed the connection]
<Miyu-chan>
Actually, scratch that. Who uses home-manager as a budget NixOS on a non-NixOS machine?
<Miyu-chan>
That sounds like a more fun question
<Miyu-chan>
I'm guessing around ~90% of the answer to that would be people using macOS
<srhb>
I thought they'd use nix-darwin.
<Miyu-chan>
Oh, huh. TIL, nix-darwin.
<Miyu-chan>
Cool. :D
<Miyu-chan>
is2g. This is one thing that really makes me appreciate how generic Nixpkgs modules are.
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
___laika has quit [Ping timeout: 248 seconds]
hyper_ch2 has quit [Remote host closed the connection]
freeman42x has joined #nixos
is_null has joined #nixos
mexisme has joined #nixos
is_null has quit [Ping timeout: 248 seconds]
<EsperLily>
nix-darwin has always looked too invasive for me to adopt
<EsperLily>
I don't really need to hand control of my user account over to Nix
<EsperLily>
I keep thinking I should check out home-manager, though I'm a bit loathe to switch my setup since I've been running pretty happily on one using unison for syncing for over a decade
terps has joined #nixos
___laika has joined #nixos
o1lo01ol1o has joined #nixos
Chiliparrot has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
lambda-11235 has quit [Quit: Bye]
<srhb>
More invasive means more control :D
<srhb>
But sure, it's nice that people can opt in.
<EsperLily>
If I were running macOS Server then nix-darwin is something I'd look at
<EsperLily>
but not for my personal machine
orivej has quit [Ping timeout: 246 seconds]
<srhb>
Being a happy NixOS user I can't say that I understand, but again, more choice is more better :D
gxt has joined #nixos
turion has quit [Quit: Leaving.]
mexisme has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<EsperLily>
If I need to rebuild my server from scratch, that's annoying but ok. If something goes wrong with my personal machine and I have to rebuild it from scratch, that's a gigantic headache. And I just feel better knowing I can `rm -rf /nix` tomorrow and my machine would continue to function
<EsperLily>
hell, that's exactly what I had to do when upgrading to macOS Mojave, and I'm concerned about needing to do it again when Catalina comes out
<dminuoso>
Does anyone here use IPv6 with SLAAC to confirm that the default settings using network manager lets your computer configure itself correctly?
jasom has quit [Ping timeout: 264 seconds]
hoijui has joined #nixos
veske has joined #nixos
<sphalerite>
dminuoso: yeah, seems to work for me
<dminuoso>
sphalerite: Is your configuration.nix available to take a peek at?
<dminuoso>
sphalerite: Im asking because I cant for my life figure out why my laptop refuses to autoconfigure.
<sphalerite>
dminuoso: I have nothing relevant except network-manager.enable = true;
<sphalerite>
dminuoso: or rather networking.networkmanager.enable = true;
<dminuoso>
sphalerite: Is your firewall enabled?
<sphalerite>
dminuoso: do other devices get ipv6 properly?
<sphalerite>
yes
<dminuoso>
sphalerite: Yes. Its just my laptop.
<dminuoso>
Ah actually my firewall is disabled, even.
<dminuoso>
sphalerite: Do you have any special kernel settings in sys.net.ipv6.conf.<if>.ra_* >
<sphalerite>
none that I set up
<dminuoso>
sphalerite: And its SLAAC for you right? Not DHCPv6?
<sphalerite>
I think so
<sphalerite>
but it seems that network-manager isn't very chatty about how it gets addresses in its log…
joshuagl has joined #nixos
<sphalerite>
the address _looks_ like it could well be a slaac address in any case
<srhb>
rsoeldner: Yes, it's the right way to pin (though the name attr is superfluous and you may want to also make it immune to overlays and config by explicitly passing those to the pkgs argset.)
<{^_^}>
[nixpkgs] @yegortimoshenko pushed commit from @symphorien to master « utsushi: init at 3.57.0 (#65223) »: https://git.io/fj57T
<rsoeldner>
srhb, thank you - I have updated the gist, is this the right way to enter a shell, with the same package set ?
ThatDocsLady has joined #nixos
<srhb>
rsoeldner: You should probably factor out your pinned pkgs so you can use it in both places, but yes.
hyper_ch2 has joined #nixos
<srhb>
Though I'm not sure you want app.srv.env in inputsFrom, it seems to me you'd want the inputs from app.srv
orivej has joined #nixos
<Taneb>
Is there a way to use git secret (https://git-secret.io/) with Hydra? I'd like to build something on my local hydra that includes secret keys
ilikeheaps has joined #nixos
abbiya has joined #nixos
domogled has quit [Ping timeout: 258 seconds]
<rsoeldner>
srhb, looks like zou are right and when using `app.srv.env` I get a different set of packages with missing deps
dansho has quit [Quit: Leaving]
Zer0xp has joined #nixos
<srhb>
rsoeldner: Were you to use app.srv.env in buildInputs I'd expect you get approximately the same result. But inputsFrom app.srv seems more intuitive to me.
<Miyu-chan>
Is it allowed to interpolate .drvs into strings?
<rsoeldner>
srhb, can you provide an example how to refactor the pinning ?
<Miyu-chan>
I guess the TL;DR is that I want to nix-shell a drv, extract its environment, and load it to a systemd service.
<srhb>
Miyu-chan: Allowed in what context?
<Miyu-chan>
So basically, I guess I kinda want lorri?
<srhb>
You can, but you end up holding the source closure of course.
nexgen has quit [Quit: Leaving]
mniip has quit [Quit: This page is intentionally left blank.]
<Miyu-chan>
OTOH, I wonder if it's better to do everything on Nix instead. Hm.
<srhb>
rsoeldner: Could you share the entire thing?
zupo has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<rsoeldner>
srhb, not that easily. Looks like with the current pinning, I will not get my haskell dependencies available
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtojnar has joined #nixos
<{^_^}>
[nixpkgs] @domenkozar pushed to haskell-updates « haskell: mark tasty-discover as not broken »: https://git.io/fj57j
o1lo01ol1o has joined #nixos
maralorn has quit [Quit: WeeChat 2.4]
maralorn has joined #nixos
nexgen has joined #nixos
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
<srhb>
rsoeldner: It has nothing to do with the pinning, something must still be up with how you're using mkShell
<srhb>
rsoeldner: And I can't reproduce it, using inputsfrom = [ (myHaskellPackage) ]; I do get exactly the dependencies of myHaskellPackage in the shell according to ghc-pkg list
<srhb>
Maybe your default.nix is wonky?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
orivej has joined #nixos
sudoforge has quit [Ping timeout: 245 seconds]
<srhb>
Oh, but I do see that myHaskellPackage does switch to .env when it's in a nix shell.
<srhb>
So using env there must be correct, if confusing to me..
<{^_^}>
[nixpkgs] @fadenb opened pull request #66612 → nixos/oxidized: Use symlinks for config files → https://git.io/fj55C
<vmandela>
I am trying to do "nix-shell -p haskellPackages.ghcjs-base" behind a proxy and it fails with "unable to look up github.com (port 9418)". How do I fix this error ?
pie__ has quit [Ping timeout: 252 seconds]
___laika has quit [Ping timeout: 246 seconds]
sigmundv_ has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
Ariakenom has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}>
[nixpkgs] @yegortimoshenko opened pull request #66613 → buildRustPackage: support cross-compilation to x86_64-pc-mingw32 → https://git.io/fj559
ciaran0 has joined #nixos
<{^_^}>
[nixpkgs] @WilliButz merged pull request #66612 → nixos/oxidized: Use symlinks for config files → https://git.io/fj55C
hyper_ch2 has quit [Quit: Ping timeout (120 seconds)]
o1lo01ol1o has joined #nixos
kleisli_ has quit [Ping timeout: 246 seconds]
<ng0>
I know my cloak atm is unaffiliated (and then the generic onion mask). who do I have to talk to about the netbsd cloak? seems to be not documented for developers, or I skipped it while reading
<ng0>
gah
<ng0>
channel starts with n but the wrong channel
<ng0>
sorry :D
bakakuna has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
sigmundv_ has quit [Ping timeout: 245 seconds]
sigmundv_ has joined #nixos
<{^_^}>
[hydra] @edolstra merged pull request #668 → Turn hydra-notify into a daemon → https://git.io/fj5sW
<{^_^}>
[nixpkgs] @yegortimoshenko opened pull request #66616 → buildRustPackage: set HOME → https://git.io/fj5bS
___laika has joined #nixos
<{^_^}>
[nixpkgs] @yegortimoshenko opened pull request #66617 → buildRustPackage: fix cross-compilation to aarch64-unknown-linux-musl → https://git.io/fj5bd
<craige>
I
v0d1ch has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
terps has quit [Ping timeout: 264 seconds]
terps has joined #nixos
<craige>
ugh. I'm packaging a new app for NixOS and it's failing on a meson install failure that I'm struggling to get any traction on, even with -vvvvv - does anyone know of any techniques I can use to dig deeper into the root cause of the meson install failure?
kim0 has joined #nixos
Arahael has quit [Ping timeout: 272 seconds]
hyper_ch2 has joined #nixos
dsiypl4 has joined #nixos
<sphalerite>
craige: it's ugly, but you could strace it
<sphalerite>
craige: either add a sleep before the build starts and use `strace -fe execve -p <bash pid>` from outside, or put strace in the build and `strace -fe execve` the meson process
<sphalerite>
or use execsnoop from linuxPackages.bcc to watch what's being exec'd
<clever>
execsnoop works on linux now? :O
veske2 has quit [Quit: This computer has gone to sleep]
veske2 has joined #nixos
<sphalerite>
clever: yeah, it's a bit fiddly though, the best way I've found to use it is to put `config.boot.kernelPackages.bcc` in systemPackages and invoke it from /run/booted-system/sw/bin
<clever>
ah
wfranzini has quit [Remote host closed the connection]
<sphalerite>
craige: of course, that's assuming some command is being invoked incorrectly
wfranzini has joined #nixos
npmccallum has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @baracoder opened pull request #66618 → dotnet-sdk: Get dotnet tool install working → https://git.io/fj5Nl
is_null has joined #nixos
FRidh has quit [Ping timeout: 272 seconds]
<exarkun>
wah, error: Package ‘pypy-7.0.0-env’ in /nix/store/3sdwdai3npjr2hlppy4xd0s0366pb8kq-source/pkgs/development/interpreters/python/pypy/default.nix:150 is marked as broken, refusing to evaluate.
<Taneb>
Does anyone know of a Python package in nixpkgs which has a setup.py which calls other setup.pys that I could use as a template?
<simpson>
exarkun: It was marked broken because some of the tests don't work, and people (understandably) didn't want to spend the hours to iterate on the tests.
<simpson>
(FWIW, for CPython, the tests are just all disabled. Such CPython~)
<exarkun>
seems fair
<exarkun>
you don't get better software by holding it to a low standard, I guess (but do you get it by holding it to a high standard?)
<{^_^}>
[nixpkgs] @eadwu closed pull request #66573 → zsh: use host derivation to run binary when cross compiling → https://git.io/fj5oj
<simpson>
exarkun: I am all for fixing PyPy. Just filling you in on a #nixos-dev conversation you likely missed.
___laika has quit [Ping timeout: 258 seconds]
<exarkun>
simpson: appreciated!
groggy42[m] is now known as groggy[m]
<exarkun>
there doesn't appear to be an open issue for the test suite failing
<simpson>
Would it help? An issue won't make somebody like you or me materialize and fix PyPy, will it?
<simpson>
Just like with GVR, I think that the problem is that the Python subsystem maintainers don't care about PyPy, likely because they don't use it.
<exarkun>
sure it would help
<exarkun>
it would be a place for information about the problem to live in an accessible manner
<exarkun>
rather than as word of mouth wisdom amongst the core developers
<exarkun>
maybe it wouldn't help _much_ ;)
<simpson>
exarkun: This has convinced me. By end of weekend, I'll submit an RFC for non-shitty PyPy in nixpkgs.
o1lo01ol1o has joined #nixos
<simpson>
It's getting too close to 2020 and we still don't have a plan for Python 2 after CPython.
<exarkun>
yay
<{^_^}>
[nixpkgs] @vbgl opened pull request #66619 → coq: make version 8.9 the default one → https://git.io/fj5Ny
<{^_^}>
[nixpkgs] @layus opened pull request #66620 → autoPatchelfHook: search a valid interpreter, or fail → https://git.io/fj5N9
<sphalerite>
simpson: exarkun: please tag me and disasm in the RFC! It would be really nice if we could get it into the next release, though I understand the timeline for that is probably a bit too short.
<sphalerite>
I want to enable network-manager on a laptop that's currently using plain wpa_supplicant. Trouble is, (a) I don't currently have physical access to the laptop, and (b) my only access to it is _via_ the wifi it's currently connected to. Does anyone have any wonderful ideas how I could do this safely?
Jackneill has joined #nixos
<sphalerite>
the best I can come up with is some automatic rollback
sigmundv_ has joined #nixos
<exarkun>
set up an reboot to happen in 60 seconds and then nixos-rebuild test instead of switch?
<exarkun>
cancel the reboot if you don't lose access
<gchristensen>
^ so good
<sphalerite>
hmmm
<gchristensen>
sphalerite: you could set the default boot entry to be your current working one, and use a systemd timer to trigger a reboot
<lassulus>
there should be a nixos service for that :D
<clever>
lassulus: one min
<gchristensen>
my understanding is Lumiguide does thois?
<gchristensen>
and I think a company deploying to remote systems does another thing like this
<gchristensen>
so ... having a "cookbook" entry would be awesome
ThatDocsLady has quit [Remote host closed the connection]
jabranham has joined #nixos
ThatDocsLady has joined #nixos
___laika has joined #nixos
jabranham has quit [Client Quit]
jabranham has joined #nixos
v0|d has joined #nixos
ThatDocsLady_ has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
ThatDocsLady has quit [Ping timeout: 252 seconds]
<gchristensen>
anyone on sway on 19.03 seeing a sort of bad firefox experience with flickering windows? I'm thinking we should backport a sway update to fix it
<gchristensen>
normally I wouldn't be okay with that sort of big patch to stable, but the FF bug is severe
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<exarkun>
I'm trying to make coverage results part of the output of a buildPythonPackage derivation
<exarkun>
buildPythonPackage moves checkPhase to installCheckPhase
<exarkun>
which is after installPhase, clearly
justanotheruser has quit [Ping timeout: 268 seconds]
<exarkun>
is after installPhase too late to add things to $out? seems like it would have to be.
<exarkun>
(coverage results are generated by checkPhase)
<exarkun>
is there some other way to get coverage results into the output?
<mdash>
exarkun: hmmm
<clever>
exarkun: every phase can alter $out
<exarkun>
oh, hm
<mdash>
convenient
<clever>
but $out may not exist before the installPhase
<exarkun>
that's okay, I don't have the coverage until after installPhase - installCheckPhase generates them (but buildPythonPackage calls "installCheckPhase" "checkPhase")
<exarkun>
I see that if I copy something to $out at the end of installCheckPhase it does show up in out. I tried to do it in postInstallCheck and it didn't show up...
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #64546 → [darwin] Fix fetchzip call by using https not http → https://git.io/fjPJ4
<{^_^}>
[nixpkgs] @matthewbauer pushed commit from @rw to master « darwin.adv_cmds: Fix fetchzip call by using https not http (#64546) »: https://git.io/fj5x7
<exarkun>
it's arbitrary, subjective, and the primary selective trait is that it's different from what was before
dsiypl4 has quit [Ping timeout: 268 seconds]
ThatOtherGuy has joined #nixos
<rycee>
Anybody familiar with hnix hacking? It doesn't build in Nixpkgs master since the `these` dependency has been bumped to an unsupported version: https://github.com/NixOS/nixpkgs/issues/66623
<{^_^}>
#66623 (by rycee, 8 minutes ago, open): hnix-0.6.1 is broken in master
<eacameron>
After running `xrandr ... --scale 1.4x1.4` things look much better on my high-dpi screen but now my desktop and panels are only covering a fraction of the screen. How can I get the kde window manager to "refresh" to use the new scaling?
fusion809 has joined #nixos
<manveru>
exarkun: of course it is, but maybe we can call this "ergonomics" instead?
<exarkun>
manveru: if you can cite some studies on it
<exarkun>
:)
<ramses_>
Hi guys. If I set an option of type list to a certain value in configuration.nix and I want to change this value for some hosts in a separate module, how should I do this? It seems that when using mkDefault in configuration.nix, the value is ignored, when using anything higher, the module does not reset the value but instead merges
<manveru>
exarkun: i'll just cite my own physical discomfort trying to read, i'm sure there's a study or two about line-width or line-height, but i lack the energy to find anything in the paywall jungle of studies :|
<infinisil>
If you assign `some.option = x`, this will be equivalent to `some.option = mkOverride 100 x`
<infinisil>
So you need mkForce (=mkOverride 50) to override this
MmeQuignon has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
dsiypl4 has joined #nixos
<ramses_>
infinisil: so that's what I don't get. I had `x = mkBefore [ a b ];` in configuration.nix, and then `x = [ ];` in another module, but the final value in my configuration file still contained `a` and `b`, even though the default priority of 100 should be higher than the `mkBefore` one of 1500, right?
<infinisil>
mkBefore/mkAfter is something different
<infinisil>
They have nothing to do with mkDefault/mkForce
<ramses_>
infinisil: oh... I only now see the difference, I didn't notice that they have `mkOrder` instead of `mkOverride`... Ok, thanks, that clears up my confusion
<eyJhb>
tilpner: yeah found that yesterday :D
iyzsong-x has joined #nixos
<tilpner>
eyJhb: I was going to build my own to replace my current bubblewrap-based Nix wrapper (which works, but still shares the kernel), but firecracker doesn't support virtio-fs yet
npmccallum has quit [Quit: npmccallum]
dsiypl4 has quit [Ping timeout: 246 seconds]
veske2 has quit [Quit: This computer has gone to sleep]
iyzsong has quit [Ping timeout: 245 seconds]
fendor__ has joined #nixos
fendor_ has quit [Ping timeout: 245 seconds]
iyzsong-x has quit [Ping timeout: 264 seconds]
npmccallum has joined #nixos
<exarkun>
Given `{ x }: mkDerivation { installPhase = "foo ${x}"; }` is there a way to override `x` in the resulting derivation without duplicating the "foo "?
<infinisil>
exarkun: .override { x = ...; }?
Ariakenom has quit [Quit: Leaving]
wildtrees has joined #nixos
fendor__ has quit [Ping timeout: 246 seconds]
<exarkun>
apparently
<exarkun>
somehow I can't get the concept of .override into my head
MmeQuignon has quit [Ping timeout: 250 seconds]
<infinisil>
.override just calls the function again with changed arguments
dsiypl4 has joined #nixos
<exarkun>
see it sounds so simple
<infinisil>
> test = lib.makeOverridable ({ name }: { result = "Hello, ${name}!"; })
<{^_^}>
test defined
<infinisil>
> :p test
<{^_^}>
<LAMBDA>
<infinisil>
> test = lib.makeOverridable ({ name }: { result = "Hello, ${name}!"; }) { name = "World"; }
<sphalerite>
Anyone familiar with this one from network-manager? Error: Connection activation failed: No suitable device found for this connection (device wlp1s0 not available because device is not available).
<exarkun>
infinisil: it definitely works
<exarkun>
infinisil: and it's not like it's a complicated concept
<infinisil>
"Device is not available because it is not available" lol
___laika has joined #nixos
terps has quit [Ping timeout: 250 seconds]
<sphalerite>
infinisil: ikr!
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #66338 → installer: Don't run as root → https://git.io/fj7TM
<{^_^}>
[nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fj5py
veske has joined #nixos
jtojnar_ has quit [Read error: Connection reset by peer]
domogled has joined #nixos
greymalkin has quit [Ping timeout: 246 seconds]
veske has quit [Client Quit]
<timokau[m]>
Well I guess they mean the virtual device is not available because they can't ping the physical device
<sphalerite>
timokau[m]: well it works with plain wpa_supplicant
domogled has quit [Quit: domogled]
<petercommand>
oh..it's probably steam..
<Athas>
I'd like to write a patch for a package that is in Nix (sway, the Wayland compositor). What is recommended - should I write my own shell.nix from scratch so I can run the normal build system, or can I somehow base my work on the nixpkgs derivation?
<timokau[m]>
sphalerite: Yeah I have no idea what may cause the error, its just my interpretation of the nonsensical formulation
<mdash>
Athas: typically you can just add to the 'patches' array in an override
<yorick>
Athas: go to your sway checkout, do nix-shell '<nixpkgs>' -A sway
<yorick>
then you can develop sway
<Athas>
yorick: ah nice, that sounds exactly like what I need.
<yorick>
there is a patches array when you are done, you can sway.overrideAttrs (o: { patches = (o.patches or []) ++ [ ./your-patch.diff ]; })
<mdash>
in this particular case you can leave off the 'or []' since there are already patches for sway
eof has quit [Quit: eof]
<Athas>
mdash: thanks, but what I want is to contribute an improvement upstream. I just need a working build environment.
<Athas>
(A non-Nix specific improvement, that is.)
<Nyanloutre[m]>
Notkea: I think I could know why, you now use WorkingDirectory instead of a cd in the prestart script. mautrix-telegram base config option has a default value this is now a valid path (example-config.yaml is in the working directory).
<Nyanloutre[m]>
and when starting it merges them and try to save it in the config location
gvolpe has joined #nixos
<Nyanloutre[m]>
which it can't if the config is in the store
<Notkea[m]>
yes, I was doing that at eval time before but that part got removed when I tried to simplify the module :c
xkapastel has joined #nixos
<gvolpe>
Hi all, Nix newbie here. I have a project that compiles fine using `cabal new-build` but I'm failing to get it compiling within a `nix-shell`. I believe the problematic package is `transient`, that seems to be outdated in `nixpkgs` to I guess I need to override it? If so, can anyone help me see what I'm doing wrong? Thanks!
<gvolpe>
Configuring transient-0.6.3...CallStack (from HasCallStack): die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:950:20 in Cabal-2.4.0.1:Distribution.Simple.Configure configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:460:12 in Cabal-2.4.0.1:Distribution.Simple.Configure configure, call
<gvolpe>
ed at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-2.4.0.1:Distribution.Simple confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.4.0.1:Distribution.Simple.UserHooks configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-2.4.0.1:Distribution.Simple defaultMa
<gvolpe>
inHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-2.4.0.1:Distribution.Simple defaultMain, called at Setup.hs:2:8 in main:MainSetup: Encountered missing dependencies:primitive <0.6.4builder for '/nix/store/m2nw7mm3lzkyc27w0c2rvhqpcgfm4h7x-transient-0.6.3.drv' failed with exit code 1cannot build derivation '/nix/store
<gvolpe>
/6rwdyf7ql14zi7c2q0jafnai2n36pm8r-ghc-8.6.5-with-packages.drv': 1 dependencies couldn't be builterror: build of '/nix/store/6rwdyf7ql14zi7c2q0jafnai2n36pm8r-ghc-8.6.5-with-packages.drv' failed
<gvolpe>
```
<gvolpe>
Mmm I need to learn how to format code here...
mexisme has joined #nixos
<{^_^}>
[nixpkgs] @nh2 merged pull request #61471 → Issue 61250 coreutils disable test on musl → https://git.io/fjWS8
<exarkun>
Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/nix/store/a8cyid6kjawbwnajc44kwif1b96vmf0i-python2.7-pip-19.0.3/lib/python2.7/site-packages/pip-19.0.3.dist-info/INSTALLER
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<exarkun>
seems like tox's use of virtualenv of broken in nixos
<slabity>
exarkun: Looks like the package is trying to write into it's install location
<slabity>
Tox seems to build fine for me
<exarkun>
note it's not Tox the chat system
<exarkun>
it's nixpkgs.pythonPackages.tox
<exarkun>
it builds fine for me too. it just doesn't _work_.
<{^_^}>
[nixpkgs] @kayhide opened pull request #66629 → lv: init at 4.51 → https://git.io/fj5jb
<nh2>
clever: have you ever had a situation where you could fetch something from cache.nixos.org but not build it yourself on NixOS?
<{^_^}>
#66598 (by nh2, 16 hours ago, open): dejavu-fonts-full downloads from binary cache but does not build on NixOS
<nh2>
it's been blocking my static Haskell builds stuff for a few days now, and confuses the hell out of me
<Shyim[m]>
I have installed nodejs when i run now some programs i get the error Unable to load crypto module: crypto will be disabled: Error: global.Olm is not defined . Have someone an idea?
<exarkun>
,locate ld-linux-x86-64.so.2
<{^_^}>
Found in packages: glibc, glibc_multi, glibc_memusage
<exarkun>
nh2: does your glibc have ld-linux-x86-64.so.2?
<exarkun>
nh2: maybe `nix-store --repair` can help?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<nh2>
exarkun: `nix-store --repair` on which path?
drakonis has joined #nixos
<nh2>
exarkun: I can reproduce this even on a throwaway machine directly after boot, shouldn't that mean that there shouldn't be anything broken that needs repairing?
<exarkun>
nh2: I just read more of the ticket. You repro'd from scratch? Makes me doubt the idea you have a corrupt store object.
<exarkun>
nh2: yea.
<nh2>
right
npmccallum has joined #nixos
bdesham has left #nixos [#nixos]
shibboleth has joined #nixos
<Nyanloutre[m]>
Notkea: I did kind of an ugly trick by keeping the generation code at build time and discarding the registration file, it's working but not pretty :D
srl295 has joined #nixos
palo has joined #nixos
ris has joined #nixos
<nh2>
But they key thing is: I'm building fontforge against musl; it shows it in `nix-store -q --tree` of the dejavu fonts package. But musl stuff isn't built by Hydra / cache.nixos.org. How can it happen that it downloads a fonts package that depends on a musl'd fontforge from cache.nixos.org?
<nh2>
exarkun: I don't have that file this way. Instead I have this from musl: `/nix/store/x79gpgq6n92salzdnvay4hn3015qq2f8-musl-1.1.22/lib/ld-musl-x86_64.so.1 -> libc.so`
<exarkun>
nh2: Maybe musl is the problem
<exarkun>
nh2: But I don't know the answer to your question
owickstrom has joined #nixos
<simpson>
nh2: Perhaps the fonts themselves are fixed-output or platform-independent.
<nh2>
Yes I somehow suspect that there's some nix functionality in the mix that I am not aware of.
<nh2>
simpson: Can you make some fonts fixed-output and *also* buildable by fontforge somehow?
<nh2>
simpson: I think the most important thing for me is to understand what's going on here, so that I can avoid this confusion in the future.
<nh2>
What do I have to read to fully understand fixed-output derivations well? Surely the section on `outputHash` in the nix manual, are there others?
<nh2>
clever: with the PR just mentioned above, it looks like it was and I'm doing an upgrade cross that change boundary
<clever>
when its fixed-output, hydra(and users) wont notice when the build is broken by changes to deps
<clever>
and it will continue to fetch from the cache
<clever>
you want to bisect nixpkgs, with the cache turned off (ow)
jgt has joined #nixos
is_null has quit [Ping timeout: 272 seconds]
<nh2>
clever: right, I suspect fontforge never built with musl, but nobody noticed because my Haskell derivations never pulled it in because it "cut off" the building at dejavu-fonts being fixed-output so far
<jgt>
I'm trying to join a bunch of little strings together into one long string. Is there a nicer way to do it than this? http://ix.io/1RFq
<nh2>
clever: and now that I upgrade to nixpkgs `master`, suddenly it builds fontforge via `darcs -> graphviz -> ... -> dejavu-fonts -> fontforge`
<jgt>
nh2: Ah, this looks pretty good, thanks! I was looking through builtins earlier, and didn't find anything quite like what I was after. Looks like concatStringsSep is exactly what I want.
<nh2>
jgt: yes, `builtins.concatStringsSep` should serve you well
<nh2>
it's also very `diff`-friendly, more so than `++`
<infinisil>
nh2: For checking whether a .drv is fixed-output: nix show-derivation /nix/store/xxx.drv | jq '.[].env.outputHash == null'
evanjs has joined #nixos
<infinisil>
Or != null rather
<nh2>
infinisil: ok great thanks, that confirms my other question
terps has quit [Ping timeout: 264 seconds]
bakakuna has joined #nixos
Shyim[m] has left #nixos ["User left"]
<kaliumxyz>
is a systemd oneshot service only ran once or will it be ran every time I build?
<infinisil>
kaliumxyz: Assuming the service hasn't changed since the last rebuild, it would not start it again
<infinisil>
Well actually not quite sure
<infinisil>
It might depend on whether it has RemainAfterExit
wfranzini has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
wfranzini has joined #nixos
casaca has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Shouou has joined #nixos
shabius_ has joined #nixos
<jgt>
how do I get lib.strings.concatStringsSep in a NixOps logical expression?
<jgt>
lib is undefined, stdenv is undefined, and I can't just stick `{ lib }:` at the top of the file
shabius has quit [Ping timeout: 252 seconds]
<exarkun>
pkgs.lib
<exarkun>
jgt: wait what do you mean "NixOps logical expression"?
<jgt>
exarkun: I _think_ that's what it's called. In NixOps tutorials I've read, I have seen the two files referred to as "logical expression" and "physical expression"
<jgt>
exarkun: the "physical" expression contains things like AWS machine definitions
wfranzini has quit [Read error: Connection reset by peer]
<jgt>
exarkun: and then the "logical" expression would contain your systemd units, etc.
<exarkun>
okay. Why do you think you can't make it a function that accepts lib (or at least pkgs - I don't know if nixops will autocall it with lib or not)?
<exarkun>
my nixops "logical" expressions are all functions like { config, pkgs, lib, ... }: ... - oh hey look, it can take lib
<jgt>
exarkun: I think I just misunderstood how this should work in the file, and I didn't have lib or pkgs in scope at the top of the file
<exarkun>
Ah you probably mean a different layer
wfranzini has joined #nixos
<exarkun>
jgt: You're talking about the expression containing all of your machines, not your individual system configs?
<exarkun>
I guess there are a few solutions. Here's a starting place - `with import <nixpkgs> { };`
is_null has joined #nixos
<jgt>
exarkun: I'm not talking about the machine expression. In some way, you have helped me understand where I was going wrong, and why those identifiers weren't in scope. So now the problem is fixed :)
<exarkun>
great
bakakuna has joined #nixos
terps has quit [Ping timeout: 252 seconds]
terps has joined #nixos
Thra11 has joined #nixos
janneke has joined #nixos
<Athas>
Any Sway users here who have a working Redshift (or similar) setup?
Palpares has quit [Remote host closed the connection]
klntsky has quit [Read error: Connection reset by peer]
shibboleth has quit [Write error: Connection reset by peer]
andreas303 has quit [Write error: Connection reset by peer]
xelxebar has quit [Write error: Connection reset by peer]
gxt has quit [Write error: Connection reset by peer]
lyvidev has quit [Write error: Connection reset by peer]
oida has quit [Write error: Connection reset by peer]
jb55 has quit [Write error: Connection reset by peer]
phreedom has quit [Write error: Connection reset by peer]
wfranzini has quit [Read error: Connection reset by peer]
<mightybyte>
Does anyone here have nix infrastructure for automatically bumping dependencies for the purpose of getting early warnings about breakages caused by changes upstream?
casaca has quit [Ping timeout: 245 seconds]
is_null has quit [Ping timeout: 246 seconds]
wfranzini has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
is_null has joined #nixos
casaca has joined #nixos
wfranzini has joined #nixos
Palpares has joined #nixos
<pie_>
clever: uhh...now what " Using host resolv.conf is not supported with systemd-resolved"
<pie_>
containers seem to be unhappy with whatever the default dns config is
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjdfG
jboy has quit [Remote host closed the connection]
gxt has joined #nixos
<pie_>
or it would be nice if it suggested a possible fix at least :I
gvolpe has joined #nixos
<gvolpe>
I'll try again: how do I deal with broken Haskell packages in `nixpkgs`? I have a project that compiles fine using just `cabal new-build` but it doesn't work under `nix`
<gvolpe>
I read a lot of different sources but I'm just stuck :/
<manveru>
well, if something is broken in nixpkgs you either have to try a nixpkgs version where the package is not broken, or write your derivation for it instead...
<hydropyrum>
hi, is it okay to ask darwin questions here? i'm having trouble getting python3+tkinter to work
<manveru>
hydropyrum: we got #nix-darwin :)
<manveru>
but i guess you tried that
<hydropyrum>
yes :)
<gvolpe>
How do I do that manveru?
<gvolpe>
Have you looked at the linked nix file? That's what I
<gvolpe>
I've been trying to do
<manveru>
gvolpe: i don't have much experience with modifying haskell packages on nixpkgs, sorry
<gvolpe>
Okay no worries
<manveru>
in my experience nixpkgs is fine for tiny stuff... but when dependencies get more complex you probably want something else
<manveru>
i'm really no expert though :)
zupo has joined #nixos
wfranzini has quit [Remote host closed the connection]
<gvolpe>
As a newbie to Nix, that's been my experience so far. When everything works Nix is amazing but when it doesn't It's hard to tell what's going on
<gvolpe>
The annoying thing is that my project is compiling fine using just `cabal new-build` but I want a reproducible build that's why I'm trying out `nix`
<Baughn>
Depends. It's a dynamic language without much if any compiler support, so writing .nix files can be pretty difficult...
<Baughn>
Oh, tried cabal2nix?
<gvolpe>
Yup
<manveru>
gvolpe: that's why i like haskell.nix, because it uses the cabal plan to build stuff with the exact versions you want...
<{^_^}>
#66644 (by lilyball, 24 seconds ago, open): erlang fails to build on macOS
<EsperLily>
thankfully I don't really need this so I can just remove elixir_1_8 from my local package set, but I bet this is a real problem for some people
is_null has quit [Ping timeout: 248 seconds]
ixxie has quit [Ping timeout: 268 seconds]
dsiypl4 has joined #nixos
rauno has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
freeman42x has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @WhittlesJr opened pull request #66645 → pythonPackagse.easysnmp: init at 0.2.5; python3Packages.poster3: init at 0.8.1 → https://git.io/fjdJw
freeman42x has joined #nixos
freeman42x has quit [Remote host closed the connection]
<mstan>
but wouldn't that make the UI feel slow and glichty?
<drakonis>
hmm, not really?
<drakonis>
its not glitchy, just low resolution
wfranzini has quit [Remote host closed the connection]
<mstan>
Odd. That's what i experienced last time when using Gnome and booted with nomodeset
<gchristensen>
mstan: what graphical image?
<drakonis>
its better than not being able to install
wfranzini has joined #nixos
<drakonis>
gnome uses a lot of gpu rendering
leothrix has quit [Ping timeout: 246 seconds]
<mstan>
I'm talking about the "Graphical live CD, 64-bit Intel/AMD" that is available in the download section.
<drakonis>
i assume you own a gpu not in the out of the box support matrix
<drakonis>
ie: nvidia
<samueldr>
mstan: what kind of hardware? e.g. new laptop (model?), and/or running with a freshly released GPU?
<mstan>
I guess haha.. It's a custom built pc. Intel CPU and Nvidia GPU
<drakonis>
there's your answer
<mstan>
So i guess i'm not really welcome here, haha.
<drakonis>
what, no
<samueldr>
drakonis: "there's your answer" ????
<gchristensen>
drakonis: yeah that was uncalled for
<drakonis>
yes that was
<mstan>
He's right. I've been told thousands times I'll struggle with nvidia gpus on linux.
<drakonis>
uhh
<samueldr>
mstan: what vintage of nvidia hardware?
<drakonis>
chill out there
<drakonis>
its probably maxwell onwards?
<mstan>
he didn't say anything bad lol
<mstan>
GTX 1070
<mstan>
Pascal, it's called, i think?
<drakonis>
yes
<gchristensen>
mstan: you are welcome here :)
<samueldr>
let me dig an URL, to try with the most recent kernel instead
<drakonis>
you should boot with nomodeset
<drakonis>
nouveau doesnt like the newer gpus
leothrix has joined #nixos
<drakonis>
even though it can still enter higher resolutions on other distributions
<drakonis>
install with the nvidia binary drivers and everything should be fine
<mstan>
I'm not on point when it comes to my linux knowledge. Probably trying nixOS with weak linux background isn't the best idea but a friend of mine showed it to me.
<mstan>
I really love the way package management works, so I have to give it a try.
<drakonis>
the package management is perhaps the easiest part
<mstan>
The configuration of the system overall is very nice.
<samueldr>
hm, I thought we built the graphical iso with the latest kernel, too, but I was mistaken, only the minimal image :/
<drakonis>
the tougher parts are an opportunity to improve your linux skills
<mstan>
I'm up to the challenge :D
<mstan>
So, which kernel version is on the latest graphical image?
mexisme has joined #nixos
<drakonis>
the kernel version isn't listed
<samueldr>
the default images, the published images, are always on the LTS at the moment of release
<jonge[m]>
shlevy: are there any examples of hail service configurations online? somehow i don't really understand how to use it. but i think it would make *click* if there was some minimal example somewhere.
<drakonis>
ah, nevermind, 5.4's only out after 19.09, :|
<samueldr>
drakonis: there's absolutely no way to know
<samueldr>
the LTS are announced after the release is done
<samueldr>
it could still be 5.3
<drakonis>
the lts are n+5
<jackdk>
gvolpe: to deal with a broken package, I try to build it on its own first, and if that works then I PR nixpkgs with a patch to configuration-hackage2nix.yaml like https://github.com/NixOS/nixpkgs/pull/61536
<samueldr>
they are at the discretion of Greg KH
<{^_^}>
#61536 (by endgame, 13 weeks ago, merged): configuration-hackage2nix.yaml: lattices is not broken
<ivegotasthma>
hello, I'm getting a collision between gcc and binutils-unwrapped in home-manager, is there an easy way to resolve it?
<jackdk>
gvolpe: while I'm waiting for that to merge, and for peti to do the next hackage package set update, I use pkgs.haskell.lib.unmarkBroken to, well, unmark the packages as broken.
janneke has joined #nixos
<samueldr>
ivegotasthma: the easy answer, though probably one you don't really want, is that compilers should never be added to a profile, either home-manager, systemPackages or nix-env
<samueldr>
ivegotasthma: it generally will end up in compilers not working "right" anyway
<gvolpe>
jackdk can you expand please? I'm a Nix newbie and many concepts are new to me
<ivegotasthma>
samueldr: ah, that's a good answer, and it works well for me
<jackdk>
gvolpe: which part?
<gvolpe>
When you say you try to build it on its own, you mean using `nix-build` or just `cabal`?
<ivegotasthma>
samueldr: why wouldn't I want to hear it? :D
<jackdk>
gvolpe: with the nix-build command specified in the PR I linked
<samueldr>
ivegotasthma: because it often happens that when someone tries to do something, that they want to do the thing :)
<samueldr>
ivegotasthma: it's generally recommended to use a nix-shell to get a toolchain
<ivegotasthma>
not me man, I don't like doing anything
<gvolpe>
So that would mean checking out the git project and run that command locally?
<ivegotasthma>
samueldr: thanks for the advice :D
<gvolpe>
jackdk
<jackdk>
gvolpe: no, it would mean running that command in a nixpkgs checkout
<jackdk>
gvolpe: so if it's been spuriously marked broken, then nixpkgs is easily fixed. I check against latest master to see whether I need to PR or not. You can also try with `nix-build -E '(import <nixpkgs> { config.allowBroken = true; }).haskellPackages.whatever'` since that's what your nix expr is using
<ivegotasthma>
samueldr: I now keep my dev tools in separate .nix files, which I run nix-shell on to build. is there a way I can pin those, so `nix-collect-garbage -d` doesn't purge them?
stepcut has quit [Remote host closed the connection]
<gvolpe>
jackdk I'm lost. Where should I try to run that command? In `nixpkgs` or in my project?
lambda-11235 has quit [Quit: Bye]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<jackdk>
oh that build command will run anywhere because it doesn't reference a relative path. It says "build from the nixpkgs currently on my system"
<samueldr>
ivegotasthma: I'm not sure, I think there are tricks, but can't seem to find them right now, quickly
<aszlig>
alienpirate5: what's the problem?
<alienpirate5>
oh sorry, didn't mean to ping you
<alienpirate5>
xkbvalidate does not cross compile
janneke has joined #nixos
<gvolpe>
jackdk got it, thanks. I did run that command but I get the same error.
<aszlig>
alienpirate5: ah, which error do you get?
<jackdk>
I get that error too, which is probably why that package was marked as broken
<gvolpe>
Trying to build the package `transient`
<gvolpe>
What does it mean for a package to be broken in `nix`? Using just `cabal new-build` my project compiles just fine
<aszlig>
alienpirate5: ah, of course, that's what i thought
<gvolpe>
And more importantly, is there any workaround? :D
<alienpirate5>
would it be ok to just replace the invocation of `gcc` with `$CC` or would that break it?
<aszlig>
alienpirate5: currently checking, not sure if _GNU_SOURCE is a thing there
<jackdk>
broken usually means that it fails to build in the current state of nixpkgs
<gvolpe>
Okay, that makes sense. Do you know if I can get away with some workaround jackdk?
<gvolpe>
I read people recommending overriding the package and setting a newer version of `all-cabal-hashes` which is what I was trying last but that didn't seem to work
<{^_^}>
#39179 (by jerith666, 1 year ago, closed): Clementine fails to build after chromaprint update
<jackdk>
gvolpe: stand by. I am making some progress but not sure if it's building completely
<gvolpe>
awesome, thanks for helping out! jackdk
ilikeheaps has quit [Ping timeout: 272 seconds]
Jonathan has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
<mstan>
I'm trying to run "parted /dev/sdb -- mklabel gpt", but I'm being told that /dev/sda will be deleted.
<mstan>
Am I missing something?
<mstan>
I'm trying to follow the installation manual line by line.
<jackdk>
gvolpe: this built on my machine. If it doesn't build on yours then our nixpkgs versions are slightly different and you should look into pinning nixpkgs https://www.irccloud.com/pastebin/ME72mzDs/default.nix
<Jonathan>
mstan: I think what it is saying is that when reformat your disk all data will be deleted.
<gvolpe>
jackdk thanks. I'm on the unstable channel and I updated it today.
<jackdk>
oh hey I never ended up unmarking a package as broken, because I needed newer versions of stuf
<ToxicFrog>
mstan: as in you're passing it /dev/sdb but it's saying that /dev/sda is about to repartitioned?