mizu_no_oto has joined #nixos
Rotaerk has joined #nixos
goibhniu has quit [(Ping timeout: 246 seconds)]
dalaing_ has quit [(Quit: Leaving)]
pie__ has quit [(Remote host closed the connection)]
pie__ has joined #nixos
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
acowley_away is now known as acowley
sellout- has joined #nixos
hellrazo1 has joined #nixos
tanonym has quit [(Quit: WeeChat 1.7.1)]
hellrazor has quit [(Ping timeout: 240 seconds)]
JagaJaga has quit [(Ping timeout: 240 seconds)]
pie__ has quit [(Remote host closed the connection)]
pie__ has joined #nixos
acowley has quit [(Quit: ZNC - http://znc.in)]
takle has quit [(Remote host closed the connection)]
pie__ has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
acowley_away has joined #nixos
acowley_away is now known as acowley
pie__ has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
pie__ has quit [(Remote host closed the connection)]
orivej has quit [(Ping timeout: 255 seconds)]
orivej has joined #nixos
ryantrinkle has quit [(Ping timeout: 240 seconds)]
ris has quit [(Ping timeout: 245 seconds)]
taktoa has quit [(Remote host closed the connection)]
Judson has quit [(Remote host closed the connection)]
vaibhavsagar has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
JagaJaga has joined #nixos
hamishmack has joined #nixos
aneeshusa has quit [(Quit: WeeChat 1.8)]
takle has joined #nixos
s33se has joined #nixos
s33se_ has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
<simpson> Interesting tool which mimics the behavior of Nix somewhat.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #26292: instead: 2.4.1 -> 3.0.0; instead-launcher: 0.6.3 -> 0.7.0 (master...instead) https://git.io/vHRDN
NixOS_GitHub has left #nixos []
lambdamu_ has joined #nixos
lambdamu has quit [(Ping timeout: 240 seconds)]
<drakonis> not older than nix it seems?
JagaJaga has quit [(Ping timeout: 240 seconds)]
<simpson> Nix is surprisingly pedigree'd.
takle has joined #nixos
Supersonic112 has quit [(Ping timeout: 240 seconds)]
Supersonic112_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
Supersonic112_ is now known as Supersonic112
drakonis has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
tanonym has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
spinus has quit [(Ping timeout: 268 seconds)]
tanonym has quit [(Quit: WeeChat 1.7.1)]
mbrgm has quit [(Ping timeout: 255 seconds)]
mbrgm has joined #nixos
tanonym has joined #nixos
<tanonym> The fun of getting proxy setups configured :)
mkoenig has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
s33se_ has joined #nixos
s33se has quit [(Ping timeout: 268 seconds)]
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
<tanonym> When launching an application from the terminal, how do I get it to run so that if the terminal window is closed it doesn't terminate the application as well? I have tried $APP & but that doesn't seem to do it.
<clever> tanonym: nohup and & are the main way
<tanonym> So, firefox --nohup for example?
<clever> nohup firefox &
<tanonym> That worked, thanks ^,^
drakonis has joined #nixos
<drakonis> hey
<drakonis> the packages i install do not appear to be available to the desktop environment
takle has joined #nixos
<clever> drakonis: how are you installing them, and looking for them?
<drakonis> yes
<drakonis> nix-env -i and through the gui?
<drakonis> kde5's start menu
<drakonis> ain't seeing no gzdoom in here
takle has quit [(Ping timeout: 246 seconds)]
mizu_no_oto has joined #nixos
<clever> drakonis: gzdoom lacks a .desktop file, you have to manualy run gzdoom in a terminal, or create a shortcut that runs gzdoom
<drakonis> hmm, how'd i make a shortcut anyways?
<clever> there should be an option for that somewhere in the kde gui
acowley is now known as acowley_away
ryantrinkle has joined #nixos
<drakonis> by the way, what do i have to do in order to manually compile a package?
<clever> drakonis: for testing, or to use the built product?
<drakonis> testing
<drakonis> also the latter
<drakonis> i want to check why there's no launcher whenever i run gzdoom
<drakonis> despite the debian binary having one
<clever> nix doesnt allow you to use things you manualy built long-term
<clever> ah
<clever> nix-shell '<nixpkgs>' -A gzdoom then run genericBuild
<drakonis> neat.
<drakonis> das some wizardry
hexagoxel has quit [(Ping timeout: 272 seconds)]
takle has joined #nixos
<drakonis> anyways, i'm fairly certain that ubuntu does some sort of fuckery
<drakonis> unity specifically
alx741 has quit [(Quit: alx741)]
<drakonis> because gzdoom appears in its list of packages with a correct icon
<drakonis> list of applications with a proper icon
<drakonis> where does it output the result of the compilation?
hexagoxel has joined #nixos
<drakonis> oh, it seems like i am missing kdialog?
takle has quit [(Ping timeout: 260 seconds)]
<drakonis> well that explains things i suppose?
takle has joined #nixos
simukis has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Ping timeout: 258 seconds)]
pie_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
sitwon has quit [(Ping timeout: 240 seconds)]
sitwon has joined #nixos
alx741 has joined #nixos
relrod has quit [(Quit: .)]
relrod has joined #nixos
relrod has quit [(Changing host)]
relrod has joined #nixos
jgertm has joined #nixos
<drakonis> why isn't kdialog available as a package yet?
<simpson> Nobody's packaged it.
isidore has joined #nixos
jgertm has quit [(Ping timeout: 255 seconds)]
drakonis has quit [(Ping timeout: 268 seconds)]
isidore has quit [(Quit: WeeChat 1.8)]
takle has joined #nixos
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 268 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
isidore has joined #nixos
isidore has quit [(Client Quit)]
orivej has quit [(Read error: Connection reset by peer)]
tanonym has quit [(Quit: WeeChat 1.7.1)]
riclima has joined #nixos
schoppenhauer has quit [(Ping timeout: 268 seconds)]
schoppenhauer has joined #nixos
takle has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
isidore has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
CMCDragonkai1 has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
phreedom has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
matthewbauer has joined #nixos
SunWuKong has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
isidore has quit [(Quit: WeeChat 1.8)]
matthewbauer has quit [(Ping timeout: 268 seconds)]
filterfish has joined #nixos
takle has joined #nixos
matthewbauer has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle has quit [(Ping timeout: 260 seconds)]
hamishmack has joined #nixos
SunWuKong has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
alx741_ has quit [(Quit: alx741_)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #26293: inkscape: patch python interpreter for extension code (master...inkscape-extensions-python) https://git.io/vHRxb
NixOS_GitHub has left #nixos []
reinzelmann has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gazally opened pull request #26294: arduino: 1.6.12 -> 1.8.2 (master...update-arduino) https://git.io/vHRpO
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
mog has quit [(Ping timeout: 272 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
miko__ has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
CMCDragonkai1 is now known as CMCDragonkai
MercurialAlchemi has joined #nixos
jgertm has joined #nixos
takle has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
mog has joined #nixos
jgertm has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
vandenoever has quit [(Ping timeout: 246 seconds)]
jgertm has joined #nixos
pie_ has quit [(Remote host closed the connection)]
marsel has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
pie_ has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
takle_ has joined #nixos
marsel has quit [(Ping timeout: 245 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
orakle has joined #nixos
takle_ has quit [(Ping timeout: 260 seconds)]
katyucha is now known as Guest7646
Guest4704 is now known as katyucha
lewo has quit [(Quit: ZNC - http://znc.in)]
dejanr_ has joined #nixos
lewo has joined #nixos
jgertm has quit [(Ping timeout: 245 seconds)]
<CMCDragonkai> Once you have written some user services in configuration.nix, rebuild switch doesn't autostart them, is there a way to start them without logging out and logging in?
odi has joined #nixos
<LnL> you can probably start them with systemctl
dejanr_ has quit [(Ping timeout: 245 seconds)]
<CMCDragonkai> no one step command to apply all of them?
<CMCDragonkai> some services have "RefuseManualStart"
orakle has quit [(Quit: Page closed)]
dejanr_ has joined #nixos
takle has joined #nixos
miko__ has quit [(Ping timeout: 245 seconds)]
takle has quit [(Ping timeout: 258 seconds)]
hotfuzz_ has joined #nixos
jmeredith has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vH0vM
<NixOS_GitHub> nixpkgs/master 790dedf Vincent Laporte: smplayer: 17.4.2 -> 17.6.0
<NixOS_GitHub> nixpkgs/master 3a4d03d Vincent Laporte: smtube: 17.1.0 -> 17.5.0
NixOS_GitHub has left #nixos []
hotfuzz has quit [(Ping timeout: 245 seconds)]
miko__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vH0vQ
<NixOS_GitHub> nixpkgs/master 758864a Gemini Lasswell: arduino: 1.6.12 -> 1.8.2
NixOS_GitHub has left #nixos []
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #26294: arduino: 1.6.12 -> 1.8.2 (master...update-arduino) https://git.io/vHRpO
NixOS_GitHub has left #nixos []
miko__ has quit [(Ping timeout: 240 seconds)]
<makefu> CMCDragonkai: user services are "special" in that regard. there are a couple of issues with them - for example that you cannot use system targets and user services always apply to all users (there is a PR to change this though)
takle has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] CMCDragonkai opened pull request #26295: gnupg agent module: Added extra and browser sockets to GnuPG agent, and added dirmngr, also made SSH support false by default due to programs.ssh.startAgent defaulting to true (master...gpg) https://git.io/vH0fA
NixOS_GitHub has left #nixos []
FRidh has quit [(Ping timeout: 240 seconds)]
dcz has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
pie_ has joined #nixos
dcz has quit [(Client Quit)]
takle has joined #nixos
odi` has joined #nixos
odi has quit [(Remote host closed the connection)]
<nixy> Neat
pie_ has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
takle has quit [(Ping timeout: 245 seconds)]
marsel has joined #nixos
pie_ has joined #nixos
dejanr_ has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #26296: autorandr: 855c18b -> ee77c35 (master...master3) https://git.io/vH0Jx
NixOS_GitHub has left #nixos []
faffolter has quit [(Read error: Connection reset by peer)]
afics has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-16.09: https://git.io/vH0UY
<NixOS_GitHub> nixpkgs/release-16.09 5ba8460 Mogria: sublime3: fix hardcoded /bin/bash when executing commands for build systems (#23561)...
NixOS_GitHub has left #nixos []
justan0theruser has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
kuznero has joined #nixos
<kuznero> Hi ALl!
nschoe has quit [(Quit: Program. Terminated.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vH0UE
<NixOS_GitHub> nixpkgs/master bd4c6b4 Profpatsch: inkscape: patch python interpreter for extension code
<NixOS_GitHub> nixpkgs/master 0a7bafc Frederik Rietdijk: Merge pull request #26293 from Profpatsch/inkscape-extensions-python...
NixOS_GitHub has left #nixos []
nschoe has joined #nixos
<kuznero> What can go wrong with my custom package? https://github.com/kuznero/dotfiles/blob/master/nixos/devel/elm.nix
<kuznero> It fails when `nixos-rebuild switch` with: make: *** No rule to make target 'install'. Stop.
<kuznero> But this is almost exact copy of official elm-format package in nixpkgs...
<kuznero> Please advice!
orivej has joined #nixos
<DIzFer[m]> there's no makefile in https://github.com/avh4/elm-format, right? You have to replace installPhase if I'm not mistaken
<DIzFer[m]> the default appears to be attempting to run `make install`
Raimondii has joined #nixos
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
thc202 has joined #nixos
<kuznero> DIzFer[m]: how do I do that? Sorry for lame question - I am still pretty new to Nix...
odi` has quit [(Remote host closed the connection)]
odi` has joined #nixos
odi` is now known as odi
<DIzFer[m]> In your elm.nix, add an `installPhase = '' '';`
astsmtl has quit [(Ping timeout: 268 seconds)]
<DIzFer[m]> however, I do see that both declarations are mostly identical, I don't know what's wrong
pie_ has quit [(Ping timeout: 255 seconds)]
miko__ has joined #nixos
Itkovian has quit [(Ping timeout: 268 seconds)]
<kuznero> DIzFer[m]: ok, I will try with empty install phase. Though, I am not sure why to skip it? Nix will figure it out itself?
Itkovian has joined #nixos
<DIzFer[m]> The most striking difference is in that your new package is not a function, you had to comment out the arguments...
<kuznero> I was trying to learn how to customize package if I don't get what I need from std one. Thus I took what I found in nixpkgs and tutorial example on how to do that here: https://nixos.org/nixos/manual/index.html#sec-custom-packages Which does not have it as a function. Do you know how do I turn it into one if that might help?
<kuznero> Having empty install phase didn't help
<DIzFer[m]> I got custom packages working with a normal (as in, same file structure that would go in nixpkgs) nix file that's imported under nixpkgs.config.packageOverrides
<DIzFer[m]> the two relevant lines are:
takle has joined #nixos
<DIzFer[m]> packageOverrides = pkgs: {
<DIzFer[m]> packageName = pkgs.callPackage path/to/packageName {};
orivej has quit [(Ping timeout: 272 seconds)]
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
<kuznero> DIzFer[m]: I will try with simple packageOverrides now, I just need to add postInstall with creating additional symlink... That should help... Moment
takle has quit [(Ping timeout: 260 seconds)]
ambro718 has joined #nixos
miko__ has quit [(Ping timeout: 240 seconds)]
pie_ has joined #nixos
takle has joined #nixos
<kuznero> DIzFer[m]: this is what I did (https://github.com/kuznero/dotfiles/blob/master/nixos/devel/elm.nix), but for some reason that symlink is still not created... :(
<DIzFer[m]> No idea why, I'd try making the full package an override :/
<kuznero> DIzFer[m]: the problem might be way simpler... `ln -s <target> <link>` but it is defined in the reverse order which makes ln to ignore it completely ;)
takle has quit [(Ping timeout: 240 seconds)]
<DIzFer[m]> dang
<kuznero> tons of time spent for nothing ... that happes. :)
<DIzFer[m]> I can never remember the correct order anyways
pie__ has joined #nixos
mudri has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
MP2E has quit [(Quit: leaving)]
<kuznero> DIzFer[m]: not that simple :) I was to quick to say it works. Will try to dig into it further
takle has joined #nixos
CMCDragonkai has quit [(Ping timeout: 245 seconds)]
tilpner has quit [(Remote host closed the connection)]
tilpner has joined #nixos
oida_ has joined #nixos
goibhniu has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
magnetophon has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 255 seconds)]
revtintin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vH0L1
<NixOS_GitHub> nixpkgs/staging 8b5dc2d Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
hamishmack has quit [(Quit: hamishmack)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vH0LA
<NixOS_GitHub> nixpkgs/master 6ce7049 Peter Simons: osc: udpdate to latest git version
<NixOS_GitHub> nixpkgs/master be3b7c7 Peter Simons: osc: install completion file for fish
NixOS_GitHub has left #nixos []
jensens has joined #nixos
Tucky has joined #nixos
ambro718 has quit [(Ping timeout: 245 seconds)]
<kuznero> DIzFer[m]: solved with packageOverrides finally (https://github.com/kuznero/dotfiles/commit/d593d81ffe583afde599d728e9591225b1c0f454). Thanks for help!
arjen-jonathan has joined #nixos
pie__ has quit [(Ping timeout: 260 seconds)]
ixxie has joined #nixos
miko__ has joined #nixos
takle has quit [(Remote host closed the connection)]
seantparsons has quit [(Quit: Leaving)]
seanparsons has joined #nixos
layus has joined #nixos
<aloiscochard> hey there, I'm trying to use the arrayfire library. Does anyone tried to build it on nix? can't find it in nixpkgs... (https://github.com/arrayfire/arrayfire)
takle has joined #nixos
<layus> Hi, I have an issue with NetworkManager and dhclient ? Anyone want to take a look @ https://pastebin.com/55RFvMvF
vaibhavsagar has quit [(Ping timeout: 246 seconds)]
<layus> Apparently networkmanager misbehaves on DHCPNAK, and does not try to get a new lease...
takle_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
civodul has joined #nixos
vaibhavsagar has joined #nixos
takle_ has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
jophish has quit [(Ping timeout: 255 seconds)]
Rodenbach has joined #nixos
<Rodenbach> On Kubuntu 17.04 I did bash <(curl https://nixos.org/nix/install) which performs a single-user install on my box. Then I tried the tutorial: nix-env -i hello and `which hello` returns the path to the binary in ~/.nix-profile
<Rodenbach> Now however when I try to run hello I get an error message: hello: error while loading shared libraries: __vdso_time: invalid mode for dlopen(): Invalid argument
<layus> aloiscochard, It seems that arrayfire have very good install instructions. Want to give a try at packaging it in nixpkgs ?
<layus> Rodenbach, what gives `ldd /path/to/binary/hello` ?
<aloiscochard> layus: yep seen indeed, but actually I changed my mind and decided to try `collenchyma` (native rust library) which seems better for my use case
__Sander__ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
jophish has joined #nixos
takle has joined #nixos
<Rodenbach> layus: it says: linux-vdso.so.1 => (0x00007ffda3b51000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcf6b4f9000) and /nix/store/f111ij1fc83965m48bf2zqgiaq88fqv5-glibc-2.25/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000558b5822c000)
pie__ has joined #nixos
<layus> Rodenbach, that's not what it's supposed to look like
<Rodenbach> I see.
<Rodenbach> I noticed that when I reset LD_LIBRARY_PATH= to nothing, then it does work. I can run hello.
<layus> I have linux-vdso.so.1 (0x00007ffcd0b9f000)
<layus> libc.so.6 => /nix/store/<hash>-glibc-2.25/lib/libc.so.6 (0x00007f4e5b020000)
<layus> and /nix/store/<hash>-glibc-2.25/lib/ld-linux-x86-64.so.2 (0x00007f4e5b3bf000)
ertes has quit [(Ping timeout: 255 seconds)]
<Rodenbach> So it looks similar, but that last entry it problematic.
<layus> Yes, you have the wrong loader, and the wrong libc. Do you have any LD_PRELOAD stuff in your env ?
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
pie__ has quit [(Ping timeout: 268 seconds)]
<layus> Rodenbach, Can you `patchelf --print-interpreter /nix/store/<hash>-...hello.../bin/hello` ?
<layus> you can get patchelf with nix-env -iA nixpkgs.patchelf ;-)
<srhb> I notice that enabling virtd causes virbr0 and virbr0-nic interfaces to be connected. However, when I try starting qemu-kvm, they don't appear to go up or anything. What do I need to do to have the guest connect to a server on the host?
<srhb> Alternatively, how do I get virt-manager to connect to virtd?
<srhb> Hm, that was possibly using a "user session" in virt-manager, but networking doesn't seem much easier with the GUI. :-)
hamishmack has joined #nixos
<layus> Rodenbach, apparently I got some network latency. You cannot reasonably expect nix package to work if you fiddle with LD_PRELOAD
erictapen has joined #nixos
<erictapen> Hello everyone, how can I make the which command available in nix-shell? I did'nt expect it to be unavailable.
<nixy> erictapen: You can just add `which` to the list of packages in nix-shell
<layus> erictapen, -p which ?
<layus> or remove the --pure option ;-)
<erictapen> ok, that was easy, pkgs.which did it. Thanks!
<erictapen> I had a quick search for which in packages, but found 300 results, so I did'nt look further.
<Rodenbach> layus: I will try that patchelf thing
hellrazor has joined #nixos
<Rodenbach> patchelf --print-interpreter /nix/store/1gqj6zr1x0n812qxijy066fzrypgh3im-hello-2.10/bin/hello =>
<Rodenbach> /nix/store/f111ij1fc83965m48bf2zqgiaq88fqv5-glibc-2.25/lib/ld-linux-x86-64.so.2
<clever> that looks normal at a glance
jophish has quit [(Remote host closed the connection)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
hellrazo1 has quit [(Ping timeout: 268 seconds)]
<Rodenbach> Typically my LD_LIBRARY_PATH is /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu/ but with this setting nix will find first glibc 2.24 while the hello bin used glibc 2.25. Resetting the ld lib path to nothing helps.
<srhb> When I try something like sudo qemu-kvm -netdev bridge,br=virbr0,id=test1 -- I get "bridge helper failed"
<srhb> Is there some dependency I'm not aware of?
<clever> Rodenbach: anything compiled by nix expects LD_LIBRARY_PATH to either be blank, or to contain the opengl drivers
erictapen has quit [(Quit: Leaving)]
<Rodenbach> Okay, so I can blank it out first if that should be required. At least for now, while just learning how this works this will be fine.
<clever> everything on nix has an rpath set, which contains the absolute paths for things like libc
<clever> and this allows different programs to depend on different libc's
ertes-w has joined #nixos
<srhb> Is virbr0-nic supported to be the hosts interface into the virbr0 network?
<clever> srhb: 'ip link' should show what bridge things have been enslaved to
takle_ has joined #nixos
<clever> srhb: and if you want it to get into the internet, you also need to add the main ethernet card to that bridge in the nixos config
<layus> Rodenbach, may I ask why you need it ?
<srhb> I don't want that (for now) -- I just want the guests to be able to communicate with the host and vice versa.
takle has quit [(Ping timeout: 246 seconds)]
<clever> srhb: "bridge helper failed" implies that qemu is supposed to be running a scribe to deal with bridging, if you dont need very fast network, you can just omit -netdev entirely, and qemu should setup userland nat
<clever> s/scribe/script/
<Rodenbach> layus: why I need the ld path? I am using some applications in my company environment which expects this to be set.
<srhb> clever: I'll try that after lunch, thanks.
<srhb> Wait, how does NAT help me? How do the guests talk to the hosts with NAT?
<srhb> I'm supposing the guest AND the host need to have an address on a shared networkl
<clever> the userland nat in qemu will decode packets the guest tries to send out, and turn them into a simple bytestream
<clever> then it opens a normal tcp connection on the host, and sends it to linux, which re-packetizes it
<clever> so the guests can get internet access without having to give qemu root
<clever> and it needs zero config
<layus> Rodenbach, the way nix handles custom configuration like that is to wrap binaries with a small shell script that sets the variable, instead of propagating it everywhere. If you keep using nix, it may be your wisest move ;-)
<layus> Just write a small wrapper in ~/bin for you company application commands.
<Rodenbach> layus: this is possibly what I’ll end up with, or… even doing the switch to NixOS one day.
<Rodenbach> For the coming days it’ll be fine to manually reset the path back and forth. I want to learn how I can use nix to create Docker images in a repeatable way.
<layus> Rodenbach: \o/ !
<Rodenbach> Yeah, right now we can’t delete older images, as it might not be possible to rebuild them correctly. But with nix we are basically free to remove older images. In case somebody needs it back we can easily restore it. That’s the hope.
sammy6345 has joined #nixos
<sammy6345> Hi there
<nixy> Heya
ilyaigpetrov has joined #nixos
<Rodenbach> I would like to ask what value Nix provides. In the sense of: what manual steps does it abstract away? I personally would guess that it basically is semantically similar to snapshotting the whole repository of packages as soon a new one gets added.
<Rodenbach> I would imagine that this is being done by making use of some functional data structure (a bit git like, but working nicely for big binary files) and does not literally need to clone the whole 500GB repo.
<Rodenbach> In principle I could manually do this, by using some Linux distro, say, Debian, and download all packages and store them in git. And my Dockerfile would explicitly set its sources to my local disk instead of using remote ones.
<Rodenbach> Is this basically the core idea? Nix is doing something like that, but obviously not using git but some specialized mechanism. So that the Nix servers do not require an 800 exabyte disk on which every single fully cloned repository gets stored, but instead where one can easily deliver specific binaries of a specific version?
<srhb> Hmm. I don't think I want userland NAT. I want to be able to set up a dhcpd on the host which the guests can access for PXE
<srhb> (Well, and a tftp server)
<goibhniu> Rodenbach: nix makes such a process very easy to manage, and share with others
<clever> srhb: qemu can also embed a tftp server inside the userland nat for you
<srhb> Oh, yes, I remember seeing something about that.
<clever> -net user,vlan=0,net=10.0.2.0/24,host=10.0.2.2,dns=10.0.2.3,hostfwd=tcp::2222-:22,tftp=${ftpdir}
<clever> srhb: this is from my automated testing of ipxe
<clever> it sets the ip range for the guest network, and runs a tftp server pointed at a given dir
<srhb> I guess that's easier than learning proper networking. :-) I'll give it a go.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yurrriq opened pull request #26297: musescore (darwin): 2.0.3 -> 2.1 (master...update/pkgs/applications/audio/musescore) https://git.io/vH0Bl
NixOS_GitHub has left #nixos []
phreedom has joined #nixos
<ToxicFrog> What the hell
<ToxicFrog> Calibre appears to be broken in both unstable and 17.03 now
<ToxicFrog> Or, wait, maybe just unstable?
chpatrick has joined #nixos
<chpatrick> hey
<chpatrick> is it possible to get a nix-shell where a given package can be built incrementally from the command line?
<chpatrick> like .env for haskell packages, but for one built with cmake
<goibhniu> chpatrick: IIUC that's what the -A option is for ... does the section of the manual with `nix-shell '<nixpkgs>' -A pan` look like it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vH0R9
<NixOS_GitHub> nixpkgs/master 6482224 Jörg Thalheim: cgdb: 0.6.8 -> 0.7.0
NixOS_GitHub has left #nixos []
<ToxicFrog> Ok, I think maybe I'm just bad at nix-channel and it's only broken in unstable, but it's hard to tell because I can't build this system configuration in 17.03 either, but for different reasons -- it's failing to download one of the files:
<ToxicFrog> *** Downloading ‘https://cache.nixos.org/nar/1p2l4zsqzk2i5pkspz3c2d7n9mz6xdmarz3jfkci88h5w09kyc5y.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/sto
<ToxicFrog> re/86mc2lskzs78wfi3ds9663z06rpp3fbv-glibc-2.25-dev’...
<ToxicFrog> curl: (22) The requested URL returned error: 500
<ToxicFrog> /nix/store/1nsbgi7l93idk0y82vvrbgvnp8jwbijl-xz-5.2.3-bin/bin/xz: (stdin): File format not recognized
<ToxicFrog> Same thing happens if I try to wget it from a different machine.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vH0RA
<NixOS_GitHub> nixpkgs/master bb21e53 Jörg Thalheim: ropper: fix tests
NixOS_GitHub has left #nixos []
<clever> but that url works from this end
<clever> i believe its an issue within cloudflare/front
<the-kenny> Anybody here knows of a tool to show the last n lines of an *active* pipe? Like tail, but streaming. Pipe gets output of a program and I want my terminal to show the last two lines read from the pipe
<symphorien> tail -f ?
<chpatrick> goibhniu: I don't think it's relevant, that just selects an attribute from a nix expression
<the-kenny> symphorien: doesn't work as the pipe doesn't include EOF yet. Tail doesn't know where to start.
<clever> chpatrick: when you run nix-shell like that, it will drop you into a shell suitable for building the derivation you pointed it at
<the-kenny> symphorien: plus I want to actually clean the terminal when new lines appear. More pager-like than tail.
<chpatrick> clever: but if I just run cmake in that shell it doesn't behave like the cmake invocation nix uses
Seichi has joined #nixos
<symphorien> the-kenny: with -f tail doesn't wait for EOF
<goibhniu> chpatrick: you can use the phases, e.g. unpackPhase
<clever> chpatrick: and cmakePhase
<goibhniu> and you can also look at the commands they invoke, and modify them
<jluttine> where can i find instructions on how to set up printers? i'm trying to connect to a network printer. there's no automatic scanning in kde (or it doesn't work). i once managed to add the printer via cups browser interface but now it has disappeared so i guess that's not the right way to add printers?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vH0EQ
<NixOS_GitHub> nixpkgs/master ef77b61 Peter Hoeg: kwalletcli: init at 3.00
NixOS_GitHub has left #nixos []
<chpatrick> cleveR: goibhniu: thanks
dejanr_ has joined #nixos
<amosbird> Hi, how can I install a python package using nix-env -i ?
<nixy> amosbird: You can't really, at least not in an importable way
<srhb> amosbird: nix-env -iA nixpkgs.pythonPackages.foo -- but this may not be what you want.
<srhb> (In fact, it probably is not)
mudri has quit [(Ping timeout: 246 seconds)]
<nixy> Most people use either nix-shell or custom buildEnv derivations to get python libraries set up
<amosbird> srhb: hmm
<amosbird> this works fine nix-env -f '<nixpkgs>' -iA pythonPackages.tensorflow
<amosbird> but nix-env -f '<nixpkgs>' -iA pythonPackages.keras fails : error: attribute ‘keras’ in selection path ‘pythonPackages.keras’ not found
<srhb> amosbird: It's probably in master, but not your channel.
<amosbird> um, how can I switch to that?
numerobis has left #nixos ["WeeChat 1.8"]
iyzsong has joined #nixos
<srhb> amosbird: nix-env -f path/to/your/nixpkgs/master/checkout -iA pythonPackages.keras (again, it's probably not what you want to do. Perhaps you should explain what it is you're trying to do)
<amosbird> srhb: well, I need that python module in a nix-shell
<srhb> amosbird: nix-shell -Inixpkgs=path/to/your/checkout -p pythonPackages.keras I think
<clever> amosbird: then give it to nix-shell with -p
<clever> yep
<amosbird> yeah, I need to install it first
<clever> thats not how nix works
orivej has joined #nixos
<clever> nix-shell will download everything you list in -p for you
<clever> and they dont have to be installed
<amosbird> I know, I don't mean "install" install
<amosbird> I mean, to be able to find it
<srhb> amosbird: The command exactly as said, but checkout the git repo
<amosbird> thanks
<amosbird> um, the repo is huge
<srhb> amosbird: (Well, not exactly. Point the path to where you checked it out)
<srhb> amosbird: It's all of nixpkgs :)
<nixy> Its purty big
bennofs has joined #nixos
<amosbird> why not maining a master repo ...
<amosbird> maintaining
<amosbird> and, can I point it to remote server?
<amosbird> do I need to clone it multiple times for every server?
<srhb> amosbird: It will need to be fetched.
<nixy> I believe there is a way to get a nix-channel that points to master, but it still ends up getting fetched
<srhb> (Well, as long as you want the full functionality)
<srhb> Otherwise just make whatever expression you need.
<amosbird> srhb: well that package seems to depend other expressions...
<srhb> amosbird: Yep. :)
<amosbird> nixy: how can I do that?
<srhb> amosbird: You could also just wait for it to become available in channels (but still, you'll be downloading the 50megs some way or another)
<amosbird> at least I can get rid of manual handling
kuznero has left #nixos []
<srhb> I prefer it, but ymmv :-P
mudri has joined #nixos
<amosbird> srhb: hmm, how long will it be in the main channel?
<srhb> amosbird: No idea.
<nixy> amosbird: Like I said, there is a way I have done it before but I don't remember how
<amosbird> nixy: ...
<nixy> I think you add the tarball of the master branch from github as a nix-channel
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vH0zp
<NixOS_GitHub> nixpkgs/master 530abab Nikolay Amiantov: blueman: wrap binaries in libexec...
NixOS_GitHub has left #nixos []
<clever> nix-channel expects a directory containing a nixexpr.tar.gz
peti has quit [(Quit: WeeChat 1.7)]
<amosbird> nixy: I barely know nix-channel stuff..
<amosbird> how can I find out what channels are available?
<clever> amosbird: they are all listed on the site i linked
<amosbird> nixpkgs-unstable
<amosbird> this seems cool
<amosbird> how can I use it
<clever> are you on nixos or another distro?
<amosbird> centos
<clever> and what does nix-channel --list say?
<amosbird> dah...
<clever> yeah
<clever> you can try updating
<clever> do nix-channel --update
<amosbird> ......
<amosbird> I should've known that..
<amosbird> hmm... error: attribute ‘keras’ in selection path ‘pythonPackages.keras’ not found
<amosbird> still not found after updating
<amosbird> It exists 5 days ago at least
<amosbird> and unstable was built yesterday?
<nixy> The package has been around for quite a while, so I doubt the issue is with how up to date your channel is
<clever> i cant find it when using master directly
<clever> pkgs/top-level/python-packages.nix: Keras = callPackage ../development/python-modules/keras { };
<clever> because somebody called it Keras!!
<nixy> -_-
<amosbird> .........
<amosbird> that's crazy
<clever> 397e59b4c93 (Frederik Rietdijk 2017-02-15 12:56:58 +0100 29871) Keras = callPackage ../development/python-modules/keras { };
<amosbird> clever: thanks man
<clever> the output of git blame
<nixy> The differences between symbolic and attribute names are so strange
<layus> clever: AFAIK, this is done to automate python packages update.
<amosbird> layus: what do you mean?
<amosbird> all python modules are capitalized?
<layus> clever, the idea is to ensure that they match the upstream name, so that the matching can be automated
<layus> No, but that one officialy is
<amosbird> ok
<layus> it pypi urls is https://pypi.python.org/pypi/Keras
<amosbird> then why not python-modules/Keras
<layus> so FRidh decided the capitalize it
<clever> ah, so for python packages, always use the case that pypi shows
<amosbird> cool
<nixy> I don't think we should be capitilizing any attribute names
<nixy> It makes it really hard to search for them with nix-env -q
<clever> yeah, caps trip me up soemtimes too
andymandias has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<amosbird> at least we have some consistency now :)
<nixy> My go to for searching for this would have been `nix-env -qa .*keras.*`
<layus> I was not too sure about this, but FRidh does an amazing job at maitaining python packages, so i would trust him.
<layus> You can always define aliases.
<amosbird> error: selector ‘.*keras.*’ matches no derivations
<nixy> Then I guess I should rephrase that. An alias should be defined in cases like this
andymandias has joined #nixos
<amosbird> can nix-env -q be case insensitive?
<nixy> amosbird: Doesn't look like it from the man page
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
TweyII has joined #nixos
<amosbird> hmm, that seems a nice feature to have
TweyII is now known as Guest63670
<clever> but its regex, so you could do .*[kK]eras.* if you wanted to
<layus> why not `nix-env -qaP -A nixos.pythonPackages | grep -i keras` ?
<clever> yeah, thats simpler
<clever> you can also grep -ir on nixpkgs
<layus> I often find grep better than nix-env regexes
<clever> $ grep -ir keras --color ~/.nix-defexpr/channels_root/*/pkgs/
<amosbird> ok
<nixy> Sure, but why would I, assuming I am new to NixOS, even think about issues such as case insensitivity and piping to grep for a tool that supports regex?
<clever> and a grep directly on nixpkgs (not nix-env) will find the attribute i pasted when i first found Keras
<clever> grep on nixpkgs can also find the domain for software where the name isnt clear
<amosbird> hmm, grep: /home/amos/.nix-defexpr/channels_root/*/pkgs/: No such file or directory
<clever> amosbird: the exact path will differ between nixos and centos, look around in that area
<amosbird> thanks
<qknight_> clever: our hydra here runs fine now. thanks to your help!
joehh has joined #nixos
<clever> yep :)
<joehh> Hi, I have a raid array (mdadm) that I want to prevent being assembled on boot
<joehh> How do I achieve this on nixos?
Isorkin has joined #nixos
<qknight_> joehh: do you know how you would do it on a debian system for instance?
m0rphism has quit [(Quit: WeeChat 1.8)]
<joehh> I belive it is with echo "AUTO -all" >> /etc/mdadm.conf
dejanr_ has quit [(Ping timeout: 240 seconds)]
<Isorkin> Hi. How t ofix error? - echo test-mail | mail -s "test" root@localhost - error - Cannot open mailer: No such file or directory
mudri has quit [(Ping timeout: 268 seconds)]
<qknight_> joehh: you can just add: boot.initrd.mdadmConf='AUTO -all';
<clever> Isorkin: services.postfix.enable = true; i'm guessing
<joehh> I'll try that - I was a little confused by it being in stage-1
<joehh> and assumed I would need to do something later on as well
<aloiscochard> I'm trying to compile a library that require CUDA, but so far no luck :-/ ... basically I have `cudatoolkit` in my env, but when I run `ld -l cuda` it says "cannot find", does anyone have an idea? is there an other package to install?
<joehh> thanks very much :)
<qknight_> joehh: try it but verify that this is what you really want
miko__ has quit [(Ping timeout: 245 seconds)]
m0rphism has joined #nixos
<Isorkin> clever: enabled exim - services.exim.enable = true;
<qknight_> joehh: stage 1 is actually only used at boot
<qknight_> aloiscochard: cannot find what?
<qknight_> aloiscochard: maybe you need pkgconfig and a few other libraries to make it work
<aloiscochard> qknight_: it says "ld: cannot find -lcuda", when I run it
<aloiscochard> pkgconfig is there as well
<qknight_> aloiscochard: ah, do you have the cuda dev stuff in your environment? type `export` and check if there is a cuda reference
<clever> Isorkin: can you confirm that exim is running?
<qknight_> aloiscochard: also make sure, even if it is there, it can be found
m0rphism has quit [(Client Quit)]
<aloiscochard> qknight_: clearly, I have no export! I'll look online and try adding that thanks a lot
<qknight_> aloiscochard: every shell has the 'export' command as it is a builtin
<qknight_> aloiscochard: s/ever/most
<clever> bash also has 'set' which will show functions as well
<clever> and non-exported variables
abcrawf has quit [(Remote host closed the connection)]
<aloiscochard> qknight_: sorry I wanted to say: clearly I have no environment variable for CUDA (I did run `export` successfuly)
<aloiscochard> looking into the documentation now
<clever> amosbird: also, nix wont setup the linker flags to find libraries installed with nix-env
<clever> you must use nix-shell for a linker to work
<amosbird> clever: huh?
<amosbird> what do you mean
<clever> oops, meant that for aloiscochard
mizu_no_oto has joined #nixos
<amosbird> :P
abcrawf has joined #nixos
<Isorkin> clever: running process - 26193 ? Ss 0:00 /nix/store/6pib0hp9nghqn4gmvdyz7y923j6bgd4w-exim-4.89/bin/exim -bdf -q30m
<clever> Isorkin: what about using sendmail instead of mail?
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<ertes-w> what arguments does nixpkgs.runCommand take?
phaebz has joined #nixos
<clever> ertes-w: runCommand "name" {attrset} "script to generate $out";
<joehh> qknight_: doesn't seem to have worked (my md device has reappeared following reboot)
gal_bolle has joined #nixos
<joehh> how do I control whether or not the md process is run or not?
<ertes-w> clever: i'm particularly interested in what the attrset is about
<clever> ertes-w: that will get added to the derivation, and will do everything the attrset for mkDerivation can do
<ertes-w> is that just variables in the script's environment?
<ertes-w> ah, thanks
<clever> ertes-w: so buildInputs works as normal, and all attributes in it become env variables
<clever> joehh: config.boot.initrd.mdadmConf controls the content of /etc/mdadm.conf within the initrd
<ertes-w> is the script a full script, including the usual stdenv setup, or is it just the script body?
<clever> ertes-w: it also includes the stdenv, but not gcc
<clever> ertes-w: runCommandCC includes gcc
<Isorkin> clever: sudo echo test-mail | sendmail root@localhost - Failed to create spool file /var/spool/exim//input//1dGOwE-0006td-Rk-D: Permission denied
<clever> Isorkin: sudo and | dont work like that
<joehh> I guessed that - any way to control it in the "main" root device?
<clever> Isorkin: it ran the echo as root, then sendmail without root
<clever> Isorkin: echo test-mail | sudo sendmail root@localhost
<Isorkin> clever: sudo sendmail - work. How t disable need sudo?
<clever> not sure, it just connects to port 25 on localhost last time i used it
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<joehh> so I've got the effect I wanted by manually adding an /etc/mdadm.conf file
<joehh> I suspect that is (quite rightly) frowned upon
<joehh> what is the proper alternative
<joehh> ?
<clever> joehh: you can make nixos generate that for you with environment.etc."mdadm.conf".text = ".....";
<joehh> ahhh - awesome
<joehh> is that a special feature of environment.etc ?
<clever> thats part of the etc module in nixos
<joehh> great :) thanks for that
bennofs has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vH0o4
<NixOS_GitHub> nix/master ab5834f Eelco Dolstra: RPM, Deb: Add dependency on libseccomp
NixOS_GitHub has left #nixos []
<ertes-w> builtins.foldl' (x: y: x // y) {} (map (name: { "${name}" = script name; }) ["docker-stats"])
ixxie has quit [(Ping timeout: 245 seconds)]
<ertes-w> is there a shorter way to write this? perhaps using nixpkgs.lib?
<ertes-w> i couldn't find an equivalent to haskell's foldMap
<clever> ertes-w: lib.listToAttrs is close
<clever> nix-repl> lib.listToAttrs [ { name = "foo"; value = "bar"; } ]
<clever> { foo = "bar"; }
simukis has joined #nixos
<ertes-w> pkgs.lib.listToAttrs (map (name: { inherit name; value = script name; }) ["docker-stats"])
<ertes-w> yeah, this worked
<ertes-w> thanks
<aloiscochard> fwiw, I found my issue, the `libcuda` does *not* comes with `cudatoolkit` but from the NVIDIA driver /cc qknight_
<chpatrick> aloiscochard: if you're running nix cuda stuff from a different host distro, we found that you need to LD_PRELOAD libcuda and libnvidia-fatbinaryloader from the host system
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vH0KD
<NixOS_GitHub> nix/master b4b1f45 Eelco Dolstra: Fix coverage job
NixOS_GitHub has left #nixos []
odi has quit [(Ping timeout: 258 seconds)]
Seichi has quit [(Read error: Connection reset by peer)]
Seichi has joined #nixos
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
<ertes-w> is there a way with nix-shell to say: "give me the package itself, not just its dependencies"?
<clever> ertes-w: -p, which cant be mixed with -A
<ertes-w> but -p works only with nixpkgs, as far as i can tell
<clever> and if its a custom package, you will need a default.nix file that defines a runCommand depending on it
<clever> i think i have an example somewhere recent
ryantrinkle has quit [(Ping timeout: 246 seconds)]
<ertes-w> i know how to do that, but it would be a bogus package… i thought there would be a cleaner way to do this
<clever> thats almost exactly what -p does
<clever> it just uses -E to generate a runCommand expression on the fly
<Ankhers> Is anyone familiar with beamPackages?
pbogdan has joined #nixos
arjen-jonathan has joined #nixos
spinus has joined #nixos
dejanr_ has joined #nixos
<aloiscochard> chpatrick: that is good to know, ty!
joehh has quit [(Ping timeout: 260 seconds)]
<domenkozar> node10......................> got (possibly transient) EC2 error code 'InvalidParameterValue': Value () for parameter groupId is invalid. The value cannot be empty. retrying...
<domenkozar> this is not my day :)
ioserjg has joined #nixos
<gchristensen> ouch :(
pie_ has joined #nixos
<ioserjg> Hi! I just created a new user (isNormalUser = true and home are the things I set). Then I ran `nixos-rebuild switch`. Then I did `passwd newuser && su newuser` and it worked fine. Now when in that user, running `nix-env -qa` gives me `error: getting information about ‘/home/miner/.nix-defexpr’: No such file or directory`. Running `nix-shell -p git` gives "Can't locate utf8.pm: /home/x/.nix-profile/lib/perl5/site_perl/utf8.pm:
<ioserjg> Permission denied at /run/current-system/sw/bin/nix-shell line 3.
<ioserjg> BEGIN failed--compilation aborted at /run/current-system/sw/bin/nix-shell line 3.". Is this normal?
nckx has quit [(Quit: restarting my GuixSD server)]
<clever> ioserjg: does miner own /home/miner?
<ertes-w> clever: thanks… i've done the same thing now… it's messy, but it works
<ioserjg> clever: I think so...
<ioserjg> ls -la /home/miner/
<ioserjg> total 12
<ioserjg> drwx------ 2 miner users 4096 Jun 1 13:22 .
nckx has joined #nixos
<ioserjg> drwxr-xr-x 5 root root 4096 Jun 1 13:17 ..
<ioserjg> -rw-r--r-- 1 miner users 129 Jun 1 13:22 master.zip
<ioserjg>
<clever> ioserjg: what if you use "sudo -u miner -i"
<ioserjg> Then it works :O. I had just done `su miner` and entered the password. How come it's like this?
<clever> ioserjg: i think su is skipping a step in creating the shell
<ioserjg> Thank you very much! Clearly I'm ignorant to what `su` really does
<ioserjg> Huh
<clever> su is the older program, sudo has replaced it
<ioserjg> Thanks a lot - you live up to your nickname, that's for sure :-)
vmandela has joined #nixos
mudri has joined #nixos
plumps has joined #nixos
WilliButz has quit [(Quit: WeeChat 1.7.1)]
ioserjg has quit [(Ping timeout: 268 seconds)]
<copumpkin> niksnut: I don't really understand the nix RPM/deb/etc. model
<steveeJ> can anyone confirm that their spellcheck is working in the hexchat input box? I saw an alleged fix that was merged June 2016 but it hasn't worked for me ever (yes I updated ever since ;-) )
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/vH0Sg
<NixOS_GitHub> nixpkgs/master fa19529 Thomas Tuegel: dropbox: 26.4.24 -> 27.4.22
NixOS_GitHub has left #nixos []
<domenkozar> copumpkin: what part of it?
<copumpkin> like why not just use rpm/deb to get a minimal dependency-less bootstrap to put nix into its usual place in the store, managing its own dependencies
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 2 new commits to release-17.03: https://git.io/vH0S6
<NixOS_GitHub> nixpkgs/release-17.03 0fdd1b4 Thomas Tuegel: dropbox: 25.4.28 -> 26.4.24...
<NixOS_GitHub> nixpkgs/release-17.03 ecaef55 Thomas Tuegel: dropbox: 26.4.24 -> 27.4.22...
NixOS_GitHub has left #nixos []
<domenkozar> copumpkin: so meaning it's precompiled?
<domenkozar> nix is precompiled*
<copumpkin> it's more like why jump through various hoops to pull in slightly different versions of dependencies from other package managers/ecosystems when we have our own dependency-management system
<copumpkin> and even the install script just puts nix into the store just like any other package
<domenkozar> copumpkin: to confirm Nix can be compiled on those distributions
<domenkozar> of course you could not support that
<domenkozar> but people do it
<copumpkin> oh, but I thought we also distributed debs and rpms?
<copumpkin> if it's just a test that makes a lot more sense to me
<gchristensen> we do but they're hidden
<domenkozar> copumpkin: afaik they were removed from download page
<domenkozar> since something broke a while ago
<domenkozar> or something :)
<copumpkin> oh okay
<steveeJ> I was missing my language's dictionary pkg from hunspell, that was a boring one
<copumpkin> so the RPM/deb outputs are just because we produce them as part of our tests?
<domenkozar> well we also used to serve them for installation
<domenkozar> but the goal is to also test if Nix is compilable on those distros
<domenkozar> since you could potentially develop it there
<domenkozar> although it's probably more practical to just support nix-shell
<domenkozar> which didn't exist back then :D
<domenkozar> copumpkin: it's a useful tool I'd say, I use it for one customer to check if their software compiles on different distros
pie_ has quit [(Ping timeout: 255 seconds)]
phaebz has quit [(Ping timeout: 246 seconds)]
Seichi has quit [(Quit: Konversation terminated!)]
Seichi has joined #nixos
vmandela has left #nixos []
jensens has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vH0Hk
<NixOS_GitHub> nixpkgs/master 0f1753b Dan Peebles: pants13-pre: 1.3.0rc2 -> 1.3.0rc4
NixOS_GitHub has left #nixos []
ioserjg has joined #nixos
ioserjg` has joined #nixos
ryantrinkle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Fuuzetsu pushed 1 new commit to master: https://git.io/vH0Qs
<NixOS_GitHub> nixpkgs/master af096c8 Mateusz Kowalczyk: dd-agent: 5.11.2 -> 5.13.2 + service rework
NixOS_GitHub has left #nixos []
ioserjg has quit [(Read error: Connection reset by peer)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
ioserjg` has quit [(Ping timeout: 260 seconds)]
pie_ has joined #nixos
dejanr_ has quit [(Ping timeout: 260 seconds)]
AndreasO has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vH07X
<NixOS_GitHub> nixpkgs/master 9cee109 Joachim Fasting: electrum: 2.8.2 -> 2.8.3
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
erasmas has joined #nixos
drakonis has joined #nixos
AluisioASG has quit [(Remote host closed the connection)]
AluisioASG has joined #nixos
AndreasO has quit [(Quit: Found more important stuff than irc!)]
sellout- has quit [(Quit: Leaving.)]
<Ankhers> Is there anyone here that is familiar with beamPackages?
<drakonis> erlang ey?
<Ankhers> Yeah.
<Ankhers> Well, sorta. I get paid to write Elixir. I was really hoping to try and use nix in my development.
cpennington has quit [(Ping timeout: 245 seconds)]
<drakonis> its probably as functional as doing stuff with other language packages
<drakonis> same stuff
WilliButz has joined #nixos
hellrazo1 has joined #nixos
<gchristensen> I hear much less use around beam / erlang / elixer here than say ruby /go / python
<niksnut> copumpkin: tbh, I wouldn't mind getting rid of them
<drakonis> i wish i was paid to write erlang or haskell
<Ankhers> That is what I was hoping. Unfortunately searching beamPackages is currently broken for me. I was just hoping there was someone working with it that may be able to help get me started.
<drakonis> they all sound like great fun
<Ankhers> I was paid to write Haskell for a month. My CTO decided to use Go instead because he understood the language more. Despite Haskell being ~20x faster :(.
<sziszi> wait, what? haskell is faster than go?
<Ankhers> For the project that I was doing it was.
hellrazor has quit [(Ping timeout: 240 seconds)]
<Ankhers> May have been poorly written go.
<copumpkin> can definitely be blisteringly fast if you know what you're doing
<copumpkin> it's also not hard to make a mess and be slow though
<Ankhers> If it makes a difference, I would be willing to help out with the beamPackages stuff once I get a little more acquainted with nix.
<drakonis> its time to fix beampackages i guess :v
<Ankhers> If anyone would be willing to help me through it, I am more than willing to put in the work.
<drakonis> where are you searching them by the way?
<Ankhers> sziszi: This was also around Go 1.1 or so, before the GC upgrades that were done in I believe 1.3.
<drakonis> oh i see
<Ankhers> I'm just not entirely sure how everything works together. That file was last updated a year ago. I'm not sure if that is considered ok, or if it is just no longer maintained.
chpatrick has quit [(Ping timeout: 240 seconds)]
<drakonis> oh i know why
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<drakonis> excuse me
<sziszi> Ankhers: oh, now that's make more sense
chpatrick has joined #nixos
<Ankhers> sziszi: They were also all short lived requests. They had to be no more than 70ms for a reponse. So I'm not really sure the GC upgrades will help that project.
<drakonis> that's fixable
<drakonis> i'll just get an editor for that
<Sonarpulse> copumpkin puffnfresh: sorry to bail yesterday
<Sonarpulse> I can answer questions and stuff today
<drakonis> nano isn't helping me here
<copumpkin> I will never forgive you, Sonarpulse
* copumpkin never forgives and never forgets
cpennington has joined #nixos
msd has joined #nixos
<Sonarpulse> }:D
bfrog has quit [(Ping timeout: 246 seconds)]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 10 new commits to 1.11-maintenance: https://git.io/vH0N0
<NixOS_GitHub> nix/1.11-maintenance e296b88 Eelco Dolstra: Add a seccomp filter to prevent creating setuid/setgid binaries...
<NixOS_GitHub> nix/1.11-maintenance a2cf0f1 Eelco Dolstra: Fix seccomp initialisation on i686-linux...
<NixOS_GitHub> nix/1.11-maintenance 17da82e Eelco Dolstra: Add test for setuid seccomp filter...
NixOS_GitHub has left #nixos []
<drakonis> someone update hexPackages.nix
<drakonis> its very outdated
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to 1.11-maintenance: https://git.io/vH0NX
<NixOS_GitHub> nix/1.11-maintenance bcc2174 Eelco Dolstra: Bump version
NixOS_GitHub has left #nixos []
<drakonis> Ankhers, i have a temporary solution i guess?
plumps_ has joined #nixos
<drakonis> find line 1555 and remove it
<drakonis> from hex-packages
<gchristensen> drakonis: you're welcome to do that updating :)
<drakonis> rather, create a copy of nixpkgs
<drakonis> hmm how do i do that?
<gchristensen> not sure
<Ankhers> I would be willing to do that if I knew how :(
plumps has quit [(Ping timeout: 272 seconds)]
<Ankhers> Would it maybe be useful to include a README.md inside the pkgs/development/beam-modules directory with how to do these kinds of things. And don't just limit it to beam-modules, but for anything else that may benefit from something like that?
<drakonis> well best to have great documentation ey :V?
<gchristensen> drakonis: if you find out, please document it :)
Seichi has quit [(Quit: Konversation terminated!)]
WilliButz has quit [(Quit: WeeChat 1.7.1)]
Seichi has joined #nixos
<Ankhers> I think it uses https://github.com/erlang-nix/hex2nix
<Ankhers> And that seems to fail.
<Ankhers> ericbmerritt_: ping
dbmikus has joined #nixos
acowley_away is now known as acowley
<drakonis> the package generation system should really be moved into nixpkgs
<drakonis> everything in a single roof
<drakonis> includes links to upstream
MercurialAlchemi has quit [(Ping timeout: 246 seconds)]
<drakonis> it tells how to get it to spew out a hex-packages.nix
<drakonis> hmm
<Ankhers> The readme in the repo I linked states that if you call the program with no arguments, it will dump the file. I get an error when I try to run that program.
<drakonis> hmm
<drakonis> yes i also got an error
<drakonis> how neat.
<Ankhers> I also tried latest master, but that fails too.
<Ankhers> I am also not really sure if hex2nix limits to only erlang packages.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cynic opened pull request #26300: Add/resilio sync (master...add/resilio-sync) https://git.io/vH0xA
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 240 seconds)]
<Ankhers> gleber_: ping
jophish has joined #nixos
<simukis> how to deal with conflicting executable names? Say, I’m trying to do `writeScriptBin "ls"` which execs `ls with extra arguments, but it does not get put into /run/current-system/sw/bin/ls
<clever> simukis: thats better handled with an alias
<gchristensen> yikes ... it sounds like you might just want to use an alias in your environment
<simukis> cleaver: I know. This is an example. I *need* an executable in */bin/
<clever> simukis: what package provides the original executable?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pbogdan has joined #nixos
<simukis> coreutils, I believe
<clever> simukis: in the case of systemPackages, it will ignore the collisions, so i believe it will depend on the order of the entires within systemPackages
<clever> i would just check to see where the symlink points after it gives the warning, and it should stay pointing in that direction
revtintin has quit [(Ping timeout: 260 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
jophish has quit [(Ping timeout: 240 seconds)]
<drakonis> i'll be back later
<drakonis> its written in erlang it seems
jophish has joined #nixos
dejanr_ has joined #nixos
digitus has joined #nixos
<drakonis> Ankhers, my suggestion in the meantime? clone the nixpkgs repo and remove the line i pointed out
<drakonis> 1555
<drakonis> it should work
<Ankhers> There are going to be more issues than that single line. But thanks.
<Ankhers> I think I am going to try to rewrite hex2nix.
drakonis has quit [(Remote host closed the connection)]
<Ankhers> Would anyone be able to tell me how the haskell modules stay up to date? Is it cabal2nix?
<srhb> Ankhers: hackage2nix
<srhb> Ankhers: So sort of a meta-cabal2nix
<Ankhers> srhb: Thanks!
<Ankhers> That means a hex2nix and a mix2nix package.
phinxy has joined #nixos
Itkovian has joined #nixos
Seichi has quit [(Remote host closed the connection)]
<Ankhers> Thanks. I'm going to use that to figure out how they decide which packages get into nixpkgs.
<srhb> Ankhers: _everything_ (and things may then be broken and fixed up in the general config)
<Ankhers> Every version of every package?
<srhb> Ankhers: Oh, no. Latest, I think.
<Ankhers> Assuming it hasn't been marked as deprecated
Itkovian has quit [(Client Quit)]
<Ankhers> latest major? Because I was going through https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/development/haskell-modules/hackage-packages.nix and found 4 versions of aeson.
<gleber_> Ankhers: drakonis: Yeah, these are out of date.
<srhb> Ankhers: Yeah, I'm actually unsure what decides on including older versions too.
<gleber_> hex2nix handles Erlang/Rebar3 packages, Elixir/Mix packages and Erlang/erlang.mk packages.
<gleber_> Ankhers: why do you want to rewtite hex2nix from scratch? O_O
<gleber_> I can work on making sure it is back to working state this weekend if this is an acceptable timeline for you
<Ankhers> gleber_: I just figured it was an abandoned project. Wasn't necesarily going to be from scratch. I was going to look through the code to see if I wanted to make different decisions. I can attempt to hack on it to see if I can get it working. But this weekend should be fine if I can't get anything working.
<gleber_> Ankhers: it is not abandoned, since I am here :) I also plan to use it for one project of mine, but have not yet gotten there.
<gleber_> Ankhers: since there's a concrete human who needs it updated, I'll happily do it
Itkovian has joined #nixos
<gleber_> if I do not see PRs to update hex2nix and beam-packages.nix, I will work on this this weekend
Itkovian has quit [(Client Quit)]
<apeyroux> hello
<Ankhers> gleber_: I appreciate it.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrgm opened pull request #26301: restic: 0.6.0 -> 0.6.1 (master...upgrade-restic) https://git.io/vHEvA
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
riclima has joined #nixos
<apeyroux> hello why https://pastebin.com/4U5ktfMd works on linux/nix but not on nixos ? (error: attribute ‘override’ missing on nixos)
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Client Quit)]
servilio has joined #nixos
<LnL> do you have a nixpkgs config.nix on the nixos machine?
<apeyroux> yes
<clever> apeyroux: does it do anything with emacs?
roconnor has joined #nixos
<roconnor> Anyone else have no syntax highlighting in coqide, or just me?
<LnL> amosbird: try with import <nixpkgs> { config = {}; }, I'm guessing your config is causing a problem
<LnL> apeyroux: ^
mabynogy has joined #nixos
<qknight_> i have a nixcloud-pkgs.nix and from somewhere else i want to override an attribute in there. i'm using it like pkgs from nixpkgs. how to implement that?
<apeyroux> ok thx its config.nix
<apeyroux> ouaouu irssi in tmux in mosh in juicessh :)
acowley is now known as acowley_away
acowley_away is now known as acowley
Tucky has quit [(Ping timeout: 260 seconds)]
<jluttine> how should i give tag name to fetchFromGitHub? i tried rev="v2.0.2" which is the tag name but i get "Bad commit hash or bad reference" error
<jluttine> also, nix-prefetch-git doesn't accept v2.0.2 as --rev
<jluttine> still i see other packages doing that, if i understand correctly
<jluttine> for instance, quiterss sets 0.18.4 as rev
bennofs has joined #nixos
bennofs has quit [(Client Quit)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
phinxy has quit [(Quit: Leaving)]
<gchristensen> jluttine: can you link me to the project?
marsel has quit [(Ping timeout: 268 seconds)]
<jluttine> gchristensen: i'm writing a new nix expression(?) for this app: https://github.com/jangernert/FeedReader
<jluttine> nix-prefetch-git --url https://github.com/jangernert/FeedReader.git --rev v2.0.2 --fetch-submodules
<gchristensen> fetchFromGitHub should handle v2.0.2
<gchristensen> fetchgit would be refs/tags/v2.0.2
mudri has joined #nixos
<gchristensen> but you should use fetchFromGitHub
<jluttine> ok
<jluttine> nix-prefetch-git --url https://github.com/jangernert/FeedReader.git --rev refs/tags/v2.0.2 --fetch-submodules
<jluttine> that worked
magnetophon has joined #nixos
<gchristensen> nix-prefetch-git isn't doing the same thing as fetchFromGitHub
<jluttine> this is my nix file for it: http://dpaste.com/2HF85Z3
<jluttine> (not ready yet)
<jluttine> but i'm having problems with the fetchFromGitHub part
bfrog has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 16 new commits to master: https://git.io/vHEI0
<NixOS_GitHub> nixpkgs/master 49edb11 Frederik Rietdijk: pythonPackages.argparse: remove because argparse is part of stdlib in 2.7 and 3.2+
<NixOS_GitHub> nixpkgs/master 10ee7b2 Frederik Rietdijk: pythonPackages.wheel: move expression to separate file
<NixOS_GitHub> nixpkgs/master f069498 Frederik Rietdijk: python.pkgs.appdirs: 1.4.0 -> 1.4.3
NixOS_GitHub has left #nixos []
<Ankhers> gleber_: Is there a reason the hex2nix project is under a different organization than nix itself?
<gleber_> Ankhers: it was easier to bootstrap it this way, since we did A LOT of iterations on it when it was created. Going through nixpkgs would have slowed ericbmerritt_ and me very much.
<jluttine> gchristensen: any ideas what's wrong with my fetchFromGitHub? i get "Bad commit hash or bad reference" error..
<Ankhers> gleber_: I meant more of how cabal2nix is under the NixOS organization, while hex2nix is under the erlang-nix organization on GitHub.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub closed pull request #26301: restic: 0.6.0 -> 0.6.1 (master...upgrade-restic) https://git.io/vHEvA
NixOS_GitHub has left #nixos []
<gleber_> Ankhers: if this is the preferred way, I am sure me nor ericbmerritt_ would have a problem of moving it around. Please also note that there's a special hex registry snapshot repo in erlang-nix, whose preferred location is less clear to me
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Ankhers> gleber_: What is the purpose of that repository?
<Ankhers> gleber_: Why not just hit the hex.pm api to grab information?
<gleber_> to provide stable versioning of the magic registry.gz file which is served in http://hex.pm/. It does serve one file which is always the latest file and it changes a lot
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vHELl
<NixOS_GitHub> nixpkgs/master 463df8c Robert Helgesson: perl-DBIx-Class-Schema-Loader: 0.07045 -> 0.07047
NixOS_GitHub has left #nixos []
<Ankhers> I think that has been / is being phased out.
sellout- has joined #nixos
<Ankhers> Unless that is not the same thing?
__Sander__ has quit [(Quit: Konversation terminated!)]
<jluttine> how do i get sha256 for fetchFromGitHub?
<gleber_> Ankhers: I am not up to date, I'll check in the evening, need to run
<Ankhers> gleber_: No worries.
Filystyn has quit [(Quit: Konversation terminated!)]
<jluttine> and where can i find documentation for fetchFromGitHub?
<jluttine> nothing here: http://nixos.org/nixpkgs/manual/
bennofs has joined #nixos
plumps has joined #nixos
plumps_ has quit [(Ping timeout: 268 seconds)]
goibhniu has quit [(Ping timeout: 240 seconds)]
<symphorien> how can I create a file in /boot with configuration.nix like wit environment.etc ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vHEqo
<NixOS_GitHub> nixpkgs/master bd8ae73 Peter Simons: taskwarrior: install bash completion for fish...
NixOS_GitHub has left #nixos []
ambro718 has joined #nixos
petr890 has joined #nixos
bennofs has quit [(Quit: WeeChat 1.8)]
nschoe has quit [(Quit: Program. Terminated.)]
bennofs has joined #nixos
<jluttine> gchristensen: it seems that when using fetchSubmodules=true, one cannot use tag as rev but have to use commit hash..
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 3 new commits to master: https://git.io/vHEOs
<NixOS_GitHub> nixpkgs/master 624c216 Orivej Desh: instead: 2.4.1 -> 3.0.0
<NixOS_GitHub> nixpkgs/master 5bc28da Orivej Desh: instead-launcher: 0.6.3 -> 0.7.0
<NixOS_GitHub> nixpkgs/master ca6a97d Pascal Wittmann: Merge pull request #26292 from orivej/instead...
NixOS_GitHub has left #nixos []
bennofs has quit [(Client Quit)]
bennofs has joined #nixos
<pbogdan> jluttine: you should be able to use refs/tags/ as gchristensen suggested
<gchristensen> yeah, but maybe use fetchgit instead of fetchFromGitHub
<gchristensen> awkward bug :(
<pbogdan> jluttine: looks like without submodules it fetches a tarball, with submodules it falls back to fetchgit which expects a commit hash or a ref name
<spinus> does the tarball includes modules?
<jluttine> pbogdan: error: invalid character ‘/’ in name ‘FeedReader-refs/tags/v2.0.2-src’
<jluttine> so refs/tags/ didn't work
arjen-jonathan has joined #nixos
riclima has joined #nixos
acowley is now known as acowley_away
riclima has quit [(Client Quit)]
jgertm has joined #nixos
<avn> jgertm: set name="....-src" for source derivation
<avn> (in fetchgit statement)
<jgertm> wat?
bennofs has quit [(Quit: WeeChat 1.8)]
riclima has joined #nixos
Itkovian has joined #nixos
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
kini has joined #nixos
paaatrick has joined #nixos
kampfschlaefer has joined #nixos
Guest63670 has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
magnetophon has quit [(Ping timeout: 245 seconds)]
bfrog has quit [(Ping timeout: 260 seconds)]
endformationage has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
paaatrick has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vHEn7
<NixOS_GitHub> nixpkgs/master 08228e8 Pascal Wittmann: nagstamon: init at 2.0.1
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 260 seconds)]
marsel has joined #nixos
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
jophish has quit [(Remote host closed the connection)]
phinxy has joined #nixos
petr890 has quit [(Quit: leaving)]
<nixos-users-wiki> "DNSCrypt" edited by Mic92 https://git.io/vHEW3
savanni has left #nixos []
ryanartecona has quit [(Quit: ryanartecona)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<copumpkin> any darwin + nix + rust masters here?
ryanartecona has joined #nixos
<qknight_> copumpkin: tried nix-crates yet?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vHElP
<NixOS_GitHub> nixpkgs/staging 2f12902 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
riclima has joined #nixos
<LnL> I've worked on the rustc expression a few times
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cynic closed pull request #26300: Add/resilio sync (master...add/resilio-sync) https://git.io/vH0xA
NixOS_GitHub has left #nixos []
msd has quit [()]
<copumpkin> qknight_: nope, just trying to get a weird hybrid python + rust package building
<copumpkin> it works fine on linux but on darwin I get a really obscure error about a malformed mach-o
<nixos-users-wiki> "nix command cookbook" edited by Mic92 https://git.io/vHElj
<qknight_> copumpkin: paste the error aslo
<qknight_> copumpkin: maybe caused by an impure environment?
riclima has quit [(Client Quit)]
<qknight_> copumpkin: do you have sandbox builds on?
<copumpkin> no, they don't work on darwin yet
<copumpkin> they used to :)
<copumpkin> need to fix that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHE83
<NixOS_GitHub> nixpkgs/master e6b65c0 Justin Humm: pythonPackages.future: 0.15.2 -> 0.16.0...
<NixOS_GitHub> nixpkgs/master 84ce0d8 Frederik Rietdijk: Merge pull request #26220 from erictapen/python-future-bump...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cynic opened pull request #26303: Add/resilio sync (release-17.03...add/resilio-sync) https://git.io/vHE8R
NixOS_GitHub has left #nixos []
18VABA52F has joined #nixos
<18VABA52F> [nixpkgs] FRidh closed pull request #26079: fonttools: 3.0 -> 3.13.0 (master...fonttools-3.13.0) https://git.io/vHO68
18VABA52F has left #nixos []
17SAA6N01 has joined #nixos
<17SAA6N01> [nixpkgs] FRidh pushed 3 new commits to master: https://git.io/vHE8p
<17SAA6N01> nixpkgs/master 4e3afed Masayuki Takeda: fonttools: 3.0 -> 3.13.0
<17SAA6N01> nixpkgs/master 26b6910 Masayuki Takeda: move fonttools to its own directory
<17SAA6N01> nixpkgs/master 24ea567 Frederik Rietdijk: Merge pull request #26079 from mt-caret/fonttools-3.13.0...
17SAA6N01 has left #nixos []
hellrazo1 has quit [(Quit: WeeChat 1.8)]
peacememories has joined #nixos
dejanr_ has quit [(Ping timeout: 240 seconds)]
magnetophon has joined #nixos
ris has joined #nixos
<nixos-users-wiki> "nix command cookbook" edited by Mic92 https://git.io/vHERp
<copumpkin> qknight_: "error: failed to build archive: bad archive: Invalid data was encountered while parsing the file"
<copumpkin> qknight_: it's pretty obscure though, I'll probably have to reduce it
<copumpkin> I've tracked down where in rustc it happens but can't figure out why
arian_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight pushed 1 new commit to master: https://git.io/vHEzs
<NixOS_GitHub> nixpkgs/master f30dd71 Joachim Schiele: go-modules/generic: add missing PATHs to GOPATH when using nix-shell (#26176)
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
leothrix has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
mabynogy has quit [(Quit: Leaving)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
leothrix has joined #nixos
peacememories has joined #nixos
[0x4A6F] has joined #nixos
<ryantrinkle> what does it mean if nix-store --delete tells me "cannot delete path ... since it is still alive", but nix-store -q --roots returns no roots?
marsel has quit [(Ping timeout: 240 seconds)]
deba5e12 has joined #nixos
<deba5e12> hey, I'm new to nixos, and have just hit a bit of an issue installing python packages. pip seems to want to save installed packages to a read-only filesystem. what's the nix-ish way of handling this sort of thing?
<mdash> Pypi2nix is the ideal thing to use for some cases.
<deba5e12> ok, thanks. is the interface more or less the same as pip?
<mdash> If you just want to install a single python application, it may already be in nixpkgs
<deba5e12> i'll take a look, thanks. does nix generally advise against using programming language specific package managers (like cabal, cargo, etc.)?
<mdash> Generally it wraps them
ryanartecona has quit [(Quit: ryanartecona)]
<deba5e12> ok, good to know. thanks.
paatrick has joined #nixos
<mdash> You can use them but there can be limitations. In particular virtualenvs can break when Nix-installed python is upgraded
simukis has quit [(Ping timeout: 260 seconds)]
alx741 has joined #nixos
<paatrick> hi all, I'm a new user having some problems. I'm trying to install ghc-vis (nixos.haskellPackages.ghc-vis). It's failing because of a dependency version problem (transformers library needs to be <5). I tried to install it through an older version in nixos.haskell.packages.ghc763.ghc-vis, and something else crapped out while building ghc + dependencies...
deba5e12 has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
MichaelRaskin has joined #nixos
acowley_away is now known as acowley
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] selaux opened pull request #26305: Wrap gnome things (master...wrap-gnome-things) https://git.io/vHEoV
NixOS_GitHub has left #nixos []
deba5e12 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dbrock opened pull request #26306: seth: 0.5.0 -> 0.5.1 (master...seth) https://git.io/vHEK3
NixOS_GitHub has left #nixos []
ertes-w has quit [(Ping timeout: 240 seconds)]
taktoa has joined #nixos
<deba5e12> pypi2nix seems to be missing a dependency, which I'm not sure how to install. after installing pypi2nix with nix-env, attempting to run pypi2nix thro ws the error: "ImportError: No module named 'pkg_resources'". Any suggestions?
<dmj`> Aanyone ever used nixos as a gitlab ci runner
<dmj`> Anyone*
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vHE6C
<NixOS_GitHub> nixpkgs/release-17.03 6f5edd3 Vladimír Čunát: mesa: maintenance 17.0.2 -> 17.0.7...
NixOS_GitHub has left #nixos []
dejanr_ has joined #nixos
<dash> deba5e12: hmm, i think you need to install it from git, the one in nixpkgs is a bit old iirc
<deba5e12> ah, ok. thank
arian_ has left #nixos []
arian_ has joined #nixos
engblom has quit [(Read error: Connection reset by peer)]
engblom has joined #nixos
hellrazo1 has joined #nixos
<acertain> can someone give me a pointer on how to make a directory of symlinks a la ~/.nix-profile from a set of packages?
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<qknight_> it is about overrideAttrs
Filystyn has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #25709: Fix: GlusterFS python tools all have import errors (master...25620-glusterfs-fix-python-import-errors) https://git.io/v9ycB
NixOS_GitHub has left #nixos []
arian_ has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHE10
<NixOS_GitHub> nixpkgs/master 40e94d5 Daniel Brockman: seth: 0.5.0 -> 0.5.1
<NixOS_GitHub> nixpkgs/master f09d104 Frederik Rietdijk: Merge pull request #26306 from dbrock/seth...
NixOS_GitHub has left #nixos []
arian_ has joined #nixos
dejanr_ has quit [(Ping timeout: 255 seconds)]
arian_ has quit [(Remote host closed the connection)]
civodul has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #26308: pythonPackages.uncertainties: move to development/python-modules (master...uncertainties) https://git.io/vHEDt
NixOS_GitHub has left #nixos []
bfrog has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
JagaJaga has joined #nixos
arian_ has joined #nixos
ris has quit [(Read error: Connection reset by peer)]
ryanartecona has quit [(Quit: ryanartecona)]
ris has joined #nixos
proteus-guy has joined #nixos
<pie_> when i try to install idris lightyear from unstable it tries to build prelude as well for some reason afaict? and then it fails without any errors
<pie_> (paste in a sec(
ambro718 has joined #nixos
pie_ has quit [(Changing host)]
pie_ has joined #nixos
ryanartecona has joined #nixos
pmahoney has joined #nixos
acowley is now known as acowley_away
deba5e12 has quit [(Remote host closed the connection)]
<Sonarpulse> setup hooks are run with bash or sh?
<Sonarpulse> sh would explain a lack of compgen I'm guetting
<Sonarpulse> (compgen is a bash not sh builtin)
riclima has joined #nixos
servilio has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
simukis has joined #nixos
arian_ has quit [(Quit: arian_)]
cpennington has quit [(Remote host closed the connection)]
arian_ has joined #nixos
<pbogdan> pie_: https://github.com/NixOS/nixpkgs/issues/26014 sounds like idrisPackages is broken atm
<pie_> crap
<pie_> thanks
arian_ has quit [(Client Quit)]
<pie_> pbogdan, de azt hiszem stable-on megy
<pie_> whoops
<pie_> wild guess failed terribly
<pie_> i think it works on stable though
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
* pie_ checks issue
[0x4A6F] has quit [(Ping timeout: 246 seconds)]
arian_ has joined #nixos
ertes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #26309: php: set extension dir to correct location (master...php-extension-dir) https://git.io/vHENI
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 240 seconds)]
boomshroom has joined #nixos
<boomshroom> Hello, guys!
<boomshroom> When I enabled sshd from the nixos configuration and try connecting to it, the PATH doesn't get set like its supposed to and is instead limited the bin folder for sshd. Is anyone familiar with this problem?
takle_ has quit [(Remote host closed the connection)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<boomshroom> This happens both with my default shell (fish) and with /bin/sh. /bin/sh also doesn't give a prompt or interactive behavior.
<lassulus> boomshroom: have you tried another shell?
<lassulus> I had some problems with fish as default shell
arian_ has quit [(Quit: arian_)]
<DIzFer[m]> yeah, try using bash as default shell and then, in bash.interactiveshellinit start fish
<boomshroom> Bash seems to work. Does anyone know why this happens?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #26310: darwin-stdenv: remove python dependencies (staging...darwin-stdenv-no-sphinx) https://git.io/vHExG
NixOS_GitHub has left #nixos []
vith_nix has joined #nixos
<DIzFer[m]> since fish is not posix, the scripts that set up the shell profile don't work
<vith_nix> how do i allowUnfree for a package via import <nixos-unstable> {}?
<boomshroom> Is there a way to have bash exit when its child exits?
<offlinehacker[m]> boomshroom: use wait
<offlinehacker[m]> or wait <PID>
<boomshroom> I guess now the question is why does it work when not in ssh. And also how to modify the scripts to use fish compatible ones when it's selected.
simukis has quit [(Quit: simukis)]
simukis has joined #nixos
ixxie has quit [(Ping timeout: 260 seconds)]
arian_ has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
seagreen has quit [(Ping timeout: 240 seconds)]
arian_ has quit [(Remote host closed the connection)]
<dhess> I have a Nix build machine running in a VM, with a large /nix/store with all of the derivations I've built and deployed to various machines over the last few months. Let's say I want to migrate it to a real host running NixOS. Presumably I can just rsync the contents of /nix/store on the VM to the physical host?
<dhess> Is there an officialy-supported way to do this? nix-copy-closure?
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<vith_nix> ok i figured it out: let unstable = import <nixos-unstable> { config.allowUnfree = true; };
arian_ has joined #nixos
<DIzFer[m]> nix-copy-closure dies on my garbage-collected systems because the argument list exceeds the limit...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vHue0
<NixOS_GitHub> nixpkgs/master f16a9f6 Bjørn Forsman: cgdb: remove unneeded 'help2man' dependency...
NixOS_GitHub has left #nixos []
vith_nix has quit [(Quit: WeeChat 1.8)]
<LnL> dhess: if you have a network share or something that you can serve over http you can use nix-push to create a binary cache
kampfschlaefer has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> nix-build -E '(import ./. {}).runCommandCC "asdf" {} "echo $0; type compgen"'
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<Sonarpulse> nix-build -E '(import ./. {}).runCommandCC "asdf" {} "echo $BASH_VERSION; type
<Sonarpulse> nix-build -E '(import ./. {}).runCommandCC "asdf" {} "echo $BASH_VERSION; type compgen"'
<Sonarpulse> that is
<Sonarpulse> this shows no compgen
<Sonarpulse> and bash
<Sonarpulse> but compgen is a bash builtin
<Sonarpulse> this is very suspicious!
hiratara has quit [(Ping timeout: 255 seconds)]
<LnL> what system?
<Sonarpulse> linux
<Sonarpulse> nixos
ixxie has joined #nixos
boomshroom has quit [(Ping timeout: 260 seconds)]
<LnL> do we even have sh there?
<Sonarpulse> sh?
<LnL> as in not bash :)
<Sonarpulse> the build scripts are always bash by default I believe
<Sonarpulse> though it's a shell script without a shebang
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
hiratara has joined #nixos
<LnL> maybe bash is in some sort of compatibility mode because it's using 'sh' instead of bash?
<Sonarpulse> LnL then BASH_VERSION would not be defined
<Sonarpulse> #bash people got a test
<Sonarpulse> i dunno
<Sonarpulse> i have to run an errand soon
<Sonarpulse> I will check bash derivatino
<Sonarpulse> see if it is disabled
<Sonarpulse> LnL: solved
<Sonarpulse> it depends on readline
<LnL> ah
<LnL> yeah, the stdenv bash doesn't have that IIRC
pie__ has joined #nixos
pie_ has quit [(Remote host closed the connection)]
<nixos-users-wiki> "nix command cookbook" edited by Mic92 https://git.io/vHufW
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #26311: update colorama and related (master...colorama) https://git.io/vHufC
NixOS_GitHub has left #nixos []
ryantrinkle has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
deba5e12 has joined #nixos
arjen-jonathan has quit [(Ping timeout: 272 seconds)]
arian_ has quit [(Quit: arian_)]
deba5e12 has quit [(Client Quit)]
deba5e12 has joined #nixos
mudri has joined #nixos
arian_ has joined #nixos
<deba5e12> another very19:06 [ boxofrox ] [ gridaphobe ] [ marc__ ] [ r0bby ] [ unlmtd ]
<deba5e12> 19:06 [ boxofrox ] [ gridaphobe ] [ marc__ ] [ r0bby ] [ unlmtd ]
<deba5e12> gen19:06 [ boxofrox ] [ gridaphobe ] [ marc__ ] [ r0bby ] [ unlmtd ]
<deba5e12> sorry. haven't quite tamed my synaptics config yet :P
<deba5e12> anyway, i have another pretty generic and basic question, if anyone can help: I'm having a bit of trouble building programs on nix. gcc and sbcl have both had trouble finding shared libraries that I know are present on the system. Is there some nice, elegant way of telling compilers where to find these libraries in nix, or do I just need to run locate and point LD_LIBRARY_PATH at them each time?
dbmikus has quit [(Ping timeout: 260 seconds)]
boomshroom has joined #nixos
<boomshroom> Hello. I seem to have disconected at some point.
<symphorien> Don't try to build in an everyday shell. Instead do it inside nix-shell -p gcc lib1 lib2 ...
<boomshroom> What's the recommended way of configuring NixOS to allow ssh requests from a known system?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] risicle opened pull request #26312: python.pkgs.magic-wormhole: fix build mostly through adding new dependencies (master...magic-wormhole-fix) https://git.io/vHuUv
NixOS_GitHub has left #nixos []
<boomshroom> My laptop doesn't seem to recognize my desktop when the latter does a nixos-rebuild.
pmahoney has quit [(Ping timeout: 260 seconds)]
<boomshroom> Also, rsync doesn't seem to want to copy to my desktop
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] polynomial opened pull request #26313: gh-ost: init at 1.0.36 (master...gh-ost) https://git.io/vHuUw
NixOS_GitHub has left #nixos []
<Drakonis[m]> have you looked up the function?
<c74d> "2017-06-01 09:06:10 <aloiscochard> layus: yep seen indeed, but actually I changed my mind and decided to try `collenchyma` (native rust library) which seems better for my use case" — see also <https://docs.rs/parenchyma>, which claims that collenchyma is "defunct"
<Drakonis[m]> also, is there a way to link a library without using the path from /nix/store?
<Drakonis[m]> is that a markov bot?
arjen-jonathan has joined #nixos
<dhess> LnL: yes, I do have a binary cache already for my Mac builds. That's a good idea.
<symphorien> Drakonis[m]: inside nix-shell -p gcc mylib , using -lmylib is normally enough
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] twhitehead opened pull request #26314: TheanoWithCuda: depend on future for older pythons #26103 (master...theano-cuda-26103) https://git.io/vHuT8
NixOS_GitHub has left #nixos []
arjen-jonathan has quit [(Client Quit)]
digitus has quit [(Quit: digitus)]
arian_ has quit [(Quit: arian_)]
<boomshroom> Ok, ssh in general seems to be acting funky.
<deba5e12> thanks.
<c74d> "2017-06-01 22:19:13 <Drakonis[m]> is that a markov bot?" — who, me?
<Drakonis[m]> yes
<c74d> no
<Drakonis[m]> i swear that looked like one that looked at a chemistry bool
<Drakonis[m]> book
hiratara has quit [(Quit: ZNC - http://znc.in)]
<boomshroom> If I'm adding an authorized key to configuration.nix, do I need to paste the whole thing in, or just the first part. None of the examples that I could find use the full public key.
hiratara has joined #nixos
<qknight_> i don't understand how to use these overlays mentioned at https://mailman.science.uu.nl/pipermail/nix-dev/2016-December/022386.html
digitus has joined #nixos
_ris has joined #nixos
ris has quit [(Ping timeout: 255 seconds)]
<boomshroom> qknight_: It should just be to paste the overlay in your ~/.config/nix/overlays/ folder and rebuild. That said, the overlays in the mailing list are just samples and don't operate on real packages, so you need a package to override first.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nyarly opened pull request #26315: Updating iovisor/bcc to 0.3.0 (master...bcc-0.3.0) https://git.io/vHukp
NixOS_GitHub has left #nixos []
_ris is now known as ris
<boomshroom> qknight_: Does that answer your question? I'm currently trying to get ssh and rsync to work, so if anyone is more familiar with them on NixOS, I would appreciate some assistance.
arian_ has joined #nixos
Nobabs27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #26316: pirate-get: 0.2.9 -> 0.2.10 (master...pirate-get) https://git.io/vHuIK
NixOS_GitHub has left #nixos []
<LnL> qknight_: have you read this? http://nixos.org/nixpkgs/manual/#chap-overlays
johnramsden has joined #nixos
hellrazo1 has quit [(Ping timeout: 240 seconds)]
hellrazo1 has joined #nixos
<obadz> is there a nixos option to copy the nixpkg source tree somewhere in the store so other users on the system who don't have access to my git repo can still install packages without ending up on a different version of the repo?
dalaing_ has joined #nixos
dalaing_ has quit [(Client Quit)]
<johnramsden> I've got a problem where a file that shouldn't be wrapped is being wrapped by wrapGAppsHook. It's causing a problem because the file is supposed to be ran as pure Python. Does anyone have any recommendations as what I could do to either stop the file from being wrapped in the first place, or a temporary solution?
<LnL> obadz: nix-channel uses the store
<obadz> yes but my git repo might not be available on github/channels
seanz has joined #nixos
seanz has quit [(Client Quit)]
<obadz> it'd be nice if I could automatically export NIX_PATH=nixpkgs=http://github…/<commit that's the youngest common ancestor of origin/branch_x and my own private repo>
<obadz> then they'd likely install packages that would share 99% of libraries
<obadz> feels like it'd require some elaborate nix hackery to be automated
<puffnfresh> copumpkin: Sonarpulse: so I've got Hyperkit running but I can't mount the xchg or store because I need a 9p server running
<Sonarpulse> damn
<Sonarpulse> what is Hyperkit?
<puffnfresh> supposedly people have used https://github.com/chaos/diod/pull/5 for this before so I'm trying that
<puffnfresh> Sonarpulse: part of Docker for Mac https://github.com/moby/hyperkit
<Sonarpulse> oh
<puffnfresh> runs a VM using a hypervisor
riclima has joined #nixos
<dhess> Hyperkit is macOS's built-in virtualization framework.
<dhess> oh no, I'm sorry
<dhess> you're right, it's a Docker thing
<dhess> :(
<LnL> hyperkit is a fork of xhyve, but that's basically dead
<puffnfresh> Hypervisor.framework is Mac's built in thing
<Drakonis[m]> xhyve is a fork of bhyve
<dhess> I see "*Kit" and I automatically think Apple
<pikajude> which is a fork of qhyve
<pikajude> nah, i lie
<pikajude> i just think we need more letters
<Drakonis[m]> bhyve is bees
<Drakonis[m]> beeeees
<pikajude> qhyve is in the UK i believe
digitus has quit [(Quit: digitus)]
ryantrinkle has joined #nixos
<boomshroom> Hi, I got rsync to work. Now, one of the packages I'm using doesn't come with a .desktop file, so I'm trying to make a derivation to provide one, however builtins.toFile doesn't want to refer to the application I'm trying to wrap.
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<boomshroom> error: in ‘toFile’: the file ‘/usr/share/applications/dwarf-fortress.desktop’ cannot refer to derivation outputs
<Sonarpulse> puffnfresh: cool
riclima has joined #nixos
phinxy has quit [(Quit: Leaving)]
markus1189 has joined #nixos
markus1199 has joined #nixos
sophiag has joined #nixos
<copumpkin> puffnfresh: nice! a 9p server seems fairly easy to come by?
tanonym has joined #nixos
markus1219 has quit [(Ping timeout: 240 seconds)]
markus1209 has quit [(Ping timeout: 245 seconds)]
pie___ has joined #nixos
<sophiag> don't you love how erc will disconnect and then keep your channel buffers open so you're talking to the void like an idiot?
arian_ has quit [(Quit: arian_)]
erasmas has quit [(Quit: leaving)]
<sophiag> on that note, i was just *trying* to ask this:
<sophiag> i'm teaching a workshop this weekend where many students will be using a rather uncommon IDE that's supposed to be beginner friendly and i'm debating between just downloading either the deb package or jar (which i've never done before on nixos) and using it as an opportunity to write a nix pkg from scratch for the first time (so far i've only patched existing ones)
pie__ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<sophiag> i found instructions on installing deb packages here: http://anderspapitto.com/posts/2015-02-28-deb-installation-nixos.html although i'm still confused about whether i can do it directly with aptly or if that's just meant for those using nix on debian?
pie___ has quit [(Remote host closed the connection)]
<tanonym> Let's see how Plasma5 plays with the connman connection manager. :)
<tanonym> Being able to reboot to an older generation makes tinkering so relaxing ^,^
phinxy has joined #nixos
tanonym has quit [(Quit: Leaving)]
agjacome has joined #nixos
tanonym has joined #nixos
JagaJaga has quit [(Ping timeout: 272 seconds)]
phinxy has quit [(Quit: Leaving)]
calvertvl has joined #nixos
sellout- has quit [(Quit: Leaving.)]
<calvertvl> looks like the recent version bump to python.pkgs.hypothesis is broken on master (commit 2050213c) due to a hash change
kanzure has quit [(Ping timeout: 240 seconds)]
<puffnfresh> copumpkin: I found a couple but it looks like it needs to support 9p2000.L otherwise symlinks do weird things
tanonym has quit [(Quit: Leaving)]
Zarutian has joined #nixos
<copumpkin> this thing sets it up properly I think
<copumpkin> using an ocaml 9p library
<copumpkin> I started packaging the ocaml stuff if you want it
<copumpkin> but never pushed it
ambro718 has quit [(Ping timeout: 240 seconds)]
<copumpkin> cause I couldn't get the whole thing to work together
<copumpkin> erm, I might be misremembering
<copumpkin> I guess the ocaml lib is for qcow2, sorry
<copumpkin> either way I think it sets up the 9p for you somehow, not sure how
<copumpkin> you're using hyperkit, not xhyve, right?
acowley_away is now known as acowley
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mounium opened pull request #26317: pymol: python 2.7 -> python 3.5 + desktop icon (master...pymol) https://git.io/vHu3Q
NixOS_GitHub has left #nixos []
<deba5e12> i seem to be having an unreasonably fussy time trying to get a project to compile with shared libraries. it's a lisp program, and uses libpcap. libpcap is in ~/.nix-profile/lib, and I've set LD_LIBRARY_PATH to point to that directory. the weird thing is that this worked *once*, and then failed when I tried the exact same thing (to the best of my knowledge, even though this makes no sense) again. Any
<deba5e12> thoughts, #nixos?
<clever> deba5e12: nix only sets the linker flags up if your using nix-build or nix-shell
<clever> deba5e12: it will never look in ~/.nix-profile by default
<deba5e12> even if LD_LIBRARY_PATH=~/.nix-profile/lib?
<clever> that tells it where to look at runtime, but not where to look at link-time
<deba5e12> this makes it a bit tricky to use nix for development, but afaik that's its primary purpose. Ah, right. ok, thanks.
<clever> and there is a lot of other things nix-shell does to help
<deba5e12> I wasn't sure which one would be in effect when it came to sbcl.
<deba5e12> (since it's compiling inside a runtime)
<clever> deba5e12: just run "nix-shell -p libpcap" and then try to compile under that
<deba5e12> ok, I'll give that another shot.
<clever> ah, is there a way to save the compile output?
<deba5e12> nope
<clever> how often would you have to compile it?
<deba5e12> well, very frequently, since I tinker with it regularly in an interactive lisp session.
<deba5e12> i need some way of making .so files available to lisp when lisp is running interactively. this used to be a piece of cake, using cffi, or whatever.
<deba5e12> i'm sure i'm not the only lisper using nix, so this must be a solved problem.
<clever> try running the lisp repl inside the above nix-shell and see if that helps
kanzure has joined #nixos
<deba5e12> nix-shell doesn't seem to cut it though
<deba5e12> nope. no dice
<clever> dang