<alienpirate5>
odd - i'm getting the same error again
<ashkitten>
hmmm, how can i make my dualshock 4 work via bluetooth?
<infinisil>
alienpirate5: Could be that some part of it needs to be patched to use the correct python path
smatting has quit [Ping timeout: 240 seconds]
<alienpirate5>
possibly
<alienpirate5>
uhh
ddellaco1 has quit [Ping timeout: 250 seconds]
<alienpirate5>
how do i override a package's python
<ashkitten>
the ds4 is detected in steam if i plug it in, but connected via bluetooth it is not
<alienpirate5>
i might just boot onto a live debian system and use that for calibration
<infinisil>
I'd look at the source of it, see where it calls python
shibboleth has joined #nixos
<lordcirth>
x-post: I want to have a file defining my standard machine, then have other machines import that and add changes. However, if I just do "hostname = defaults // { stuff; };" then it does a shallow merge and loses a lot of the config. What is the correct way to do this?
<lordcirth>
(in nixops, that is)
cinimod` has joined #nixos
syzygyzer has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @thoughtpolice pushed to master « chrony: fix build break from libseccomp 2.4.2 »: https://git.io/Jeykq
<energizer>
I'm installing from usb. "An error occurred in stage 1 of the boot process, whcih must mount the root filesystem on /mnt-root and then start stage 2. press one of the following keys
o1lo01ol1o has joined #nixos
cinimod` has quit [Ping timeout: 250 seconds]
<kisonecat>
ashkitten: I was able to get a ds4 controller to work with steam over bluetooth... I used bluetoothctl to pair and connect, and then `chmod 0666 /dev/hidraw7` so steam could access the raw HID device. I think there are missing udev rules somewhere...
o1lo01ol1o has quit [Ping timeout: 250 seconds]
werner291 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @ariutta opened pull request #75074 → doc/python: improve description of community tools → https://git.io/Jeykw
<syzygyzer>
im new to emacs (actually spacemacs). what are the pros/cons vs generating your emacs config with nix vs just using its own config? and is there anything you can't do with the nix expression that you'd have to go into the emacs config to do?
xkapastel has quit [Quit: Connection closed for inactivity]
Rusty1 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jeyk7
ddellacosta has joined #nixos
<boogiewoogie>
hey, is anyone here using steam on 19.09 without trouble lately?
<aanderse>
boogiewoogie: no problems here after the recent fix
<boogiewoogie>
aanderse: oh okay! didn't update today yet. glad to read that :)
b42 has quit [Ping timeout: 246 seconds]
roconnor has quit [Quit: Konversation terminated!]
o1lo01ol1o has joined #nixos
cinimod` has joined #nixos
cinimod` has quit [Ping timeout: 240 seconds]
werner291 has quit [Remote host closed the connection]
cinimod` has joined #nixos
cinimod` has quit [Ping timeout: 268 seconds]
the-kenny has quit [Ping timeout: 276 seconds]
the-kenny-w has joined #nixos
<kisonecat>
flokli: I will take a look!
boogiewoogie has quit [Remote host closed the connection]
cinimod` has joined #nixos
cinimod` has quit [Ping timeout: 250 seconds]
ddellacosta has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
jluttine has joined #nixos
cinimod` has joined #nixos
boxscape has quit [Remote host closed the connection]
growpotkin has joined #nixos
cinimod` has quit [Ping timeout: 276 seconds]
<syzygyzer>
is it possible to install nixos on a file system where everything is version controlled? or will you have to do some git tomfoolery to pull that off?
lovesegfault has quit [Ping timeout: 276 seconds]
<drakonis>
you mean ostree?
cinimod` has joined #nixos
cinimod` has quit [Ping timeout: 268 seconds]
<syzygyzer>
yeah that looks like what i want! thanks!
<o1lo01ol1o>
Does anyone know where acme certificates are stored?
justanotheruser has quit [Ping timeout: 240 seconds]
<clever>
o1lo01ol1o: /var/lib/acme/
<o1lo01ol1o>
Ah, just as I found it
<o1lo01ol1o>
clever: thanks.
<o1lo01ol1o>
clever++
<{^_^}>
clever's karma got increased to 267
cinimod` has quit [Ping timeout: 265 seconds]
<evils>
anyone feel like helping me clean this up? https://git.io/JeyLX i probably shouldn't use stdenv.mkDerivation, dunno what else to use, and i'm probably oblivious to a few other things that need improving
<clever>
evils: just delete lines 18-21, and 42-50, then change 22 to a plain {
<clever>
evils: and use callPackages to load the file, instead of callPackage
<evils>
how do i passe ${version} if no version is defined?
<evils>
s/passe/pass/
<clever>
evils: put it into the let block between 6&17
slack1256 has joined #nixos
<clever>
evils: although, all calls of mkLib take the same version, so just remove that arg to mkLib, and keep it in the let block, ebwteen 6&7
selfsymmetric-mu has joined #nixos
<evils>
clever: can that be overwritten from all-packages.nix?
<evils>
clever: i'd also like a way to from kicad-unstable (which uses this), set specific revisions/hashes for each of those, if there's a neat way to achieve that
<clever>
evils: thats not a good idea, because you have to update 5 sha256's every time you change the version
<evils>
clever: you mean the overwrite from all-packages.nix right?
<clever>
evils: it would need to accept a version and 5 hashes, which just makes it more confusing
<clever>
evils: or use .overrideAttrs on a single drv from it, like any other drv
<evils>
clever: i think i've only seen such things in all-packages.nix, and don't know a way to do that for 5 packages that wouldn't look like a mess
<evils>
well, i don't even know where in the unstable.nix i'd put that, except for where i refer to kicad-libraries.symbols, and i think that'd make for an unacceptable mess
<clever>
evils: not sure how you could make it better
cinimod` has quit [Ping timeout: 276 seconds]
<evils>
it'd also scatter the hashes across the unstable.nix
<evils>
i suppose i could put that in all-packages.nix, at least they'd all be next to eachother
<evils>
clever: ideally i'd have an optional block for "withLatestLibs" at the top of unstable.nix that overrides the values for kicad-libraries
<evils>
but i'm drawing a complete blank on how i'd do that
<bdju>
Has anyone ran into the right click menu not appearing in gtk apps? Specifically pcmanfm and blueman. Ever since this install of NixOS it's been having this problem. Using Sway on Wayland, FYI.
<Dandellion[m]>
so um, how exactly is one supposed to spin up a nixos VM on azure?
mananamenos has joined #nixos
<mananamenos>
hi, i have lubuntu as guest on virtualbox, and "Insert guest editions CDrom" throws an error: *the network operation failed with the following error: During network request: Unknown reason*. Someone else has had this problem?
Tucky has joined #nixos
m0rphism2 has quit [Ping timeout: 268 seconds]
_pash has joined #nixos
<_pash>
hello, what's the suggested way to install packages from pip using wheels?
<Dandellion[m]>
oh I see, the 16.09 blob and then upgrade
Ariakenom has joined #nixos
sudoforge has quit [Ping timeout: 276 seconds]
m0rphism2 has joined #nixos
mananamenos has quit [Remote host closed the connection]
mananamenos has joined #nixos
<__monty__>
Dandellion[m]: Someone recently had trouble with this and rewrote (or was in the course of) the wiki page I think. I'm not sure they achieved a flawless azure experience though.
zupo has joined #nixos
zupo has quit [Client Quit]
veske has joined #nixos
kurogizesa is now known as Aleksejs
Aleksejs is now known as kurogizesa
kurogizesa is now known as Aleksejs
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
zupo has joined #nixos
cosimone has joined #nixos
Shados has quit [Quit: Shados]
romildo has joined #nixos
avn has joined #nixos
iz16_izmntuk has joined #nixos
Shados has joined #nixos
romildo has quit [Client Quit]
<avn>
Great news crew! Regarding slim > lightdm transition... `nixos-rebuild switch` kills user session
FRidh2 has quit [Ping timeout: 240 seconds]
<gchristensen>
jw
<gchristensen>
ew
FRidh2 has joined #nixos
<_pash>
how can i create a python package derivation that has an additional make and make install step with cpp prior to python setup.py install?
philr has quit [Ping timeout: 250 seconds]
kleisli has quit [Read error: Connection reset by peer]
kleisli has joined #nixos
<avn>
btw, folks, have you any ideas why networkmanager+modemmanager pulled on machine, which never have other connection than cabled ethernet?
<brightone>
_pash: can you give an example, so I can check if I'm correct first?
Kritnich has quit [Ping timeout: 250 seconds]
<brightone>
i meant pip wheels
<ddima>
_pash: there are pre/postInstall and pre/postBuild phases and the like.
<{^_^}>
#74987 (by delroth, 1 day ago, open): prometheus: bundle the webui assets and build the new React UI
vika_nezrimaya has joined #nixos
<yorick>
gchristensen: can we do IFD in nixpkgs?
<gchristensen>
no
<gchristensen>
I don't understand why this experimental UI is now required
<_pash>
FRidh2: that's what i am trying to do now, and then use it as a dependency from the python-module, how do i build the python module derivation after adding it to top-level/python-packages.nix?
<yorick>
can we revert the merge that broke it?
mexisme has joined #nixos
<yorick>
gchristensen: I don't think 2.14.0 requires the webui yet
phreedom has quit [Ping timeout: 260 seconds]
<yorick>
new webui*
<gchristensen>
well it evidently does if it doesn't workwithout it :P
Makaveli7 has quit [Quit: WeeChat 2.6]
<gchristensen>
but maybe we should report a bug?
<yorick>
you may have to specify using the old ui in your build process
<gchristensen>
hmm maybe you could send a patch fixing our prom without such a big diff? :)
<yorick>
gchristensen: I'll see if I can find out more
<gchristensen>
thanks
<yorick>
gchristensen: I don't think we can get their new web UI without getting it from a binary or checking in a 12kline yarn file
<yorick>
it just has that many dependencies
<yorick>
that, or a fixed output derivation
<yorick>
yes, that will work, but also ew
<emilsp>
is /proc/sys/net/ipv4/ip_forward enabled by default? If not ,what may enable it? I scanned my config and I couldn't identify anything that would.
<gchristensen>
yorick: yeah, no good. we can do it if we must, but I'd rather delay as long as possible
<yorick>
gchristensen: would you like fixed output derivation more?
<gchristensen>
docker turns it on, emilsp
<gchristensen>
yorick: nope
<gchristensen>
hehe
<yorick>
gchristensen: I mean, that's what all the cargo packages do
<yorick>
also all the go packages
<gchristensen>
yes and they are bad and should be eliminated
<ddima>
emilsp: afaik it's not and I use `boot.kernel.sysctl` to set it
<_pash>
when using inherit (package) version; i get an infinite recursion, any ideas why?
mexisme has quit [Ping timeout: 276 seconds]
phreedom has joined #nixos
mexisme has joined #nixos
`_ has joined #nixos
<`_>
Why is `intersperse` in `pkgs.lib.strings`? It takes a list and gives back a list, and it doesn't work with strings. It seems like it's out of place.
<gchristensen>
heh
Ariakenom has quit [Read error: Connection reset by peer]
mexisme has quit [Ping timeout: 250 seconds]
Shados has quit [Quit: Shados]
<`_>
That's probably been asked before but I'm just kinda, piling it on, so please humor me.
<gchristensen>
not seen this question before, I have no idea why it is there! :)
<`_>
Ah fair lol
<`_>
Seems like it'd be better placed in `lib/lists.nix`
FelschR has joined #nixos
<gchristensen>
+1
<`_>
I can make the pull request.
<`_>
Just figured I'd ask before I did it.
<FelschR>
I've just tried to install `nvim-lsp`but I'm getting the following error when rebuilding:
<emilsp>
gchristensen: that's it, it was docker :/ Thanks :)
o1lo01ol1o has joined #nixos
<gchristensen>
yep!
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<`_>
goddamn, it's taking ag plenty of time to find `intersperse` in the nixpkgs repo
<`_>
No way to fix that obviously, at the moment, just venting
<yorick>
gchristensen: the fact that the build process produces an output but it's wrong is probably a prometheus bug, even though yes we run it wrongly
<gchristensen>
yeah it might be
<eyJhb>
`_: shouldn't take that long, should it?
<gchristensen>
yorick: let's fix it on our side, possibly producing a patch, and if we get a nice ptach for them we can upstream it
<`_>
eyJhb: I mean I'm searching the contents of every single file in the rop
<`_>
eyJhb: repo*
<eyJhb>
grep -ir1 intersperse
<eyJhb>
?
<eyJhb>
Wouldn't that do the same?
<`_>
ag intersperse .
<`_>
Still taking long enough, it's finished now so there's nothing I need to change
<gchristensen>
`_: search.nix.gsc.io :)
<eyJhb>
Took 1.5 secs with grep for me :D
<yorick>
gchristensen: make assets builds that entire react app
<eyJhb>
`_: doesn't help if you don't have the package
<FelschR>
Does anyone have a clue what could be causing the `Cannot create directory /homeless-shelter: permission denied` issue which I'm getting here? https://pastebin.com/riP5BUdj
<frodo70>
Hello, I have two problems. The first one is this one: I found an old laptop with NixOS 17 on it. I'd like to upgrade it to the latest version, but every nix command I issue, gives me a "cannot execute binary file" message.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<`_>
Also that PR was reopened once because I did a typo and am a perfectionist.
<`_>
Judge me as you will.
<eyJhb>
`_: edit instead?
<`_>
eyJhb: That's the thing. Edits don't feel as natural as just opening a pull request and not editing it at all. Sure, it's pedantic, but I am a pedant if nothing else.
<yorick>
`_: I bet you never git rebase and just git merge master into your thing
<gchristensen>
`_: please try to avoid profanities :) this channel (and other nixos channels) have a lot of different types of people and cultures here
<`_>
gchristensen: my apologies.
mexisme has joined #nixos
<gchristensen>
thanks! (I sent you a PM about it a while ago, but I guess it didn't make it :P)
<`_>
gchristensen: I randomly log in and out of weechat and sometimes messages will be mised.
chris| has joined #nixos
<`_>
missed* wow I cannot type right now
<gchristensen>
aye I get that
<`_>
Oh dear another issue.
smatting has joined #nixos
helpusobi has joined #nixos
<ddima>
`_: maybe also consider adding a changelog entry.
mexisme has quit [Ping timeout: 250 seconds]
<`_>
ddima: Good call.
<_pash>
gchristensen: now i am getting a /bin/sh: pkg-config: not found
cinimod` has joined #nixos
mexisme has joined #nixos
zupo has quit [Ping timeout: 250 seconds]
ceephax has joined #nixos
zebrag has joined #nixos
Ariakenom has joined #nixos
inkbottle has quit [Ping timeout: 246 seconds]
ceephax has quit [Remote host closed the connection]
zupo has joined #nixos
pie_ has joined #nixos
cinimod` has quit [Ping timeout: 268 seconds]
mexisme has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
<`_>
ddima: Do you have an idea on how to edit the changelog?
erictapen has joined #nixos
<`_>
I'm looking through everything to be sure but if someone has an immediate answer I'd be happy with that as well
<`_>
/ cc gchristensen
FelschR has quit [Remote host closed the connection]
veske has quit [Quit: This computer has gone to sleep]
mexisme has quit [Ping timeout: 276 seconds]
<ddima>
`_: The corner is nixos/doc/manual/release-notes - at least those are the often used nixos release-notes. This change is not just nixos specific ofc, but the nixpkgs release-notes seem abandoned, so maybe better to doc there than not to doc at all.
<`_>
ddima: I'm seeing that. This seems... Messy at best?
<ddima>
I could imagine some mild breakage for people who might have been using 'strings.intersperse' directly, so mentioning the suggested change is the least we could do.
<`_>
Agreed.
<ddima>
`_: In which sense?
<`_>
I'm not sure. I'm not exactly the best when it comes to documentation migrations but it seems like it could be better done without XML, or is there a generator?
<ddima>
well, ok, if its the format discussion, there are like 200 threads on discourse about that ;)
<`_>
Ok fair point, I haven't gotten that far.
<ddima>
XML is not messy per-se ;)
<`_>
Says you lol
<ddima>
you basically just need to add one <listitem> and one <para> essentially
<`_>
I'll try to conform to what exists around my edit
<`_>
Right
<ddima>
well, look, not saying Im a fan, but the format discussion has not really lead anywhere, so eh ;)
phreedom has quit [Ping timeout: 260 seconds]
mexisme has joined #nixos
<ddima>
you can render it locally without issues, to test the changes etc. in this regard it imho works quite well.
<`_>
ddima: how do you render it locally?
cinimod` has joined #nixos
<`_>
I'm still fairly new, even after using nix* for about a year
<`_>
Also calling it nix* instead of *nix _still_ feels weird.
<ddima>
one way is to use nix-shell and then make in that folder
<`_>
ddima: what do you mean by "make in that folder"?
<`_>
I'm assuming `make` would just yell at me lol
<_pash>
what should I set my NIX_PATH to if i want to be on nixos-unstable and be able to contribute to nixpkgs?
<_pash>
should i point it to the path of my forked nixpkgs?
mexisme has joined #nixos
cinimod` has quit [Ping timeout: 246 seconds]
<`_>
ddima: Wow good call. I should have clicked `..`
Rusty1 has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Shoubit>
_pash, you don't need to be on unstable to contribute, you can use `nix-build -A your-cool-package` or even `nix-env -f ./ -i package` in the directory of the forked repository
<`_>
ddima: gchristensen: ("I appreciate all the help, I'll try to get this PR finished ASAP");
<`_>
Like I even needed the parentheses.
<_pash>
Shoubit: but if i then want to use that package straight away, after i get it working... what would i do?
<`_>
_pash: `nix-env -f ./ -i package` would place it in your PATH
FRidh2 has quit [Ping timeout: 265 seconds]
mexisme has quit [Ping timeout: 245 seconds]
<Shoubit>
_pash, both of those commands will build and "install" it in some sense. nix-build drops a symlink called "result" in the current directory and you can call the contained executables through that for convenience
FRidh2 has joined #nixos
smatting has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
<ddima>
`_: relax, there is no reason to hurry.
<`_>
ddima: don't tell me what to do :)
<_pash>
Shoubit: what if it's a python package that needs to be included into a .withPythonPackages?
<ddima>
`_: well, clearly not meant in such a way.
<_pash>
and it has to go into the same environment as the packages from 19.09 or unstable...
<`_>
I know, I'm kidding
<`_>
ddima ^ sorry didn't tag you
<Shoubit>
_pash, I'm not sure how the Python build tools work exactly, but I figure they'd either output a wrapper script into `$out/bin` or you can do that with some convenience function, that usually calls makeWrapper.
<Shoubit>
Which contain all the env vars you need to run it correctly
<Shoubit>
_pash, also, the packages you import are all from the forked directory so they're from master, when you do it through the commands above.
m0rphism2 has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 245 seconds]
cinimod` has joined #nixos
endformationage has joined #nixos
mexisme has joined #nixos
Shados has joined #nixos
cinimod` has quit [Ping timeout: 265 seconds]
frodo70 has quit [Remote host closed the connection]
<exarkun>
How do I do this without building anything? nix why-depends /nix/store/3rm9v023c3lzl1fbslgzsbmm6mrn90bj-python3.7-pytest-qt-3.2.2.drv /nix/store/pkr1d20qvdj9jq5wc7kcidr823970w4m-mariadb-server-10.3.18.drv
jgt1 has joined #nixos
ddellacosta has joined #nixos
<exarkun>
presumably I need both of the drvs but if I have them, why do I have to build anything else
<exarkun>
build or download
<gchristensen>
why-depends works on the build outputs, not drvs :(
<exarkun>
for some good reason?
jgt has quit [Ping timeout: 276 seconds]
<gchristensen>
not sure
<gchristensen>
but you can do nix-store --query --graph mariadb-server...drv and it'll show you the map
<exarkun>
yea. --graph output is so hard to read, though.
<exarkun>
pages and pages of |s for my eyes to carefully follow
<lewo`>
exarkun: i could help you to write a query if you need :/
ehmry is now known as ehmry_
<exarkun>
lewo`: I appreciate the offer. I kinda already have my answer in this case (I already scanned the dozen pages of nix-store --query --tree output). Just hoping to learn of a better way for the future.
mexisme has quit [Ping timeout: 276 seconds]
<pepesza>
Are there any recommended ways to debug?
cinimod` has joined #nixos
smatting has joined #nixos
ehmery has joined #nixos
ehmry_ has left #nixos [#nixos]
<etu>
,locate libxss
<{^_^}>
Couldn't find in any packages
<etu>
,locate libXss.so.1
<{^_^}>
Found in packages: xlibs.libXScrnSaver
<etu>
of course... :p
<kai_w>
pepesza: not sure about debugging methods, but let me comment on the gist
<Shoubit>
etu, iirc you should use xorg instead of xlibs now(?)
cinimod` has quit [Ping timeout: 240 seconds]
<etu>
,locate libasound.so.2
<{^_^}>
Found in packages: alsaLib
dejanr has quit [Quit: WeeChat 2.6]
<etu>
Shoubit: Tell that to the person who made this binary program :p
<etu>
ohno, it breaks on parsing /etc/fonts/fonts.conf
mexisme has joined #nixos
<pepesza>
kai_w: I'm starting to get basics, but this override thing is way still beyond my comfort level
<Shoubit>
I mean xorg.libXScrnSaver -- unless I'm confused and misunderstood you
<kai_w>
pepesza: I think you've got the hang of overrides, there were just a few more basic syntax errors going on. I posted on the gist, let me know if you have any questions
<kai_w>
might be a short while before I can reply
<etu>
Shoubit: ah, yeah, I took that one instead :)
<etu>
Shoubit: I just needed to know what the package was called
<lewo`>
exarkun: there is acutally a helper in gremnix to do this. Once the drv graph is loaded in gremnix, you can use the pathsToParent helper like that: g.V("/nix/store/...maria.drv").pathsToParent("/nix/store/...pytest.drv"). This returns the list of paths from pytest to maria.
<exarkun>
nice
devalot has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<juxiemaotu>
hi,everyone. I'm just a new guy who's been using nixos for a month
devalot has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<juxiemaotu>
i have some question to ask,anyone can help?
<exarkun>
juxiemaotu: probably. just go ahead and ask.
mexisme has joined #nixos
<tilpner>
lewo`: Just mentioning in case it wasn't a conscious choice: If you use fetchTarball to download a nixpkgs copy, you don't need to clone all of nixpkgs history (still 17MB)
<juxiemaotu>
when i use nix-copy-closure to install something from another computer,it prompt getting status of xxxx/found,not such file or directory
<juxiemaotu>
what should i do
bgamari_ has quit [Ping timeout: 265 seconds]
<tilpner>
The other machine has Nix installed, and nix-store is in PATH when you ssh into it?
<juxiemaotu>
yes
<juxiemaotu>
i can login in it use ssh
<tilpner>
And this prints a version?: ssh user@some-host nix-store --version
<{^_^}>
Gopal-M: The IRC<->Matrix bridge sends multi-line messages as links: `* Someone sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/... >`. This means that highlights don't work, people have to open your link, and it gets less visibility than multiple single-line messages
<lewo`>
tilpner: hm, I don't know why I did that:/ Will fix this later. Thx.
mexisme has quit [Ping timeout: 245 seconds]
cinimod` has joined #nixos
<Gopal-M>
ah
<Gopal-M>
hello! an error is being thrown when I try to start wine:
<juxiemaotu>
nix-store (Nix) 2.2.2
<Gopal-M>
/run/current-system/sw/bin/wine: line 4: /nix/store/r2w6qil081ffpnyny9rc083lvn9v8w22-wine-wow-4.0.2/bin/.wine: cannot execute binary file: Exec format error
<Gopal-M>
/run/current-system/sw/bin/wine: line 4: /nix/store/r2w6qil081ffpnyny9rc083lvn9v8w22-wine-wow-4.0.2/bin/.wine: Success
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
<Gopal-M>
I'm using linux-hardened kernel on NixOS 19.09
o1lo01ol1o has joined #nixos
<juxiemaotu>
nix-store (Nix) 2.2.2
<tilpner>
juxiemaotu: Yes, I saw it, that should be fine. Create a gist with the exact command and error
<tilpner>
Gopal-M: I think hardened disables i686 emulation
<pepesza>
kai_w: strangly it still ignores the override and installs erlangR22 (aka erlang). Even when I drop other packages that could bring erlangR22 with them.
<tilpner>
IA32_EMULATION = no;
<tilpner>
X86_X32 = no;
<tilpner>
^ from hardened-config.nix
<Gopal-M>
ah
<Gopal-M>
so is there no way around it?
<tilpner>
Gopal-M: And that file is .wine: ELF 32-bit LSB executable, Intel 80386
<Gopal-M>
can I build hardened with thoe two flags set to yes?
cinimod` has quit [Ping timeout: 265 seconds]
<tilpner>
Gopal-M: Not really, you're trying to run 32-bit code after having disabled 32-bit code execution
<juxiemaotu>
@tilper it's the frist i use irc,how can i put those msg here?
<hexo>
hi there!
<tilpner>
Gopal-M: Yes, you can probably disable just those lines, but you'll need to compile linux as a result
<hexo>
i've just noticed o still do have 4.19 kernel
<Gopal-M>
yeah, I can compile the kernel, no problem
<hexo>
what are the plans for newer one, please?
<tilpner>
juxiemaotu: Go to gist.github.com, create a gist, and paste the link here
<juxiemaotu>
tilpner:Thanks,i go to do it
mexisme has joined #nixos
<Gopal-M>
tilpner: could you point me towards how I would add those flags?
<tilpner>
hexo: You can use newer kernel versions whenever you want. 5.4.2 is not packaged yet though
m0rphism2 has quit [Ping timeout: 240 seconds]
<tilpner>
hexo: E.g. boot.kernelPackages = pkgs.linuxPackages_5_4;
<hexo>
nice!
<hexo>
i've noticed my x240 tends to freeze sometimes so i'd like to try a newer one
<Gopal-M>
I mean, is there a nixos option for building the kernel with custom flags?
<hexo>
thanks, i'll give it a go
<tilpner>
Gopal-M: Yes, but I'm not sure it will cooperate with the existing hardened config
<tilpner>
Gopal-M: So worst case: you need to copy the hardened config over to your own config
<Gopal-M>
yeah, I can do hit and trial, no problem :)
<Gopal-M>
I couldn't find any relevant flag in boot.kernel.* though
<{^_^}>
[nixpkgs] @winpat opened pull request #75105 → pygrok: init at 1.0.0 → https://git.io/Jey4E
o1lo01ol1o has quit [Remote host closed the connection]
knupfer has joined #nixos
<Gopal-M>
one more thing, after adding two flags in boot.kernelPatches, I see that nix is downloading the kernel source from upstream. so my question is does it now apply the hardened patches first and then my patches on top of that?
mexisme has joined #nixos
domogled has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
<avn>
Gopal-M: in theory you can build w64 only wine, but most programs claiming they are 64 bit really contain mix of 64 and 32bit stuff
<{^_^}>
[nixpkgs] @pashashocky opened pull request #75106 → transformers: init at 2.2.1 → https://git.io/Jey4Q
evil-olive has quit [Quit: Ping timeout (120 seconds)]
mexisme has joined #nixos
<_pash>
Hey guys, I am wondering if i create derivations for python packages and contribute them, how can i use them straight away in my config.nix if i am creating a custom python environment?
<ddima>
_pash: Im not sure I understand the question, but if you successfully and properly contribute them to nixpkgs, then they will be available just like the other packages under pkgs.python{,2,3}Packages.$foo for use.
<ddima>
if you don't get them into nixpkgs, then a decent option is to use package overlays.
evil-olive has joined #nixos
incognito9999 has quit [Quit: ZNC 1.7.2+deb3~bpo9+1 - https://znc.in]
<kai_w>
pepesza - I think `packageOverrides` is the wrong thing to replace, just replace `erlang` in the parent set. I commented with an example
Soo_Slow has joined #nixos
incognito9999 has joined #nixos
<ivan>
for anyone on master, how long does tagainijisho take to start? it's in -iA tagainijisho
<ivan>
seeing long delays after 19.09 -> master
incognito9999 has quit [Remote host closed the connection]
<_pash>
ddima: yes, but there will be a lag between them getting into nixpkgs and me wanting to use them
mexisme has quit [Ping timeout: 250 seconds]
waleee-cl has joined #nixos
<_pash>
ddima: so i guess the question is, how do i remain on nixos-unstable and be able to use the new derivation
<ddima>
_pash: there are a few ways Im aware of and unaware of, but personally I'd just import a local overlay then using nixpkgs.overlays
<ivan>
hmm seeing long startup times on other programs like filezilla
dbmikus has joined #nixos
<Gopal-M>
building hardened with the 32 bit emulation turned on seems to have disabled zfs?
mexisme has joined #nixos
<Gopal-M>
does boot.kernelPatches remove all others?
<_pash>
ddima: thanks, any tips on how to learn overlays?
lsix has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @matthewbauer opened pull request #75107 → Disable native tests for john the ripper → https://git.io/JeyBZ
<ddima>
_pash: not really anything that's better than the manual (https://nixos.org/nixpkgs/manual/#chap-overlays). it's quite simple really, you just take your derivation and stuff it into an expression (see 3.2) similar to nixpkgs/pkgs/top-level/all-packages.nix but in small/only containing your changes. I'd suggest to just try first, its not as hard as it seems.
FRidh2 has quit [Quit: Konversation terminated!]
t58 has joined #nixos
<raboof>
I'd like to build an android app. I created a `shell.nix` that contains "(import <nixpkgs>{}).androidenv.buildApp { name = "Alarmio"; }", but now `nix-shell` produces the error that I should set "nixpkgs config option 'android_sdk.accept_license = true;'"
<ddima>
(and for your config, it could be as simple as `nixpkgs.overlays = [ (import /foo/bar/overlay.nix) ];`
<raboof>
I already have `nixpkgs.config.android_sdk.accept_license = true;` in my `/etc/nixos/configuration.nix`. What could I be missing?
orivej has quit [Ping timeout: 268 seconds]
mexisme has quit [Ping timeout: 276 seconds]
o1lo01ol1o has joined #nixos
<_pash>
ddima: i see, so i would be doing an overlay for nixpkgs from my forked repo for that package
incognito9999 has joined #nixos
mexisme has joined #nixos
incognito9999 has quit [Client Quit]
<coderobe>
how would i go about launching nixos in a container on a non-nixos host?
<coderobe>
preferably systemd-nspawn
<coderobe>
just booting a rootfs like you'd normally do does not work, as /etc/os-release and /sbin/init do not exist, which it expects
<coderobe>
symlinking those, it explodes booting the container
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<ddima>
_pash: it doesnt even need to be in any sort of repo, it can live on its own locally as well (doesn't need whole nixpkgs).
rustik has joined #nixos
inkbottle has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
fendor__ has joined #nixos
zebrag has quit [Ping timeout: 265 seconds]
dansho has quit [Ping timeout: 268 seconds]
Soo_Slow has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
ftzm_ has quit [Quit: WeeChat 1.9.1]
knupfer has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
m0rphism has joined #nixos
Tucky has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
<evanjs>
Trying to set up a lorri env for android development, can I basically just follow the steps from the wiki but with a `mkShell`? Or what additional steps might I need to take?
<ddima>
_pash: you can relatively flexibly fetch expressions from places. you could use fetchTarball from your own repo and then use only the pkg in question for the overlay (https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs)
rustik has quit [Read error: Connection reset by peer]
Ariakenom has quit [Quit: WeeChat 2.6]
mexisme has quit [Ping timeout: 252 seconds]
Soo_Slow has joined #nixos
mexisme has joined #nixos
jhrcek has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
<jhrcek>
Hello! I've a dumb beginner question: If I load a file into `nix repl myfile.nix` it says "added 64 variables". Is there a way to list those 64 variables in nix repl?
<coderobe>
on one system, using `nix-instantiate --eval -E 'with import <nixpkgs> {}; lib.version or lib.nixpkgsVersion'` i got "20.03pre193309.c4196cca9ac", i just want to have the same nixpkgs on another system
<{^_^}>
[nixpkgs] @Ma27 pushed commit from @fooker to release-19.09 « nixos/networkd: Add more valid values for RequiredForOnline »: https://git.io/JeyR7
incognito9999 has quit [Quit: ZNC 1.7.2+deb3~bpo9+1 - https://znc.in]
<exarkun>
I already added wrapQtAppsHook to nativeBuildInputs. It made the failure a bit more verbose but either didn't fix it or just traded it for this one.
<{^_^}>
[nixpkgs] @Ma27 merged pull request #75046 → gst_all_1.gst-plugins-base: Fix building Wayland support (nullglob fail) → https://git.io/JeD7E
<selfsymmetric-pa>
I tried building `stack2cabal = pkgs.haskellPackages.callHackage "stack2cabal" "1.0.4" { };`. I got `tar: */stack2cabal/1.0.4/stack2cabal.cabal: Not found in archive`.
<selfsymmetric-pa>
Do I have to wait for the channel to include it automatically somehow?
<selfsymmetric-pa>
Can I build a package from Hackage without having to wait for unstable?
dbmikus has joined #nixos
lukash_ is now known as lukash_|away
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeyEp
romildo has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
rardiol has quit [Ping timeout: 252 seconds]
mabel has quit [Ping timeout: 245 seconds]
<clever>
selfsymmetric-pa: you want callHackageDirect, which also needs a sha256
<clever>
selfsymmetric-pa: callHackage relies on it being in all-cabal-hashes
aveltras has quit [Quit: Connection closed for inactivity]
<lordcirth_>
Following docs and running "nix-build -A netboot ~/gitRepos/nixpkgs/nixos/release.nix" - where nixpkgs is a checkout of channels/19.09. Returns: error: a 'aarch64-linux' with features {} is required to build '/nix/store/lr0qahmqcm101ykv5drvcmj6455ppsq-append-initrd-secrets.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
<lordcirth_>
I don't see what aarch64 has to do with anything here
mexisme has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages »: https://git.io/JeyuR
cinimod` has joined #nixos
<clever>
lordcirth_: run `nix repl ~/gitRepos/nixpkgs/nixos/release.nix` and then eval `netboot`, you should see that it is an attribute set containing many builds
MichaelRaskin has joined #nixos
<tobiasBora>
Hello,
<tobiasBora>
I can't understand why I can build a derivation on NixOs but not on debian. The derivation is super simple, so I guess it's a bug linked with sandboxing, but no idea. https://github.com/NixOS/nixpkgs/issues/75114
<{^_^}>
#75114 (by tobiasBora, 9 minutes ago, open): panic mkdir build: Build fails on debian when it does not fail on NixOs: sandbox issue?
<lordcirth_>
clever, so, it's trying to build all arches?
<clever>
lordcirth_: yes
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jeyuu
<clever>
lordcirth_: you want -A netboot.x86_64-linux
<lordcirth_>
clever, so the docs need updating, then?
<clever>
lordcirth_: probably
<lordcirth_>
Thanks! I may PR a doc fix later
<clever>
tobiasBora: already known and fixed, one min
<lordcirth_>
clever, What branch should I PR against? master?
<{^_^}>
nix#3142 (by cleverca22, 7 weeks ago, open): NIX_BUILD_TOP not set correctly outside of nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages »: https://git.io/Jeyua
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jeyu6
<tobiasBora>
clever: I actually found this issue quite a few days ago, but even after a complete reinstall of nix it still failed back then. A simple "nix-env -u '*'" does not fix it, but I can try to re-install one more time from scratch...
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JeyuS
<clever>
tobiasBora: i dont think the fixed nix is in nixpkgs yet
<tobiasBora>
same issue again, even after "rm -rf /nix ..."
<tobiasBora>
oh too bad...
<clever>
tobiasBora: the work-around is to --option sandbox false
<clever>
tobiasBora: or set `sandbox = false` in nix.conf
<tobiasBora>
great perfect thanks!
<tobiasBora>
it works, thanks a lot
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « haskell-dhall: update overrides for the latest version »: https://git.io/JeyuH
civodul has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @peti merged pull request #73861 → git: enable some of broken tests → https://git.io/Je66O
<tobiasBora>
clever: btw, a nix-env -u '*' should also reinstall latest nix when the PR will appear in nixpkgs, or I need a full reinstall of nix?
<clever>
tobiasBora: after you update your channels, it will update nix
juxiemaotu has quit [Quit: WeeChat 2.4]
<tobiasBora>
ok cool. Thanks!
<{^_^}>
[nixpkgs] @peti pushed 24 commits to haskell-updates: https://git.io/JeyuF
edwtjo has quit [Ping timeout: 265 seconds]
<{^_^}>
[nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/Jeyux
_pash has joined #nixos
wnklmnn[m] has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
philr has joined #nixos
fling is now known as trifling
trifling is now known as fling
<wnklmnn[m]>
Hi, I'm currently kicking the tires on nixos. I've tried to start an instance of gitlab by adding this to my configuration.nix file[https://pastebin.com/egg4GKrX]. It seems like there are some services starting but the web-service listening on port 8080 does not come up.
_pash has quit [Quit: leaving]
_pash has joined #nixos
<exarkun>
Ugh randomly became unable to import random modules during Python checkPhase on latest nixpkgs
<tilpner>
Have you checked the logs?
<_pash>
hey ddima, do you still have the last messages you sent me? my logging on irssi got messed up :/
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
civodul has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
goolord has quit [Remote host closed the connection]
goolord has joined #nixos
goolord has quit [Remote host closed the connection]
pamplemousse has joined #nixos
<pamplemousse>
hi there :)
<pamplemousse>
quick question about a nixpkgs expression that I am writing for a python package
<pamplemousse>
he package has tests relying on artifacts (binary programs) that are hosted in a separate repo
<pamplemousse>
so far, I have tried playing with fetchFromGitHub and preCheck, but I end up "polluting" the store with content I don't need outside of these tests
<pamplemousse>
and I have tried to git clone from preCheck, but it does not work
zupo has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
<hodapp>
so I installed rustup, rustfmt, rustc, & cargo, but running nearly anything just tells me "error: no default toolchain configured" or "info: no updatable toolchains installed"
<hodapp>
what else do I need to do for rustup to work?
<magneticduck>
I mean ... on NixOS, your sofware is immutable links to the store. it doesn't make sense to me that a tool would be able to "install Rust" without knowing how NixOS works
<{^_^}>
[nixpkgs] @flokli merged pull request #73606 → valgrind: Add perl as a native build input → https://git.io/JeKTw
<sm>
hey all.. I'm watching for "builds" of my package on hydra, and I see them for x86_64-linux only so far. How long is normal until darwin builds appear ?
<Athas>
I have a derivation (rocm-opencl-runtime, from an overlay) that fails to compile when I do `nixos-rebuild`, yet it works when I manually try to build it with `nix-build '<nixpkgs>' -A rocm-opencl-runtime`. I can see that the hash is different, so there it is building something different (or at least different dependencies).
<Athas>
Why is there a difference, and how can I try to build exactly what nixos-rebuild is trying to build?
<betawaffle>
are you using self or super?
<Athas>
I'm not sure. I have an entry in my configuration.nix with a nixpkgs.overlay that points at a Git checkout.
<betawaffle>
pastebin?
domogled has quit [Quit: domogled]
<Athas>
Of what?
<betawaffle>
the relevant parts of the configuration.nix?
romildo has quit [Quit: Leaving]
<Athas>
The relevant part looks like this: nixpkgs.overlays = [ (import /home/athas/repos/nixos-rocm) ];
<Athas>
evils: that worked, but I'm curious about the meta-solution. How'd you find this?
<evils>
Athas: atm i'm stuck with not knowing what to do next, stuck at the `nix-shell -p rocminfo` part, it can't find rocminfo
Guanin has quit [Client Quit]
<evils>
Athas: i believe i found this because the compiler warning mentioned a missing header file, and used nix-locate to find what package provided it
Guanin has joined #nixos
<Athas>
Right, I found that header file in many versions mesa, but apparently it has been moved since or something. Maybe I should garbage collect my store...
<evils>
i believe acowley is on this channel btw, though they didn't respond the last time i mentioned them
<Athas>
evils: regarding rocminfo, I've been using nixos-rocm for a long time now, but I don't think rocminfo has ever been there.
<Athas>
I mostly use the OpenCL ICD, which works fine.
zupo has quit [Client Quit]
boxscape78 has quit [Remote host closed the connection]
<evils>
Athas: maybe you can help me then, how do i get it to work xD
<evils>
it builds, but then what?
<Athas>
What do you want to do with it?
<evils>
i want blender to be be able to use OpenCL
Thra11 has joined #nixos
<Athas>
Running compiled things seems to mostly work OK through Nix magic, but whenever I've had to compile stuff, I've had to do it within a shell (or command) spawned by nix-shell -p rocm-opencl-runtime
<Athas>
I think that's necessary to make the libOpenCL.so visible, even though I also have rocm-opencl-runtime in my environment.systemPackages.
<Athas>
I also don't really understand the full mechanics of what is going on here, but I went over this with acowley recently (and he seems to have a pretty good grasp of things).
<evils>
overlays.nix is empty, does that file require anything else?
<Athas>
No, my file is just that line.
<evils>
then that didn't help :(
<genesis>
which software/solution you advise for take controle of a linux desktop (to help people with current session) ?
dbmikus has joined #nixos
<genesis>
remote desktop , so much soft, i donno (i'd package veynon for a try)
<evanjs>
Hey guys, can't remember how, but I recall vinagre having RDP capabilities on Gentoo with some auxiliary package; anybody know if I can get rdp working with vinagre here?
<evanjs>
Currently it just shows VNC and SSH
<evanjs>
I see some things in configure.ac... I think I know where this is going...
<genesis>
i look , perharps x2go with xfreerdp
<evils>
Athas: should i be using a services.xserver.videoDriver? currently using amdgpu
<gchristensen>
that 404 isn't what you think it means
<gchristensen>
that URL doesn't exist
<pamplemousse>
hmmmm, I got a problem with the Z3 package, when I went to use its Python package...
<gchristensen>
it has nothing to do with if a build for that platform exists
codedmart has quit [Remote host closed the connection]
codedmart has joined #nixos
<pamplemousse>
nix-shell -p 'python3.withPackages(ps: with ps; [ z3 ])' --run 'python -c "import z3; print(z3.Z3_get_full_version())"' ---> Z3 4.8.5.0 (I am happy with that)
shibboleth has quit [Quit: shibboleth]
<pamplemousse>
but when I try to use `buildInput = [ z3 ];` in another expression, I end up having "Could not find a version that satisfies the requirement z3"
codedmart has quit [Remote host closed the connection]
codedmart has joined #nixos
<pamplemousse>
and indeed, `nix-shell -p 'python3.withPackages(ps: with ps; [ pip z3 ])' --run 'pip list'` does not show Z3...
<clever>
pamplemousse: but you can likely still import it if you run python in that shell
<pamplemousse>
yes
<pamplemousse>
but the problem is that Z3 is a dependency of a package I want to make a derivation for
<colemickens>
woohoo! I used volth's chromium-git PR to add it to nixpkgs-wayland and have a build that works with Sway since someone implemented xdg-stable for chromium over the last week.
<colemickens>
I have a CI scenario I'd like to optimize, bascially I'd like to have nix-build early exit if all substitutions are available (aka, already built) instead of downloading them all.
<__monty__>
Sounds like something that's relatively easy to do in a wrapper script.
Rusty1 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @ericdallo opened pull request #75124 → clojure-lsp: init at release-20191202T142318 → https://git.io/JeyrZ
smatting has joined #nixos
justanotheruser has quit [Ping timeout: 250 seconds]
fragamus has quit [Read error: Connection reset by peer]