<{^_^}>
[nixpkgs] @kalbasit merged pull request #71479 → conftest: Remove sumdb override now that #34866 is merged → https://git.io/JeRvO
<{^_^}>
[nixpkgs] @kalbasit pushed commit from @c00w to master « conftest: Remove sumdb override now that #34866 is merged (#71479) »: https://git.io/Je008
mexisme has quit [Ping timeout: 276 seconds]
freeman42x has quit [Ping timeout: 252 seconds]
toppler has joined #nixos
Heirlung has joined #nixos
ris has quit [Ping timeout: 258 seconds]
Rusty1 has joined #nixos
Fare has joined #nixos
jonringer has joined #nixos
jluttine has quit [Ping timeout: 276 seconds]
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<kaliumxyz>
ok I got semi-working completion now for attributes on the system and packages, need to clean things up still :c
<kaliumxyz>
etu one cool thing you can do is use a background process of `nix repl` and load nixpkgs to get completion for pkgs and the stdlib c:
<leo__>
nixops doesn't work with ssh keyboard-interactive?
bvdw has quit [Read error: Connection reset by peer]
<leo__>
Which means no ssh - google-auth etc - 2fa support. .-.
bvdw has joined #nixos
ddellacosta has joined #nixos
khumba has joined #nixos
ee194350 has quit [Ping timeout: 265 seconds]
khumba has quit [Changing host]
khumba has joined #nixos
ee194350 has joined #nixos
bastion-tester has joined #nixos
jb55 has joined #nixos
Fare has quit [Ping timeout: 268 seconds]
<rardiol>
I'm trying to fix qpdfview. qmakeFlags has a "*.pro" item, but it disappears somewhere before reaching execution. Is there a way to call qmake with the glob without writing down every .pro file manually?
bastion-tester has quit [Quit: ZNC 1.7.4 - https://znc.in]
rardiol has quit [Remote host closed the connection]
bastion-tester has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
toppler has quit [Ping timeout: 240 seconds]
rardiol has joined #nixos
toppler has joined #nixos
Guest84 has joined #nixos
<Guest84>
hi hi. So I'm installing NixOS on a KVM and apparentl the ISO has been 'mounted'. I believe on reboot the KVM will run the NIXOS installation media. My question is, does the default installation media have ssh enabled ? (and what is the root password?)
<buckley310>
the live ISOs should have SSH available but not starting on boot
<buckley310>
so you would need to run `systemctl start sshd` after the ISO boots up
bastion-tester has quit [Quit: ZNC 1.7.4 - https://znc.in]
satoshi has joined #nixos
satoshi has quit [Client Quit]
bastion-tester has joined #nixos
<buckley310>
just checked, the root account on the live ISO has a blank password, so you would need to set one before SSHD will allow root logins
<Guest84>
Thanks. I only have access to the machine through ssh so i'm out of luck but the information was useful to know. Thank you. :)
<buckley310>
rolling your own ISO is surprisingly easy, though im not sure how to set it up with SSH on boot...
<Guest84>
I seem to recall that the manual mentions a way to do that (with prepackaged software and services). I'll probably just download the iso inside existing distro and install nixos `in place`
Fare has quit [Ping timeout: 268 seconds]
foldingcookie has joined #nixos
palo has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 246 seconds]
foldingcookie has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
adamantium has joined #nixos
<{^_^}>
[nixpkgs] @chkno opened pull request #71891 → vimPlugins.vader-vim: init at 2019-05-18 → https://git.io/Je0zD
xacktm has joined #nixos
Guest84 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @FRidh pushed commit from @delroth to staging « gst-plugins-base: apply patch for CVE-2019-9928 »: https://git.io/Je0gK
marcusr has quit [Remote host closed the connection]
drakonis has joined #nixos
marcusr has joined #nixos
<Ariakenom>
running "nix-shell --pure -p python37 awscli terraform" "python3" "import subprocess" breaks due to PYTHONPATH contatining enum34 and breaking python37. happens on my colleague's mint nix install but not on my nixos
<Ariakenom>
D:
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<Ariakenom>
the PYTHONPATH is only python 2.7 paths
Heirlung has joined #nixos
<pingu_>
Is there no list cons in nix? i.e. a -> [a] -> [a]
<pingu_>
It makes me sad to wrap things in singleton lists.
toppler has quit [Ping timeout: 276 seconds]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<FRidh>
ariakenom: do not use `nix-shell`, use `nix run`
adamantium has quit [Remote host closed the connection]
<Ariakenom>
FRidh: ok thanks. explanation pls
<FRidh>
nix-shell mimics the build environment, and thus runs any setup hooks that have been declared. Python packages come with python which has a hook, that sets PYTHONPATH, and breaks your stuff. nix run does not mimic the build env and thus does not execute the hooks
toppler has joined #nixos
m0rphism has joined #nixos
Jackneill has joined #nixos
<Ariakenom>
FRidh: can I do the same as --pure?
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
Jackneill has quit [Remote host closed the connection]
<FRidh>
ariakenom: unfortunately not
<Ariakenom>
I should say what I want to do. I want to check that I have specified all the dependencies of my app
Jackneill has joined #nixos
<FRidh>
ah wait
<FRidh>
there is
<FRidh>
ignore-environment
<FRidh>
I did not know that :)
<FRidh>
nix run --help
<Ariakenom>
yes. I was unsure how it compares
<Ariakenom>
is there an easy way to bring in packages similar to a fresh ubuntu install?
<{^_^}>
[nixpkgs] @FRidh pushed commit from @marsam to master « gitAndTools.delta: 0.0.12 -> 0.0.14 »: https://git.io/Je029
<bahamas>
I'm going through this tutorial https://vaibhavsagar.com/blog/2019/08/22/industrial-strength-deployments/ and I'm now trying to run deploy.sh. the difference between my setup and his is that I'm using Vultr. so, during the build I get this error: "error: a 'x86_64-linux' with features {kvm} is required to build '/nix/store/dpvbljlw76gzzvvzp3bczi15n0ljiilb-nixos-boot-disk.drv', but I am a 'x86_64-linux'
<bahamas>
with features {benchmark, big-parallel, nixos-test}". how can I go around it?
<Ariakenom>
is there an easy way to bring in packages into "nix run" similar to a fresh ubuntu install?
tiAy has quit [Ping timeout: 268 seconds]
pingu_ has quit [Remote host closed the connection]
nalck has quit [Quit: nalck]
ng0 has joined #nixos
<mthst>
on boot, my old thinkpad complains that 'the non-volatile variable storage is about full'. how can i safely remove efi variables when they are no longer needed?
loka has joined #nixos
<loka>
Hi all, is there a way to determine if *this* config is going to be used to build a vm?
<notgne2>
I did nix-store --optimize on one of my machines, but now have trouble identifying what the largest store paths are, is there a way to un-optimize?
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 4 commits to nixpkgs-19.03-darwin: https://git.io/Je0Va
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 8 commits to nixpkgs-19.09-darwin: https://git.io/Je0VC
<tokudan[m]>
I saw that some urls in meta.homepage are now quoted again in nixpkgs, while I believe I saw someone unquoting them some months ago. is there any reason for that or a clear style wether URLs should be quotes or not?
<das_j>
FRidh: thanks
Zer0xp has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
lsix has joined #nixos
<pingiun>
how can I nix-shell a default.nix that expects a callPackage?
kleisli_ has quit [Ping timeout: 268 seconds]
domogled has quit [Quit: domogled]
orivej has quit [Ping timeout: 250 seconds]
<immae>
pingiun: you can use the --arg to specify each value of the function, or you can do something like `-Ifoo=$(pwd)/default.nix -E "(import <nixpkgs> {}).callPackage <foo> {}"` (untested)
sigmundv has joined #nixos
toppler has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
<pingiun>
i am building my own derivation and want to do something similar to nix-shell '<nixpkgs>' -A pan
dansho has quit [Quit: Leaving]
<pingiun>
to manually test if cmake is going to work
logzet has quit [Ping timeout: 264 seconds]
<simpson>
pingiun: $ nix-shell -p pan
<pingiun>
that is something different right?
<simpson>
I personally use the REPL. $(nix repl '<nixpkgs>') and then ask the repl about `pan`.
<pingiun>
hmm
<pingiun>
but I'm not trying to build pan, but something that is not in nixpkgs yet
<simpson>
You're adding to nixpkgs, right? Or is this standalone?
<pingiun>
this is standalone
<simpson>
Oh. Then just $(nix-build) right?
<pingiun>
error: cannot auto-call a function that has an argument without a default value
<pingiun>
because I want to use dependencies from nixpkgs
<pingiun>
or do I use a with statement in that case?
<l33[m]>
Im hoping to get a course up on that soon
drakonis_ has joined #nixos
<l33[m]>
I need to talk to the nix gods on the beet practise
<l33[m]>
You have this notion of pure and unpure build shells too
<l33[m]>
To add even more fun to the mix
ThatDocsLady has quit [Quit: Leaving]
<pingiun>
it's a bit confusing for me
<__monty__>
pingiun: nix-shell -A attribute will get you a shell like you describe,
<pingiun>
which attribute tho?
<tokudan[m]>
infinisil: thanks!
<__monty__>
pingiun: The package you want an environment for.
<pingiun>
the package is not in nixpkgs because I am using a local file
rardiol has joined #nixos
<__monty__>
Ah, then simply invoking nix-shell in the directory with your default.nix should work.
<pingiun>
but then if I cd $src, I cannot write to the director
<pingiun>
so I cannot test anythign
<clever>
pingiun: the unpackPhase will cpy $src to .
<clever>
pingiun: so you want to run `unpackPhase`
<pingiun>
hmm
<pingiun>
okay
<pingiun>
yes that works, thanks
<pingiun>
:)
<simpson>
pingiun: You may find that this low-level debugging of your derivation only needs to happen a few times, and only to solve relatively trivial problems; after a while, you hopefully won't need to continually manually examine an unpacked src.
Mateon1 has joined #nixos
<__monty__>
I should probably do it *more*. I've resorted to println style debugging so far...
<pingiun>
simpson: this was the first time I'm building a (cmake) package and I wanted to check if I got all the dependencies right
<pingiun>
I read the nix pills and everything, but I was not sure the cmake stuff was going to work automagically
<pingiun>
it did work automagically though ;)
<pingiun>
I can imagine I could make my life easier by using a local nixpkgs tree, no?
<simpson>
If you intend to contribute to nixpkgs, then it's practically necessary.
<pingiun>
for now I just wanted to test eternalterminal.dev on my server
<pingiun>
I see that there are very many PRs for nixpkgs, is it still doable to get something like this into nixpkgs as a noobie?
<simpson>
Yes. It depends on the quality of the PR, how many people want/use it, and whether it is easy to maintain over time.
<pingiun>
another thing, how do package name clashes work? should I come up with something else than et for this? (there already is a package called et in nixpkgs)
toppler has quit [Ping timeout: 265 seconds]
<pingiun>
there are no namespaces right?
<__monty__>
Basically, yeah.
<red[m]>
Nix is pretty liberal with their package acceptance
<red[m]>
There are some namespaces, but none that would apply to you I don’t think
<simpson>
`eternalterminal` or `eternal-terminal` seem reasonable to me. `et` is right out; short binaries do not mean short package names.
<red[m]>
Eg: xorg, pythonPackages etc...
<simpson>
Sometimes there are mangled names. My favorite is `kubernetes-helm`, which is not `helm`.
ub has joined #nixos
drakonis1 has joined #nixos
<FRidh>
heh yea that one surprised me when I was giving a quick demo to colleagues...got a bit different helm executable
toppler has joined #nixos
ubert has quit [Ping timeout: 268 seconds]
drakonis_ has quit [Ping timeout: 264 seconds]
knupfer has joined #nixos
<pingiun>
should nixos services and new nixpkgs be submitted in a seperate PR? the nixos service would depend on the nixpkgs of course
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pingiun>
what are the -small channels?
<red[m]>
Smaller list of packages
<__monty__>
So they move faster.
<red[m]>
Basically, people follow “channels”
<red[m]>
And channels are updated when everything builds correctly
<red[m]>
So, small channels tend to break less as they have less systemd dependencies
* red[m]
ducks
* fling
quacks
<etu>
Small channels have the same packages as other channels -- but it's small is the sense that we run fewer tests before moving those channels forward.
knupfer has quit [Ping timeout: 245 seconds]
cfricke has quit [Quit: WeeChat 2.6]
<__monty__>
Do they move faster than the cache?
pie_ has quit [Read error: Connection reset by peer]
<red[m]>
They reflect the cache as I understand it, but check with etu as I misunderstood something earlier
knupfer has joined #nixos
rardiol has quit [Quit: Ping timeout (120 seconds)]
<__monty__>
If they're less strict about builds passing I suspect that they advance before everything's cached. That's probably kind of the point.
<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « mkvtoolnix: 37.0.0 -> 38.0.0 (#71696) »: https://git.io/Je0KY
nschoe has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Orbstheorem>
How would I go to override the end of the buildCommand of a haskell package? I'm building a stack package using cabal2nix (for local development). So far, I use the output derivation of my backage as a build input of yet another package that only does makeWrapper ${drv}/bin/dodo $out/bin/dodo, but I'd like to use wrapProgram instead. Also, by doing this, I cannot do mkShell {inputsFrom=(callPackage
<Orbstheorem>
./default.nix {})}.
rardiol has joined #nixos
<Orbstheorem>
s/backage/package/
orivej has joined #nixos
drakonis has joined #nixos
lukash_|away has quit [Ping timeout: 276 seconds]
drakonis1 has quit [Ping timeout: 265 seconds]
lukash_|away has joined #nixos
Okinan has joined #nixos
kreisys has joined #nixos
work_ has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<aanderse>
if i want to run some ancient software that nixos has packaged (back to 2013~ ish) is there anything i need to know? i would also want to run the module
<aanderse>
wanting to run this one module on nixos 19.09 if possible
<rnhmjoj>
aaron: it could be a problem if a major nix version change happened in the meantime. i recently tried to run a very old checkout of nixpkgs and nix refused to do it
<aanderse>
rnhmjoj: ok, thanks for the heads up. definitely a different version of nix so will proceed with caution... :)
<{^_^}>
[nixpkgs] @FRidh opened pull request #71908 → Python: add hook to check against dependencies in a requirements.txt file → https://git.io/Je0iO
<aanderse>
maybe a nixos container and set the channel... hmm
<otwieracz>
Hey.
wormwood has joined #nixos
wormwood has quit [Changing host]
<otwieracz>
After changing channel to 19.09 I am getting error which I tracked back to enabling octoprint in one of my containers. The error is: error: aiohttp-3.5.4 not supported for interpreter python2.7
<otwieracz>
How should I deal with that?
<wormwood>
Hello all, working with npm and nix-shell, is there any way to run npm install --global and it work within the default.nix env?
<exarkun>
otwieracz: Do you know Python?
<exarkun>
otwieracz: And can you share an example to reproduce the problem?
vidbina has quit [Ping timeout: 246 seconds]
<exarkun>
otwieracz: The most obvious thing is that the aiohttp package in nixpkgs now requires at least python 3.5. Presumably nixpkgs updated to a newer aiohttp and upstream has dropped older python support.
<exarkun>
otwieracz: running anything on python 2.7 is going to be increasingly difficult as upstream developers drop python 2.7 support
<exarkun>
otwieracz: it looks like octoprint still requires python 2.7
bahamas has joined #nixos
<exarkun>
otwieracz: so you might be left overriding aiohttp to an older version which still supports python 2.7
<astrall33>
\
<exarkun>
the good news is that python 3 is so inherently wonderful it doesn't really matter if you lose the ability to run all of your software, you can just bask in its greatness
<wormwood>
it was too overpowered for even guido
<joehh>
infinisil, tokudan[m] - thankyou very much - exactly what I needed
<astrall33>
running software, who want's to do that...f00ls.
<exarkun>
otwieracz: There's a section in the manual about Python overlays. I expect you would need to do one of those. https://nixos.org/nixpkgs/manual/#python
drakonis_ has quit [Ping timeout: 276 seconds]
<exarkun>
otwieracz: Alternatively, file a bug report on GitHub since ... presumably ... octoprint should work out-of-the-box instead of being broken.
<__monty__>
How can I determine whether this error comes from the local machine or the remote builder? I believe it's local but I want to make certain. http://ix.io/1ZHQ
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__>
pingiun: Yes, feel free. Only if you intend to maintain it of course. You can always add yourself as a maintainer even if there are several.
kreisys has joined #nixos
<{^_^}>
[nixpkgs] @etu opened pull request #71919 → pass-checkup: init at 0.1.1 → https://git.io/Je0Xe
toppler has quit [Ping timeout: 265 seconds]
Ariakenom has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
bhipple has quit [Remote host closed the connection]
kreisys has quit [Client Quit]
<pingiun>
useSandbox should be enabled by default on nixos, but how can I check configuration variables like this on a running nixos system?
<das_j>
FRidh: Thanks
joshuagl has joined #nixos
joshuagl has quit [Client Quit]
<{^_^}>
[nixpkgs] @guibou opened pull request #71920 → epsxe: fix link with openssl → https://git.io/Je0XJ
<das_j>
Is there a way to make `nix build` print the resulting store path?
kreisys has joined #nixos
toppler has joined #nixos
kreisys has quit [Client Quit]
<das_j>
not sure if my previous message made it through so sorry for reposting. is there a way to make the nix build tool (2.0) print the out path to stdout?
bahamas has quit [Ping timeout: 264 seconds]
<das_j>
ah it did
slack1256 has joined #nixos
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 14 commits to nixos-unstable-small: https://git.io/Je0XT
<fresheyeball>
I tried adding `/run/wrappers` in multiple places
<fresheyeball>
but it appears to have no effect
<fresheyeball>
anyone know how to get the gitlab shell executor to work?
<Twey>
Is there a good way to produce a stdenv that has two different toolchains in it that both work? I'd really like to have an x86_64-unknown-linux-gnu toolchain and an x86_64-unknown-linux-musl toolchain available to me…
<red[m]>
I believe you need to add pkgs.su to your path
<fresheyeball>
red[m]: yes indeed
<fresheyeball>
su is in /run/wrappers/bin
toppler has joined #nixos
ocmylife has quit [Read error: Connection reset by peer]
<tilpner>
fresheyeball: You're overwriting PATH, instead of adding to it
<Twey>
But I can't find any way to simply include a toolchain as a dependency, only via setting it as the stdenv from which I mkDerivation. But of course I can only have one of those
<fresheyeball>
tilpner: so? I added su, why can't it find it?
<tilpner>
fresheyeball: Although that's in the environment file, so I don't know what happens to it after
<Twey>
I keep trying to make a musl64 stdenv and then just add `gcc` and `glibc` to my buildInputs, but adding glibc to the build inputs seems to add paths to the stdenv's compiler too, and breaks things
<tilpner>
fresheyeball: Print $PATH from your service, I'm not sure path = cfg.packages makes it into runtime
<tilpner>
fresheyeball: Do GL runners see /run/wrappers? I haven't used them yet
<tilpner>
(That directory might not exist in their mount namespace)
<fresheyeball>
executable "echo" not found
<fresheyeball>
grr
<buckley310>
are there any disadvantages of firefox-bin as opposed to Firefox, aside from being tagged unfree? just curious since bin got updated to version 70 first
<ambro718>
Anyone else experiencing an "audio no longer working in Steam" problem after updating in nixos-unstable?
<fresheyeball>
Unknown lvalue 'PATH' in section 'Service'
<fresheyeball>
woah
<tilpner>
buckley310: Yes, firefox-bin comes with different (arguably insecure) options for NSS
<buckley310>
huh. interesting
<tilpner>
(Not terribly insecure, but worth mentioning if you care)
<tilpner>
buckley310: firefox-bin has NSS_ALLOW_SSLKEYLOGFILE=1, while firefox seems to have NSS_ALLOW_SSLKEYLOGFILE=0
<buckley310>
ah, ok. that's the thing where Firefox logs session keys for analysis in like Wireshark and stuff, right?
<tilpner>
Yes. It is reasonable to decide you don't care about this
<tilpner>
But it can make the ultimate keylogger replacement if an attacker uses it
<tilpner>
(TBF, the attacker can do it without this too, just more effort)
jlm66__ has joined #nixos
<fresheyeball>
ok got it
drewr has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}>
#71940 (by otwieracz, 2 minutes ago, open): Octoprint fails on 19.09 due to aiohttp-3.5.4 being incompatible with python2.7
brwoods has quit [Quit: WeeChat 1.4]
<evanjs>
lassulus: totally forgot to mention it earlier, but I responsed to das_j 's question on `nix build` and verbosity earlier, in case you didn't see it :D
<hlolli>
a bit off-topic question, by I'm sure the combined knowledge here can help me. I'm trying to test audio binary output of a c program, that in some cases implicitly reads the system clock to generate random signal. Is the same mechanism which nix uses to set the unix timestamp to 0 useful for testing applications that are dependent on the system clock?
<symphorien>
you can try to use libfaketime, maybe
<DigitalKiwi>
my wifi is horribly broken on nixos 19.09/unstable :|
<hlolli>
ah nice, it's python, just like I wrote my test in! Thanks symphorien!
<symphorien>
oh I thought that was a LD_PRELOAD trick
<selfsymmetric-pa>
Hi #nixos! I think it would be _really cool_ to have the Signal DBUS service available to Nix `services`. I tried testing it out and I got `Missing native library dependency for dbus service: no unix-java in java.library.path`. Is this familiar to any of you? Am I going about this the wrong way? Issue here: https://github.com/NixOS/nixpkgs/issues/62102
<{^_^}>
#62102 (by matthew-piziak, 21 weeks ago, open): Service request: Signal DBus Service
toppler has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
noudle has quit []
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
myskran has quit [Read error: Connection reset by peer]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
myskran has joined #nixos
Shouou has quit [Remote host closed the connection]
kreisys has joined #nixos
justanotheruser has quit [Ping timeout: 265 seconds]
henry__ has quit [Quit: Leaving]
toppler has quit [Ping timeout: 268 seconds]
lord| has quit [Ping timeout: 246 seconds]
lord| has joined #nixos
toppler has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
vidbina has quit [Ping timeout: 264 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jlm66_ has joined #nixos
<selfsymmetric-pa>
Another, unrelated question. I want to install `circleci-cli` but alias it to `circleci` on my PATH. Of course I can just alias `~/bin/circleci` to `/run/current-system/sw/bin/circleci-cli`, but how can declaratively change the name of the executable in my `configuration.nix` instead?
eraserhd has quit [Quit: WeeChat 2.6]
nalck has quit [Quit: nalck]
eraserhd has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<symphorien>
install this package: (pkgs.mkDerivation { name = "circleci-wrapper"; buildCommand = "mkdir -p $out; ln -s ${pkgs.circleci}/bin/circleci-cli $out/bin/circleci"; })
jlm66__ has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @veprbl pushed commit from @scalavision to master « truvari: init at 1.3.2 (#70877) »: https://git.io/Je0SN
<selfsymmetric-pa>
symphorien: Wow nice! That's super elegant.
<selfsymmetric-pa>
symphorien++
<{^_^}>
symphorien's karma got increased to 23
Jackneill has joined #nixos
nalck has joined #nixos
<selfsymmetric-pa>
Hmm. `ln: failed to create symbolic link '/nix/store/kcdldi08hmvsq3ppsqlmqh0jr450gzmp-circleci-wrapper/bin/circleci': No such file or directory`.
<gchristensen>
mkdir -p $out/bin
<symphorien>
well this is typed from the top of my head, so you might have to adapt
Estrange has quit [Remote host closed the connection]
<pingiun>
why do all dependencies need to be supplied explicitly when building python packages while rust packages can just use buildRustPackage and use cargo?
myskran has quit [Read error: Connection reset by peer]
myskran has joined #nixos
<sondr3>
because packaging in the Python world sucks
<sondr3>
imho
<gchristensen>
sondr3: come now, no need to be rude
<pingiun>
but what's the actual difference in nix implementation?
<pingiun>
I do agree btw :p
<gchristensen>
doesn't matter, no need to be rude
<l33[m]>
All packages managers start great
<simpson>
pingiun: Because Python packages using the standard setup.py can do basically whatever they like. There's no way to ask a Python package for its desired dependencies.
<l33[m]>
Then they start to implement all the features that cause it to degrade
<pingiun>
what about pyproject.toml?
<l33[m]>
In sure the os should manage these deps
<l33[m]>
Im sure of it
<l33[m]>
(Maybe)
<l33[m]>
Nix shell kinda changes the way you look at building a build environment
fusion809 has joined #nixos
<infinisil>
pingiun: There is a difference: How python does it you get all dependencies as nix derivations, which is something desirable in general
<infinisil>
How Rust does it with buildRustPackage it gets all dependencies in the single derivation
<evanjs>
l33[m]: don't forget direnv. I don't even know what nix-shell is anymore :B
<infinisil>
So the build takes a while because it needs to fetch and build all deps as well
<l33[m]>
Whixh is what your essentially doing with pip n things like that
<l33[m]>
There are many
<l33[m]>
In fact every language has its own package manager
<l33[m]>
Can nix be the one to managed it all
<simpson>
l33[m]: Not necessarily. Only the biggest, most popular languages do.
<simpson>
And yes, of course Nix can replace them.
<pingiun>
so what about using something like poetry to install all dependencies in the single derivation?
<l33[m]>
A bit lord of the rings but not the eye of sauron
<pingiun>
I'm talking applications btw, not libraries
<l33[m]>
Like real ,I wandered lonely as a cloud poetry’ Type poetry
gentauro42 has quit [Ping timeout: 265 seconds]
<l33[m]>
The best things are automatically
<l33[m]>
Its like super automatic
* simpson
hands l33[m] a lollipop
<l33[m]>
Sometimes its hard to tell the difference especially in node.js
selfsymmetric-pa has quit [Remote host closed the connection]
<l33[m]>
Lol
kleisli has joined #nixos
<pingiun>
simpson: why not let setup.py do whatever it likes? as long as it's deterministic
<simpson>
pingiun: There's no mechanism for setup.py to *request* a package, only to die if the package isn't present.
<simpson>
And yeah, many Python packages *do* run the setup.py.
<simpson>
But we still must arrange the build environment before doing so, and that includes build inputs.
alexherbo20 has joined #nixos
mexisme has quit [Ping timeout: 265 seconds]
<pingiun>
so in theory poetry2nix could fix all that?
fendor has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Ping timeout: 268 seconds]
<simpson>
Fix what? There's nothing *to* be fixed. Python's not going to change.
<{^_^}>
[nixpkgs] @bendlas opened pull request #71951 → buildLazyBinaries: init build support helper → https://git.io/Je09r
<simpson>
poetry2nix, or any other tool with a similar name (pypi2nix, etc.) generate Nix expressions. They don't replace the existing package management; they're more like importers into nixpkgs or other Nix trees.
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__>
Hmm, getting a "cannot coerce set to string" on a name attribute for a call to mkDerivation. What's up with that?
erasmas_ has joined #nixos
<colemickens>
If anyone's got a spare minute, this is a package bump that unbreaks v4l2loopback in 5.x kernels: https://github.com/NixOS/nixpkgs/pull/71783 should be an easy review/merge
<__monty__>
Btw, if anyone knows how I can get rid of that search path entry error I'd be glad to be rid of it. Removing it from the search path broke stuff last time I tried.
realrokka_ has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @NinjaTrappeur opened pull request #71953 → Backporting ACME v2 fix (#71291) to 19.09 → https://git.io/Je09b
<gchristensen>
NinjaTrappeur++
<infinisil>
__monty__: Why are you passing haskell.nix as arguments to nixpkgs?
<{^_^}>
NinjaTrappeur's karma got increased to 1
<infinisil>
Maybe that's a way to use it I didn't know about before
<__monty__>
infinisil: Because apparently that's how they roll now.
<infinisil>
Odd
<__monty__>
They've changed from it being a package set(?) to it being just a set with a config and overlays.
<infinisil>
__monty__: That looks like a reasonable shell.nix definition to me though, I'd say it's something weird with haskell.nix
<__monty__>
I don't grok things well enough to judge the change : )
<infinisil>
Maybe they aren't compatible with your <nixpkgs>
nalck has quit [Quit: nalck]
<hpfr[m]>
The KeePassXC derivation is built without support for network in by default. This does not align with the default builds of KPXC from their website. Where can I ask about this? I assume it’s for “security” reasons, but frankly I think deviating from the default build in the default derivation is strange. The option is still available to disable for those who want to
monsieurp has quit [Ping timeout: 276 seconds]
ddellacosta has joined #nixos
<__monty__>
infinisil: I'll look into it further tomorrow I guess. Thanks for checking it out, nn
<infinisil>
Cool, night :)
<infinisil>
For me too, nixcon starts early tomorrow!
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « you-get: 0.4.1347 -> 0.4.1355 »: https://git.io/Je0HN
hlolli has quit [Quit: Leaving]
thc202 has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
simukis__ has joined #nixos
simukis_ has quit [Ping timeout: 240 seconds]
_pash has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<_pash>
hello, I am currently on nixos-unstable, and there is a package that is broken, i havent built this package before, so i have nothing to roll back to... how can i build that package from 19.09 from a user account?
<_pash>
apologies if this is nooby, quite new to nixos
Havvy has joined #nixos
<wormwood>
_pash: you can use nix-env -iA <package_name>.
slack1256 has quit [Remote host closed the connection]
<_pash>
wormwood: so that doesnt seem to work, i tried that already
<wormwood>
does it spit back an error message?
<_pash>
wormwood: i've been trying to build it using a package override environment in config.nix
<_pash>
so i am under the impression that's the same as nix-env