<boomshroom> Got it! thanks
<boomshroom> I'm curious if anyone's tried to write a non-trivial, non-package, program in Nix.
thc202 has quit [(Ping timeout: 246 seconds)]
<boomshroom> Compilation is generally a relatively functional procedure, and Nix has file i/o capabilities, so someone crazy enough might be able to write a compiler in Nix.
<boomshroom> Does Nix support non-printable character literals in strings?
<dash> boomshroom: nix is slow, though
<dash> boomshroom: i wrote the start of a package manager for a language (like pip/npm) using nix
<boomshroom> Speed shouldn't get in the way of SCIENCE! :D
<dash> boomshroom: science causes cancer though
simukis has quit [(Ping timeout: 260 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
hellrazor has quit [(Read error: Connection reset by peer)]
hellrazor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] knedlsepp opened pull request #26221: pandas: Fix build on darwin (master...fix-pandas-darwin-build) https://git.io/vHW4n
NixOS_GitHub has left #nixos []
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
aneeshusa has joined #nixos
jgertm has joined #nixos
aneeshusa has quit [(Client Quit)]
takle has joined #nixos
<clever> boomshroom: i have used terminal color codes in nix
<Sonarpulse> boomshroom: you could get incremental compilation for free writing in dhall
takle has quit [(Ping timeout: 245 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nand0p opened pull request #26222: treq: 17.3.1 fixes (master...treq-fixes) https://git.io/vHW4d
NixOS_GitHub has left #nixos []
<boomshroom> Cool.
<boomshroom> clever: The escape character was just in the file unecaped‽
<clever> yep
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #26223: Add `isStorePath` tests (master...isStorePath) https://git.io/vHWBJ
NixOS_GitHub has left #nixos []
<boomshroom> Sonarpulse: That's pretty cool, but it's not turing complete and doesn't seem to support recursion, so it probably can't be abused the way I'm thinking of.
<Sonarpulse> boomshroom: it supports structure recursion, presumably
jgertm has quit [(Ping timeout: 245 seconds)]
<boomshroom> Also, it requires a separate language to preform transformations on the input. What I want to do is try to write a brainfuck or other simple language compiler in a language clearly not meant for writing programs like compilers. If all goes well, I could even make it take a path as input and emit a derivation as output.
<Sonarpulse> boomshroom: a friend of mine once wanted to write an irc server in latex (with a little help from netcat)
<dash> boomshroom: i got a real compiler and vm you could work on instead.... :)
<boomshroom> Sonarpulse: That's what I'm talking about! :D
<boomshroom> dash: I'd be happy to hear more. The reason I choose brainfuck is it's very simple and should be easy to convert to machine code. The rest is just proof-of-pointless-concept.
jgertm has joined #nixos
<boomshroom> Brb, heading for dinner.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nand0p opened pull request #26224: txaio: 2.7.1 fixes (master...txaio-fixes) https://git.io/vHWBD
NixOS_GitHub has left #nixos []
jgertm has quit [(Ping timeout: 246 seconds)]
Sonarpulse has quit [(Remote host closed the connection)]
pie_ has quit [(Ping timeout: 255 seconds)]
s33se has joined #nixos
mkoenig has quit [(Ping timeout: 255 seconds)]
Sonarpulse has joined #nixos
acertain has joined #nixos
<boomshroom> I'm back
s33se_ has quit [(Ping timeout: 260 seconds)]
pie_ has joined #nixos
vaibhavsagar_ has joined #nixos
Rotaerk_ has joined #nixos
indi_ has joined #nixos
mkoenig has joined #nixos
Rotaerk has quit [(Ping timeout: 246 seconds)]
pareidolia has quit [(Ping timeout: 240 seconds)]
Rotaerk has joined #nixos
Rotaerk_ has quit [(Ping timeout: 260 seconds)]
lambdamu_ has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
Rotaerk_ has joined #nixos
Rotaerk has quit [(Ping timeout: 240 seconds)]
lambdamu has quit [(Ping timeout: 260 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
pareidolia has joined #nixos
pie__ has joined #nixos
Supersonic112_ is now known as Supersonic112
Rotaerk_ has quit [(Ping timeout: 240 seconds)]
pie___ has joined #nixos
ris has quit [(Ping timeout: 246 seconds)]
pie_ has quit [(Ping timeout: 245 seconds)]
pie__ has quit [(Ping timeout: 246 seconds)]
mizu_no_oto has joined #nixos
Rotaerk has joined #nixos
Rotaerk has quit [(Ping timeout: 268 seconds)]
hellrazo1 has joined #nixos
Rotaerk has joined #nixos
hellrazor has quit [(Ping timeout: 260 seconds)]
Rotaerk_ has joined #nixos
Rotaerk has quit [(Ping timeout: 268 seconds)]
Drakonis[m] has joined #nixos
Rotaerk_ has quit [(Ping timeout: 268 seconds)]
mbrgm has quit [(Ping timeout: 255 seconds)]
hamishmack has quit [(Quit: hamishmack)]
derjohn_mob has quit [(Ping timeout: 245 seconds)]
mbrgm has joined #nixos
riclima has joined #nixos
pie___ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
johnramsden has joined #nixos
Raimondii has joined #nixos
derjohn_mob has joined #nixos
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
<johnramsden> I've got a bit of an issue with A wrapped Python package. I'm using wrapGAppsHook and the program wants to import a module but it is importing the Bash script wrapper which actually calls the module, instead of importing the Python module. Does anyone know if there is a way to exclude certain files with the wrappers?
drakonis has joined #nixos
hamishmack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 3 new commits to master: https://git.io/vHWuB
<NixOS_GitHub> nixpkgs/master 20e756a John Ericson: lib: Consolidate platform configurations (used for crossSystem)...
<NixOS_GitHub> nixpkgs/master c66ff8e John Ericson: cross tests and stdenv: armv5te*l* of sheevaplug explicit...
<NixOS_GitHub> nixpkgs/master a908ad6 John Ericson: Merge pull request #26037 from obsidiansystems/platform-examples...
NixOS_GitHub has left #nixos []
johnramsden has quit [(Quit: Leaving)]
hexagoxel has quit [(Ping timeout: 261 seconds)]
johnsonav has joined #nixos
hexagoxel has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<boomshroom> I've read that it's possible to try applications before installing using nix-shell. Is this true and if so, how do I do so?
<drakonis> how's python packages on nix right now?
<drakonis> did python folks ever improve their infrastructure to make it easy?
drakonis has quit [(Read error: Connection reset by peer)]
<vaibhavsagar_> boomshroom: nix-shell -p thePackageYouWantToTry
<boomshroom> vaibhavsagar_: Thank you.
phinxy has quit [(Quit: Leaving)]
pallav has quit [(Ping timeout: 246 seconds)]
<Drakonis[m]> hm
ryantrinkle has quit [(Ping timeout: 246 seconds)]
<justan0theruser> can someone please help with this: sudo nixos-rebuild switch --upgrade \n error: attribute ‘wrapPython’ missing, at /nix/store/rqphb787jhmijpbzngmmpb84kbizkz60-nixos-16.09.1943.25f4906da6/nixos/pkgs/development/libraries/speechd/default.nix:19:35
<clever> justan0theruser: line 19 of speechd/default.nix is trying to call wrapPython, which doesnt exist
<clever> and its a dependency of chromium
<clever> thats odd
pie__ has joined #nixos
<clever> justan0theruser: what does sudo nix-channel --list say?
pie_ has quit [(Read error: Connection reset by peer)]
<justan0theruser> clever: nixos https://nixos.org/channels/nixos-16.09
<clever> justan0theruser: do you have any overrides in configuration.nix?
<justan0theruser> yes
<clever> can you gist them?
<justan0theruser> I can comment this out and try, one sec
<clever> thought so
<clever> that replaces the entire python35Packages with just { libgpuarray-cuda = ... };
<justan0theruser> :/
<clever> so python32Packages is now missing wrapPython
<justan0theruser> I am a noobie
<clever> its easy to make this mistake
<justan0theruser> well its working
<clever> python35Packages = pkgs.python35Packages // { libgpuarray-cuda = ... };
<clever> this will overwrite just the cuda attribute, and pass the rest on
<justan0theruser> you have solved my issue again!
<justan0theruser> where should I have that?
<justan0theruser> oh just comment it out?
<clever> that can go into the override
<justan0theruser> what is the //?
<clever> attribute merge
<clever> more like this
<justan0theruser> ahh
<justan0theruser> tyvm
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sellout- has joined #nixos
Winter_Foxo has joined #nixos
<Winter_Foxo> Hi o/
<boomshroom> I'm currently mapping out dependencies for some scripts for one of my packages. Is xset its own package? It has its own store entry, but it doesn't seem to be in all-packages.nix.
<boomshroom> Hi, Winter_Foxo!
<Winter_Foxo> I have been looking for a way to make reinstalling my OS less painful. From what I understand nixos has one location where I can backup the config and recreate the whole system from that?
<Winter_Foxo> I keep breaking ubuntu and putting up with a broken system because its too much work to reinstall
noam__ has quit [(Read error: Connection reset by peer)]
<dash> Winter_Foxo: changing nixos's config is the same as reinstalling it with a new config
noam__ has joined #nixos
<Winter_Foxo> dash, So I just keep snapshots of the config and I can unbreak stuff?
michalrus has quit [(Read error: Connection reset by peer)]
<dash> Winter_Foxo: yes, and it does this for you automatically too :)
seantparsons has quit [(Remote host closed the connection)]
<dash> Winter_Foxo: that is, it keeps the old system state around, so you can rollback
seanparsons has joined #nixos
<boomshroom> Winter_Foxo: from my understanding, if you break a NixOS install, you can just boot from an earlier version from before it broke without reinstalling. That said, I have not attempted it myself because, thankfully, I don't think I've broken it. (I may be wrong)
sphalerite has quit [(Ping timeout: 240 seconds)]
sphalerite has joined #nixos
<dash> no, this is correct, it keeps old configs in the boot menu
Winter_Foxo has quit [(Ping timeout: 246 seconds)]
Winter_Foxo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #26227: nixos: Add support for scalable fonts in Grub menus (master...grub-fonts) https://git.io/vHWaY
NixOS_GitHub has left #nixos []
michalrus has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
Winter_Foxo has quit [(Ping timeout: 246 seconds)]
Winter_Foxo has joined #nixos
Winter_Foxo has quit [(Ping timeout: 245 seconds)]
Winter_Foxo has joined #nixos
dfranke has joined #nixos
filterfish has quit [(Ping timeout: 245 seconds)]
Winter_Foxo has quit [(Ping timeout: 245 seconds)]
Winter_Foxo has joined #nixos
Winter_Foxo has quit [(Ping timeout: 240 seconds)]
Winter_Foxo has joined #nixos
Winter_Foxo has quit [(Ping timeout: 240 seconds)]
Winter_Foxo has joined #nixos
riclima has joined #nixos
pie__ has quit [(Remote host closed the connection)]
pie__ has joined #nixos
revtintin has joined #nixos
Winter_Foxo has quit [(Ping timeout: 240 seconds)]
Winter_Foxo has joined #nixos
Winter_Foxo has quit [(Ping timeout: 245 seconds)]
Winter_Foxo has joined #nixos
cpennington has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #26228: geogebra: 5-0-355-0 -> 5-0-361-0 (master...update/geogebra) https://git.io/vHWVh
NixOS_GitHub has left #nixos []
Winter_Foxo has quit [(Ping timeout: 272 seconds)]
Winter_Foxo has joined #nixos
schoppenhauer has quit [(Ping timeout: 268 seconds)]
WinterFox[m] has joined #nixos
miko__ has joined #nixos
<miko__> Hi. I want to run ethereum/mist (https://github.com/ethereum/mist/releases) on nixos.
<miko__> I download the pre-build binaries, and I can't execute them. It's just a file not found.
<miko__> I don't see why that could be.
<clever> miko__: because nixos doesnt have a ld.so in /lib/
<clever> everything installed on nixos must be packaged in nix
schoppenhauer has joined #nixos
<miko__> that makes execve fail?
<clever> yeah
<WinterFox[m]> I'm trying to boot nixos on a macbook and it fails but I have an interactive shell, does anyone know how I can extract a log to open a bug report?
Winter_Foxo has quit [(Ping timeout: 255 seconds)]
<clever> miko__: and ethereum has already been packaged
<clever> miko__: i see a go-ethereum package in nixpkgs
krills has joined #nixos
<miko__> clever, that's only geth. It's not that usefull without mist.
<boomshroom> I'm trying to modify a package to take user options to add or remove dependencies, but it doesn't seem to acknowledge my config when building from the local repository. It does seem to when installing from the normal repos, but that version doesn't have the modification.
<WinterFox[m]> The dirs I can see are bin, dev, etc, init, lib, mnt-root, nix, proc, root, run, sys, tmp and var
<boomshroom> My config and modified derivation are here: https://gist.github.com/boomshroom/74a1beaf5e66abfdc10882a2fb6e2930
krills has quit [(Remote host closed the connection)]
<miko__> geth and mist have a relationship like a javascript repl and a webbrowser.
<miko__> How to install 3rd party software? debbootstrap and chroot?
jgertm has joined #nixos
<dash> miko__: the best answer is "write a nix expression"
<dash> it's usually fairly easy
<dash> for prebuilt stuff, that you can't build from source, there's stuff to make a chroot to run it in
Curious- has joined #nixos
Curious- has left #nixos []
<justan0theruser> Is there a good book that explains the nix language?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #26229: programs.zsh.syntaxHighlighting: refactor to use attr sets rather than recursive lists for patterns (master...refactor/use-attr-set-for-syntax-highlighting-patterns) https://git.io/vHWwx
NixOS_GitHub has left #nixos []
pie__ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<WinterFox[m]> How old are the stable isos on the website?
<WinterFox[m]> Wondering if the unstable one will fix my issue
* clever heads to bed
<dmj`> justan0theruser: the nix user manual most likely
<miko__> clever, thank you
filterfish has joined #nixos
<boomshroom> Does anyone know why my override isn't applying to my package modification
<dash> boomshroom: show us what you got
<dash> ah i haven't used packageOverrides when i've done this
<dash> it _looks_ plausible. you put this in ~/.config/nixpkgs/config.nix ?
<boomshroom> yes. The config.nix is ~/.config/nixpkgs/config.nix
<dash> and then you're running 'nix-env -i trimmedi3blocks'?
<boomshroom> nix-env -i trimmedi3blocks -f ~/nix-local/nixpkgs/default.nix # error: selector ‘trimmedi3blocks’ matches no derivations
<dash> whoops, you'd need -iA of course
<boomshroom> Thank you! :facepalm:
<dash> nix-env -iA nixpkgs.trimmedi3blocks
reinzelmann has joined #nixos
jgertm has quit [(Ping timeout: 255 seconds)]
<puffnfresh> hey I want to build a Docker image from OS X
<puffnfresh> the Docker image needs an x86_64-linux version of Oracle JDK 8
<puffnfresh> I can't figure out how to get OS X to download that Linux package and extract it
Itkovian has joined #nixos
MercurialAlchemi has joined #nixos
<boomshroom> buildInputs are added to the path in all environments with the particular package installed, right?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
marsel has joined #nixos
engblom has quit [(Read error: Connection reset by peer)]
engblom has joined #nixos
<boomshroom> Does the expression language support hexadecimal numbers or converting between integers and ascii text?
<boomshroom> Also, are the strings null-terminated?
<puffnfresh> boomshroom: don't think we have access to the representation in that way
metaphysician has quit [(Quit: Bye.)]
miko__ has quit [(Ping timeout: 245 seconds)]
<boomshroom> puffnfresh: :( But I want to do Fun Stuff (tm).
<puffnfresh> what fun stuff can you do knowing if it's null terminated?
pie_ has quit [(Ping timeout: 240 seconds)]
<boomshroom> If strings aren't null terminated, then I can store nulls in them and write them to a file.
<puffnfresh> you can put nulls in strings
<boomshroom> Thank you. Now I just need some way of outputting an integer to a file as a sequence of bytes.
Ivanych has quit [(Quit: Leaving.)]
jgertm has joined #nixos
leat has quit [(Ping timeout: 255 seconds)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
xadi has quit [(Ping timeout: 268 seconds)]
xadi has joined #nixos
avn has quit [(Ping timeout: 240 seconds)]
marsel has quit [(Ping timeout: 272 seconds)]
riclima has joined #nixos
ericsagnes has quit [(Ping timeout: 240 seconds)]
nslqqq has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
oever has joined #nixos
nslqqq has joined #nixos
vandenoever has quit [(Read error: Connection reset by peer)]
<makefu> clever: i will migrate this article to the new wiki, seems it came up more than once
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
FRidh has joined #nixos
iyzsong has joined #nixos
<boomshroom> How do I make sure a package's binaries are in the path while my derivation is active?
dejanr_ has joined #nixos
evangeline has quit [(Ping timeout: 246 seconds)]
nslqqq has quit [(Ping timeout: 260 seconds)]
nslqqq has joined #nixos
<boomshroom> The dependencies for my derivation are being downloaded, but not added to PATH for the shell scripts.
<makefu> boomshroom: makeWrapper, add them to PATH
<boomshroom> Thank you, I will check that out and give it a try.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub closed pull request #26218: restic: 0.5.0 -> 0.6.0 (master...upgrade-restic) https://git.io/vHWc8
NixOS_GitHub has left #nixos []
justbeingglad has joined #nixos
justbeingglad has left #nixos []
ertes has joined #nixos
<boomshroom> makefu: Is there any way of doing this without dropping to bash? I'd figure packages calling other execuables would be common enough to get its own nix function.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26224: txaio: 2.7.1 fixes (master...txaio-fixes) https://git.io/vHWBD
NixOS_GitHub has left #nixos []
<boomshroom> Also, the code for makeWrapper is rather complex.
evangeline has joined #nixos
jgertm has quit [(Ping timeout: 272 seconds)]
<makefu> boomshroom: you could rewrite your script with sed to replace the instances where a package is required with the absolute nix path
orivej has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHWiq
<NixOS_GitHub> nixpkgs/master eb2994a Josef Kemetmueller: pandas: Fix build on darwin...
<NixOS_GitHub> nixpkgs/master 67f6f3a Frederik Rietdijk: Merge pull request #26221 from knedlsepp/fix-pandas-darwin-build...
NixOS_GitHub has left #nixos []
<boomshroom> Can you provide an example of wrapProgram in the official repositories?
<makefu> if you do not care if a package works out of the box you could add a path to the systemd service
<boomshroom> I find it hard to believe that sed would be necessary.
<makefu> git grep makeWrapper: pkgs/servers/misc/taskserver/default.nix
<makefu> there are all kinds of hacks for this, even adding the path on top of your script via sed
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26124: cloudmonkey: init at 5.3.3 with related dependency argcomplete: init at 1.8.2 (master...init/cloudmonkey-5.3.3) https://git.io/vHGph
NixOS_GitHub has left #nixos []
Curious- has joined #nixos
Curious- has left #nixos []
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
dejanr_ has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
indi__ has joined #nixos
Itkovian has quit [(Ping timeout: 255 seconds)]
indi_ has quit [(Ping timeout: 268 seconds)]
<makefu> makeWrapper is the de-facto way to go for adding an extra PATH entry
indi__ has quit [(Ping timeout: 246 seconds)]
lewo has quit [(Quit: ZNC - http://znc.in)]
lewo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHWiN
<NixOS_GitHub> nixpkgs/master 47e8665 Maximilian Bosch: geogebra: 5-0-355-0 -> 5-0-361-0
<NixOS_GitHub> nixpkgs/master 5c04222 Frederik Rietdijk: Merge pull request #26228 from Ma27/update/geogebra...
NixOS_GitHub has left #nixos []
angerman has quit [(Excess Flood)]
angerman has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vHWPt
<NixOS_GitHub> nixpkgs/master a987943 Vincent Laporte: ditaa: more general platform
<NixOS_GitHub> nixpkgs/master 4f6422b Vincent Laporte: unison: more general platform
NixOS_GitHub has left #nixos []
FRidh has quit [(Ping timeout: 258 seconds)]
FRidh has joined #nixos
avn has joined #nixos
Curious- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHWPB
<NixOS_GitHub> nixpkgs/master 75a94a5 Robin Stumm: mcrcon: init at 0.0.5
<NixOS_GitHub> nixpkgs/master ccafbac Frederik Rietdijk: Merge pull request #26215 from dermetfan/mcrcon...
NixOS_GitHub has left #nixos []
marsel has joined #nixos
Itkovian has joined #nixos
Ivanych has joined #nixos
Tucky has joined #nixos
fifo23 has quit [(Remote host closed the connection)]
fifo23 has joined #nixos
fifo23 has quit [(Ping timeout: 255 seconds)]
<boomshroom> YES! I think I got it working to satisfaction!
boomshroom has quit [(Quit: Page closed)]
ericsagnes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix pushed 3 new commits to master: https://git.io/vHW1m
<NixOS_GitHub> nixpkgs/master ac8a58b Robert Scott: python.pkgs.django_compat: get tests working & enable them...
<NixOS_GitHub> nixpkgs/master fa44b72 Robert Scott: python.pkgs.django_hijack: 2.0.7 -> 2.1.4...
<NixOS_GitHub> nixpkgs/master 61ce849 Lancelot SIX: Merge pull request #26166 from risicle/django-compat-hijack-tests...
NixOS_GitHub has left #nixos []
spinus has quit [(Read error: No route to host)]
spinus has joined #nixos
thc202 has joined #nixos
oever is now known as vandenoever
goibhniu has joined #nixos
justanotheruser has joined #nixos
justan0theruser has quit [(Ping timeout: 245 seconds)]
Ivanych has quit [(Ping timeout: 268 seconds)]
MichaelRaskin has quit [(Quit: MichaelRaskin)]
filterfish has quit [(Ping timeout: 245 seconds)]
civodul has joined #nixos
Ivanych has joined #nixos
<sphalerite> I want to package a piece of software. Upstream prefers to have it always built with debug symbols and optimisations. How can I have the debug symbols and make them useful (e.g. allow gdb to find the source files) without introducing a runtime dependency on the headers?
jensens has joined #nixos
Ivanych has quit [(Ping timeout: 272 seconds)]
oida_ has joined #nixos
oida has quit [(Ping timeout: 240 seconds)]
<FRidh> sphalerite: are you aware of dontStrip = true; ?
mudri has joined #nixos
<FRidh> and separateDebugInfo
<sphalerite> Ah yes, separateDebugInfo should be helpful
<sphalerite> I know about dontStrip and am using it, but forgot about separateDebugInfo :)
<sphalerite> Thanks
nschoe has joined #nixos
Ivanych has joined #nixos
revtintin has quit [(Quit: WeeChat 1.7)]
jensens has quit [(Quit: Leaving)]
jensens has joined #nixos
MichaelRaskin has joined #nixos
leat has joined #nixos
ThatDocsLady has joined #nixos
xificurC has joined #nixos
<xificurC> I have emacs and source code pro fonts installed via nix but emacs cannot find the fonts. Is there some additional setup needed to update the font cache or something?
<xificurC> I tried installing fontconfig as well but that didn't do anything :)
<goibhniu> xificurC: hrm ... does `fc-cache -rv` help?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #26231: systemd: v232 -> v233 (staging...systemd) https://git.io/vHWQl
NixOS_GitHub has left #nixos []
<xificurC> goibhniu: nope. Also there's nothing pointing to the nix store in that output, if there should be
<goibhniu> xificurC: I presume you're not running NixOS, right?
<xificurC> goibhniu: no, it's a notebook I got at work :) ubu 16.04
<avn> xificurC: switch to nixos! ;)
<xificurC> I tried a quick web search but haven't hit into anything interesting. Was wondering if there's some special setup needed to get the fonts working
<goibhniu> xificurC: https://web.archive.org/web/20160829175548/https://nixos.org/wiki/Fonts might be useful ... if so, we should copy it to the manual or the new wiki
MichaelRaskin has left #nixos []
m0rphism has joined #nixos
<makefu> yes please do :D there was a dump of the old wiki somewhere in github but i am unable to find it ...
<xificurC> goibhniu: well adding ~/.nix-profile/share/fonts into ~/.config/fontconfig/fonts.conf makes fc-cache -rv aware of the directory. However the fonts are still not found by emacs -_-
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHW7P
<NixOS_GitHub> nixpkgs/master 1fdf42d Jean-Philippe Bernardy: pythonPackages.tensorflow: Don't change the rpath to point to gcc4.9...
<NixOS_GitHub> nixpkgs/master 84a13a8 Frederik Rietdijk: Merge pull request #26213 from jyp/tf-standard-gcc...
NixOS_GitHub has left #nixos []
leat has quit [(Ping timeout: 246 seconds)]
filterfish has joined #nixos
so has joined #nixos
jonafato has quit [(Ping timeout: 240 seconds)]
pareidolia has quit [(Ping timeout: 240 seconds)]
danbst has left #nixos ["WeeChat 1.7"]
danbst has joined #nixos
Nycatelos has joined #nixos
kragniz has joined #nixos
kragniz has joined #nixos
danbst has left #nixos ["WeeChat 1.7"]
jonafato has joined #nixos
danbst has joined #nixos
Bane^ has joined #nixos
leat has joined #nixos
danbst has left #nixos ["WeeChat 1.7"]
danbst has joined #nixos
pareidolia has joined #nixos
ris has joined #nixos
mightybyte has joined #nixos
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
astsmtl has joined #nixos
exi has joined #nixos
spinus has quit [(Ping timeout: 260 seconds)]
alfie has joined #nixos
urbain1 has quit [(Quit: WeeChat 1.8)]
loupgaroublond has joined #nixos
ris has quit [(Read error: Connection reset by peer)]
ris has joined #nixos
Curious- has left #nixos ["Quit"]
hellrazor has joined #nixos
mudri|srcf has quit [(Ping timeout: 245 seconds)]
hellrazo1 has quit [(Ping timeout: 240 seconds)]
mudri|srcf has joined #nixos
dejanr_ has joined #nixos
kini has joined #nixos
numerobis has joined #nixos
mightybyte has quit [(Quit: Leaving.)]
<numerobis> Hi! My nginx + phpfpm config worked very well until I upgraded my system recently, and now I get the error "Primary script unknown ..." that seem to be quite common. I have looked on the internet but haven't managed to solve the problem. So my question is: has there been some recent change in nginx/phpfpm nix packages that could be responsible for the error? Thank you.
pbogdan has joined #nixos
filterfish has quit [(Ping timeout: 245 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volhovM opened pull request #26232: scudcloud: 1.54 -> 1.58 (master...update/scudcloud-1.58) https://git.io/vHWxc
NixOS_GitHub has left #nixos []
<danbst> numerobis: are you on unstable?
FRidh has joined #nixos
michalrus has joined #nixos
katyucha_ has joined #nixos
houqp has joined #nixos
edwtjo has joined #nixos
ninja_in_neopren has joined #nixos
mw has joined #nixos
esmiurium has joined #nixos
athan has joined #nixos
kalebo has joined #nixos
htr has joined #nixos
henrytill has joined #nixos
qknight_ has joined #nixos
the-kenny has joined #nixos
cransom has joined #nixos
joachifm has joined #nixos
alpounet has joined #nixos
shlevy has joined #nixos
saintromuald has joined #nixos
Baughn has joined #nixos
marcinkuzminski has joined #nixos
josePhoenix has joined #nixos
x1n4u has quit [(Ping timeout: 240 seconds)]
mpcsh has quit [(Ping timeout: 240 seconds)]
relrod has quit [(Ping timeout: 240 seconds)]
cornfeedhobo has quit [(Ping timeout: 240 seconds)]
houqp has quit [(Ping timeout: 260 seconds)]
<numerobis> danbst: yes, I am on unstable. Thank you for the link!
mudri has quit [(Ping timeout: 260 seconds)]
mpcsh has joined #nixos
x1n4u has joined #nixos
houqp has joined #nixos
<numerobis> danbst: woops, no, sorry, I see that the link wasn't part of your message.
cornfeedhobo has joined #nixos
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jagajaga pushed 2 new commits to master: https://git.io/vHWh4
<NixOS_GitHub> nixpkgs/master 4730b8b Mikhail Volkhov: scudcloud: 1.54 -> 1.58
<NixOS_GitHub> nixpkgs/master e919b2f Arseniy Seroka: Merge pull request #26232 from volhovM/update/scudcloud-1.58...
NixOS_GitHub has left #nixos []
nschoe has quit [(Ping timeout: 255 seconds)]
ericsagnes has quit [(Ping timeout: 260 seconds)]
filterfish has joined #nixos
dejanr_ has quit [(Ping timeout: 255 seconds)]
filterfish has quit [(Ping timeout: 246 seconds)]
<xificurC> what would be a correct way to create a new channel that inherits everything from nixpkgs-unstable? So that I can layer some things on top of it without manually pulling in stuff (yet). I want to try and create a minimal channel with 1 additional package that basically depends on nixpkgs-unstable
<FRidh> xificurC: do you really need a new channel? What is it you want with it? Share some extra packages on top of nixpkgs with other people? You might consider using an overlay instead
<xificurC> FRidh: the use case is simple - we have a set of in-house packages, in w/e language with w/e tooling - java, js, bash, python, ... We have a distribution system (think package manager) that provides these packages to the users. We want to see what would it look like if we switched to nix
johnsonav has quit [(Ping timeout: 245 seconds)]
<ris> FRidh: i'm working on fixing flask-migrate just to prevent duplicate work
<ris> (working now, just tidying up)
arjen-jonathan has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
phreedom has joined #nixos
darlan has joined #nixos
orivej has joined #nixos
<xificurC> looking at the overlay docs it seems I don't host anything, therefore there's no channel added and I cannot add a binary cache for the new packages either
Wizek_ has joined #nixos
darlan has quit [(Client Quit)]
<xificurC> is it crazy what I'm asking for? I'm just looking for a way to pull in the nixpkgs as a dependency in order to build my own things on a separate channel. The end user would then need to have the nixpkgs channel as well for the new one to work
<FRidh> xificurC: here is specified what a channel consists of https://nixos.org/nix/manual/#channel-format
<xificurC> FRidh: thanks, I was pointed to that by some other helpful fellow yesterday too :) How does that answer my question though? I'm very new here so pardon the stupid questions :) I am willing to read all the manuals and try out things on my own, I just want to make sure I'm headed the right way and that what I want to do is at least *possible*
<xificurC> FRidh: so I'll try to narrow the question - can channel foo's default.nix pull in the whole of nixpkgs?
magnetophon has quit [(Ping timeout: 255 seconds)]
<FRidh> xificurC: definitely. You can write yourself a default.nix that fetches the "official" nixpkgs and modifies it
<xificurC> thanks FRidh, I'll try to look into that then :)
<FRidh> xificurC: relevant issue for you https://github.com/NixOS/nixpkgs/issues/14698
takle has joined #nixos
cpennington has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] risicle opened pull request #26233: python.pkgs.flask_migrate: 1.7.0 -> 2.0.3 (master...flask-migrate-bump) https://git.io/vHlIC
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
<unlmtd> it would make sense to take out gnome-software, wouldnt it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vHlI7
<NixOS_GitHub> nixpkgs/master 94be2db Pascal Wittmann: libfilezilla: 0.9.1 -> 0.9.2
NixOS_GitHub has left #nixos []
magnetophon has joined #nixos
Curious- has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Curious- has left #nixos []
simukis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vHlLc
<NixOS_GitHub> nixpkgs/master b73fd0c Pascal Wittmann: global: 6.5.6 -> 6.5.7
NixOS_GitHub has left #nixos []
Wizek_ has quit [(Ping timeout: 260 seconds)]
<xificurC> is this still not in nixpkgs-unstable? https://github.com/NixOS/nixpkgs/pull/26087
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHlLM
<NixOS_GitHub> nixpkgs/master a1c1598 Robert Scott: python.pkgs.flask_migrate: 1.7.0 -> 2.0.3...
<NixOS_GitHub> nixpkgs/master 30ce98b Frederik Rietdijk: Merge pull request #26233 from risicle/flask-migrate-bump...
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Ping timeout: 246 seconds)]
CMCDragonkai has joined #nixos
<CMCDragonkai> Say you have built a package using nix-build and that leaves a result symlink. Is there a way to garbage collect this /nix/store directory and only it?
FRidh has quit [(Quit: Konversation terminated!)]
iyzsong has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
<Dezgeg> you can lookup the path, remove the symlink & nix-store --delete the path
<Dezgeg> or if you feel like living dangerous, just 'nix-store --delete --ignore-liveness result'
<CMCDragonkai> Repeated runs of nix-build doesn't remove the old store path
<CMCDragonkai> I mean the result symlink just points to a new one
<CMCDragonkai> any reason for keeping the old store path?
<LnL> don't use --ignore-liveness
<CMCDragonkai> Could you expand on what you mean? Don't use? Why?
<viric> Does anybody know whether the nixos dhcp client does proper dynamic dns updates?
scode has quit [(Quit: Connection closed for inactivity)]
<LnL> because it's unsafe
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] apeyroux opened pull request #26235: ctop: init at 2017-05-28 (master...init-ctop) https://git.io/vHlYg
NixOS_GitHub has left #nixos []
<LnL> if it was part of a profile or a dependency of something you'll break things
ertes has quit [(Ping timeout: 268 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
<sphalerite> There was a tool somewhere in nixpkgs for making bundles that will run on other distros, right?
<FRidh> nix-bundle
orivej has quit [(Ping timeout: 255 seconds)]
magnetophon has quit [(Ping timeout: 240 seconds)]
Curious- has joined #nixos
ilyaigpetrov has joined #nixos
<sphalerite> FRidh: that's the one, thanks!
ryantrinkle has joined #nixos
<ris> didn't know about that
<ris> cool
mudri has joined #nixos
<FRidh> copumpkin: so google cloud does run on aws ;)
Curious- has quit [(Ping timeout: 255 seconds)]
magnetophon has joined #nixos
ertes-w has joined #nixos
CcxWrk has quit [(Ping timeout: 240 seconds)]
Jackneill has quit [(Read error: Connection reset by peer)]
Curious- has joined #nixos
Jackneill has joined #nixos
leat has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
betaboon has joined #nixos
orivej has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
Curious- has quit [(Read error: Connection reset by peer)]
leat has joined #nixos
ryantrinkle has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #26231: systemd: v232 -> v233 (staging...systemd) https://git.io/vHWQl
NixOS_GitHub has left #nixos []
romildo has joined #nixos
hellrazo1 has joined #nixos
pie__ has joined #nixos
pie__ has quit [(Changing host)]
pie__ has joined #nixos
cpennington has quit [(Remote host closed the connection)]
hellrazor has quit [(Ping timeout: 258 seconds)]
<Unode> Hi guys, I'm again running into troubles compiling some packages from nixos-17.03 http://dpaste.com/0EG4HKF any suggestions on how to overcome this?
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 268 seconds)]
Mateon3 is now known as Mateon1
<Unode> seems to be some locale related issue but I don't know what's wrong/missing.
alx741_ has joined #nixos
pie___ has joined #nixos
nschoe has joined #nixos
alx741 has quit [(Ping timeout: 245 seconds)]
Curious- has joined #nixos
pie__ has quit [(Ping timeout: 260 seconds)]
magnetophon has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
johnsonav has joined #nixos
faffolter has quit [(Ping timeout: 245 seconds)]
Curious- has left #nixos ["Quit"]
peacememories has joined #nixos
<CMCDragonkai> If a package relies on a program like pkexec, the path can be acquired by having polkit as a build input, and then configure can find the path to pkexec, however this path does not use the setuid wrapper for pkexec, is there a way to acquire the wrapped pkexec path instead of the package path?
Bane^ has quit [(Ping timeout: 272 seconds)]
Bane^ has joined #nixos
pvde has joined #nixos
ericsagnes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #26238: pythonPackages.pytest-localserver: 0.3.5 -> 0.3.7 (master...fix-pytest-localserver) https://git.io/vHlRe
NixOS_GitHub has left #nixos []
<CMCDragonkai> Does it make sense for a default.nix to load nixos and search config.security.wrappers.pkexec.source and encode that as the path, or should pkexec just be acquired from the environment?
peacememories has quit [(Quit: Textual IRC Client: www.textualapp.com)]
pvde has quit [(Quit: quit)]
cpennington has joined #nixos
simukis has quit [(Ping timeout: 240 seconds)]
romildo has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jensbin opened pull request #26239: networkmanager_dmenu: unstable-2017-04-13 -> unstable-2017-05-28 (master...networkmanager-dmenu_20170528) https://git.io/vHl0P
NixOS_GitHub has left #nixos []
pie__ has joined #nixos
miko__ has joined #nixos
stallion has joined #nixos
pie___ has quit [(Ping timeout: 260 seconds)]
aneeshusa has joined #nixos
Raimondii has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
mudri|srcf has quit [(Ping timeout: 255 seconds)]
sellout- has quit [(Quit: Leaving.)]
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
MercurialAlchemi has quit [(Ping timeout: 245 seconds)]
ryantrinkle has joined #nixos
johnsonav has quit [(Ping timeout: 272 seconds)]
aneeshusa has quit [(Ping timeout: 255 seconds)]
<ris> FRidh: what's the workflow for the staging branch? i'm looking at integrating layus's ldap patch into what i'm doing (& tidying it up) - should i cherry-pick it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHlgR
<NixOS_GitHub> nixpkgs/master 538aa0f Vladimír Čunát: Merge branch 'staging' (early part)...
NixOS_GitHub has left #nixos []
mudri|srcf has joined #nixos
<FRidh> ris: no need anymore for cherry-picking, see the notice :)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<globin> niksnut: there is a test failing for a channel bump of 17.03, that looks like some weird stuff in the build machines' hosts (https://nix-cache.s3.amazonaws.com/log/qgcr1jy4kiajlp9hcc8f09ghpm0r6vsl-vm-test-run-misc.drv)
<ris> FRidh: ...notice?
<FRidh> ris: staging has been merged into master https://git.io/vHlgR
<LnL> staging merge \o/
<ris> FRidh: god damn i look away for a couple of hours...
<ris> im not used to working on such a fast-moving project
mudri has joined #nixos
<gchristensen> ris: the nixos community is incredibly fast
<FRidh> ris: well, it just happened the minute after you wrote to me
<ris> have to refetch master several times a day
<ris> cool
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] carlosdagos opened pull request #26240: go-jira: init at 0.1.14 (master...go-jira) https://git.io/vHl2Y
NixOS_GitHub has left #nixos []
<LnL> yeah, last time gitlab was updated before I received the announcement email from them :)
xificurC has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
ison111 has quit [(Quit: WeeChat 1.4)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
Itkovian has joined #nixos
ryanartecona has joined #nixos
acertain has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo pushed 2 new commits to master: https://git.io/vHloi
<NixOS_GitHub> nixpkgs/master 1e51fdc Edward Tjörnhammar: i2pd: disable AVX instructions
<NixOS_GitHub> nixpkgs/master 53835c9 Edward Tjörnhammar: i2pd: homepage update
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #26241: gpxsee: 4.3 -> 4.8 (master...bump/gpxsee-3.8) https://git.io/vHlo1
NixOS_GitHub has left #nixos []
CMCDragonkai has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #26242: iasl: 20130117 -> 20170303 (master...bump/iasl-20170303) https://git.io/vHlKt
NixOS_GitHub has left #nixos []
mkoenig has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #26243: update {event,fnotify,fork,smem}stat (master...bump/event-fnotify-fork-smemstat) https://git.io/vHl6w
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 2 new commits to master: https://git.io/vHl6K
<NixOS_GitHub> nixpkgs/master 9f3c2bc Kranium Gikos Mendoza: gpxsee: 4.3 -> 4.8
<NixOS_GitHub> nixpkgs/master 46bcd05 Gabriel Ebner: Merge pull request #26241 from womfoo/bump/gpxsee-3.8...
NixOS_GitHub has left #nixos []
sitwon has quit [(Ping timeout: 240 seconds)]
<Unode> It it possible to disable the test phase of packages globally? i.e. for any derivation?
<Unode> or it this something that can only be done on a per-package/derivation basis?
<pie__> any idea what i can get libcurl-gnutls.so.4 with?
<simpson> I hope it's not possible to globally disable tests. That sounds risky.
sitwon has joined #nixos
<Unode> simpson: I don't see why it shouldn't be possible.
<Unode> and yes, warranty void if you do it.
Infinisil has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
<canndrew> how to i solve this issue?.. I'm trying to build something which uses cmake and I'm getting:
<canndrew> CMake Error at /nix/store/krbsl3wh61wmqc74ad9jnhc5z6vi7fpc-cmake-3.7.2/share/cmake-3.7/Modules/FindX11.cmake:429 (message): Could not find X11
<canndrew> I'm building in a nix shell which is importing xorg.libX11 into the environment
<FRidh> Unode: recursive into sets to find derivations, and try to override them. The question is how to override them, and here the answer is that there is no generic way that works. While you could use overrideAttrs dependents might still use the previous tested version, because you would need to overide the fixed-points.
mitchty has quit [(Ping timeout: 268 seconds)]
Itkovian has quit [(Read error: Connection reset by peer)]
<Unode> FRidh: I don't understand half of the details you mentioned but I understand this to be a "maybe, with effort".
mitchty has joined #nixos
<pie__> hey guys i get this error: glxgears: relocation error: /nix/store/7crrmih8c52r8fbnqb933dxrsp44md93-glibc-2.25/lib/libdl.so.2: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
<pie__> any ideas what it means
<Unode> I'm running nix on a bit of a non-standard configuration and every now and then things fail. Mostly I assume it's caused by system/OS settings leaking and affecting the compilation.
<Unode> Tests are one such case. Some packages have tests that simply run into infinite loops taking full cpu time and are never killed unless human intervention.
<pie__> nix-env -e glxinfo and nix-env -viA nixos.pkgs.glxinfo fixed that error so was i on an old package or something?
<Unode> I've also considered using qemu to completely isolate the system but the details of how to achieve this are also non-trivial. There's runInLinuxVM but when a channel change it needs to recompile dependencies and these are usually the problem.
<Unode> pie__: as far as I understand that shouldn't happen. I've seen things like that when glibc version changes, but this should have triggered a new build/update to a newer package.
<pie__> Unode, yeah thats why i find it odd
ris has quit [(Ping timeout: 240 seconds)]
nschoe has quit [(Ping timeout: 268 seconds)]
<pie__> can i install with nix-env and pass gnuTlsSupport = true? for https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/curl/default.nix
<pie__> i figured it might be --args but idk how to use that
taktoa has quit [(Remote host closed the connection)]
CcxWrk has joined #nixos
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
* pie__ pokes clever
<pie__> do you remember how you solved the libopenal missing problem at https://botbot.me/freenode/nixos/2016-08-14/?page=4
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26238: pythonPackages.pytest-localserver: 0.3.5 -> 0.3.7 (master...fix-pytest-localserver) https://git.io/vHlRe
NixOS_GitHub has left #nixos []
<fiddlerwoaroof> Hi, I'm using nix on Mac OSX, how do I get nix-shell to setup CFLAGS, etc. properly so that I can access the temporarily installed libraries from C programs I'm working on?
Infinisil has quit [(Quit: leaving)]
dejanr_ has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
<LnL> things like that are configured automatically for buildInputs
<FRidh> fiddlerwoaroof: nix-shell -p pkg1 -p pkg2 -pkg3 will give you a shell with env vars set up. Do note that often NIX_CFLAGS_COMPILE and the likes are used instead.
<fiddlerwoaroof> So, I'm using OpenSSL and I think it uses NIX_* variables
<FRidh> why not write a nix expression?
<fiddlerwoaroof> Because i'm not sure what I need, I just started using nix a couple days ago.
mightybyte has joined #nixos
<fiddlerwoaroof> And, I wanted to avoid customizing things until I know whether there's a built-in way of doing what I want
Wizek_ has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<LnL> if you want to define a build environment for a project you generally write an expression for it
mightybyte has left #nixos []
magnetophon has joined #nixos
<pie__> im guessing this is not how im supposed to do this: nix-env -viA nixos.pkgs.curl --arg gnutlsSupport true
<disasm> has anyone looked at the role/profile structure of this repo by offlinehacker? https://github.com/xtruder/nix-profiles
acertain has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] elasticdog opened pull request #26244: vagrant: 1.9.1 -> 1.9.5 (master...vagrant) https://git.io/vHlHX
NixOS_GitHub has left #nixos []
mkoenig has joined #nixos
nadley has quit [(Ping timeout: 240 seconds)]
<fiddlerwoaroof> How do I setup the shell environment from shell.nix?
nadley has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<gchristensen> shellHook = '' echo "This code runs when the shell starts"; '';
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vHlQu
<NixOS_GitHub> nixpkgs/master 1318120 Eelco Dolstra: Fix indentation
NixOS_GitHub has left #nixos []
justanotheruser has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
spinus has joined #nixos
acertain has quit [(Ping timeout: 260 seconds)]
Tucky has quit [(Ping timeout: 268 seconds)]
<pie__> nix-env --arg doesnt seem to do anything
relrod has joined #nixos
relrod has quit [(Changing host)]
relrod has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
acertain has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] apeschar opened pull request #26246: pythonPackages.scrapy: fix 1.4.0 update (master...scrapy-fix) https://git.io/vHlFv
NixOS_GitHub has left #nixos []
cmr has quit [(Ping timeout: 240 seconds)]
magnetophon has quit [(Ping timeout: 260 seconds)]
Tekmo_ has joined #nixos
cmr has joined #nixos
cmr has quit [(Changing host)]
cmr has joined #nixos
<pie__> for some reason timestampt arent showing up for me on botbot.me and i cant navigate to something i need :/ its very frustrating...
taktoa has joined #nixos
goibhniu has quit [(Ping timeout: 246 seconds)]
andymandias has quit [(Ping timeout: 240 seconds)]
<dtzWill> hmm, I'm probably forgetting something silly but.. is there a way to access a derivation's: 1)build dep closure and/or 2)runtime dep closure, from a Nix expression?
<clever> dtzWill: the runtime closure can be see with i think its called exportReferenceGraph
<dtzWill> okay, I'll take a look ty
jensens has quit [(Ping timeout: 258 seconds)]
digitus has joined #nixos
<dtzWill> oh and looks like there are ".buildInputs" and ".nativeBuildInputs" attributes in derivations, which should help
* dtzWill looks at link, ty
<clever> that only gets you part of the inputs
<clever> if i do buildPhase = "${cmake}/bin/cmake}"; it wont be in either buildInput list
guillaum2 has quit [(Ping timeout: 246 seconds)]
CcxWrk has quit [(Read error: Connection reset by peer)]
fifo23 has joined #nixos
CcxWrk has joined #nixos
<dtzWill> indeed, bummer. although for my purposes it'd be a start. anyway I'll look through exportReferencesGraph ty :)
<Tekmo_> clever: I think you can use `builtins.toFile` on the string and then query the dependencies of the file
pop has joined #nixos
<clever> Tekmo_: but seperating the attributes on the derivation from the .passthru attributes would be tricky
<clever> there is an issue on github about allowing things like nix-store -qR to run inside builds, and be restricted to a subset of the store
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] apeschar opened pull request #26247: services.graphite: chmod -R entire dataDir (master...graphite-dataDir) https://git.io/vHlN8
NixOS_GitHub has left #nixos []
<clever> dtzWill: oh, somebody has that exact issue open: https://github.com/NixOS/nix/issues/1245
shnupta has joined #nixos
<Tekmo_> I've wanted similar functionality for building and caching `nix-shell` environments
<pop> There is a link to monitor.nixos.org on https://nixos.org/nixpkgs/ but monitor.n.o seems to be down. Yall might want to remove the link or fix monitor.n.o
<dtzWill> wonderful, ty clever
<Tekmo_> Usually I end up building and caching a `myEnvFun` derivation instead, but it sounds like people are trying to deprecate that in favor of `nix-shell`
Mateon1 has quit [(Remote host closed the connection)]
Mateon1 has joined #nixos
<shnupta> I'm just getting started with NixOS and have dual booted it. Boots fine and can log in but I need internet access to nix-os rebuild my new configuration file. iwconfig isn't installed so any recommendations on how to do this would be appreciated
Tekmo_ has quit [(Quit: leaving)]
<pop> clever: Is monitor.n.o *down* or has it just moved to a different subdomain?
<clever> shnupta: networking.wireless.enable = true; in the configuration.nix, and there is "nixos-install --chroot" on the installer, where you can then do "nixos-rebuild boot"
<clever> pop: i cant find any trace of monitor.nixos.org in https://github.com/NixOS/nixos-org-configurations so i'm not sure what happened to it
<clever> pop: could open an issue against nixos-homepage and let somebody else figure it out
<shnupta> thanks clever
shnupta has quit [(Quit: Page closed)]
<pop> clever: Sounds good. Thanks!
nevermind has joined #nixos
betaboon has joined #nixos
carlosda1 has joined #nixos
<pie__> clever, sorry, dumb question, how do i install the verion of this that will give me libcurl-gnutls? https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/curl/default.nix
<clever> pie__: gnutlsSupport has to be set to true, so you want to use .override
<clever> pie__: (curl.override { gnutlsSupport = true; })
orivej has quit [(Ping timeout: 240 seconds)]
ambro718 has joined #nixos
<pie__> clever, shouldnt this work then? nix-env -viA nixos.pkgs.curl --args gnutlsSupport true
<pie__> or am i completely misunderstanding --args
dejanr_ has quit [(Ping timeout: 246 seconds)]
<clever> pie__: --args sets arguments to the import <nixpkgs>, not the callPackage
<clever> pie__: and also, you never want to install libraries on nixos
<clever> you must add that to the buildInputs of a nix expression thats needing it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] res0nat0r opened pull request #26248: pachyderm: 1.3.0 -> 1.4.6 (master...pachyderm-1.4.6) https://git.io/vHlxG
NixOS_GitHub has left #nixos []
jgertm has joined #nixos
carlosda1 has quit [(Ping timeout: 246 seconds)]
<pie__> clever, well normally you wouldnt want to and a person doing it right wouldnt but im patchelf hacking at some binaries :/
magnetophon has joined #nixos
<clever> pie__: if your using patchelf, then include that curl in the nix expression that is setting rpath
<clever> pie__: and if you dont want a full nix expression, you can use this one i made a while ago: https://gist.github.com/cleverca22/8cae5bc9c02c12099a3bf5e20e75161f
<clever> pie__: when compiled, this creates a bash script that patchelf's things for you
<clever> just replace zlib with (curl.override { gnutlsSupport = true; })
orivej has joined #nixos
<pie__> clever, re: passing args to import, oh that makes sense...
<pie__> thanks for the pointerss
<clever> in theory, it could still be used, but it would be messy
shnupta has joined #nixos
<pie__> whats the system = for 64bit?
<clever> nix-env -iA nixos.curl --arg config '{packageOverrides = pkgs: { curl = pkgs.curl.override { gnutlsSupport=true; };}'
<shnupta> clever, my configuration file already includes the network.wireless.enable = true
<clever> pie__: if you dont set system, it defaults to the same arch as the nix you ran
<pie__> right
<clever> [ "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "mips64el-linux" "i686-cygwin" "i686-freebsd" "i686-linux" "i686-netbsd" "i686-openbsd" "x86_64-cygwin" "x86_64-darwin" "x86_64-freebsd" "x86_64-linux" "x86_64-netbsd" "x86_64-openbsd" "x86_64-solaris" ]
<clever> shnupta: do you know how to use wpa_passphrase?
<shnupta> When I try the rebuild it obviously can't resolve hostname, and no iwconfig either
<shnupta> Nope
kykim has joined #nixos
<clever> shnupta: run "wpa_passphrase <networkname> <password> >> /etc/wpa_supplicant.conf" and then restart the wpa_supplicant service in systemd
hotfuzz has joined #nixos
<clever> shnupta: that should work for most networks
<clever> shnupta: as long as they are wpa based
<clever> iwconfig can only do no-encryption and wep
<shnupta> WPA passphrase command not found
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vHlps
<NixOS_GitHub> nixpkgs/master 218c486 Vincent Laporte: fstar: fix build on darwin
NixOS_GitHub has left #nixos []
<dash> shnupta: the installer also has 'nmtui'
<clever> shnupta: does "wpa<tab><tab>" find anything?
<dash> shnupta: which lets you pick wireless stuff from a menu
hotfuzz_ has quit [(Ping timeout: 245 seconds)]
<clever> dash: but that requires switching networkmanager on and doing a nixos-rebuild, without internet
<shnupta> wpa<tab><tab> nothing
<clever> shnupta: then wireless isnt enabled in configuration.nix
<shnupta> It definitely is enabled as true what I'm looking at now
<clever> did you sucessfully nixos-rebuild after changing configuration.nix?
<shnupta> Nope, I think I'll just reinstall nixos from the live usb again but setup the config file before
<clever> if you re-run nixos-install without a format, it will do exactly what you want
Filystyn has joined #nixos
Itkovian has joined #nixos
Jackneill has quit [(Ping timeout: 268 seconds)]
orivej has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26246: pythonPackages.scrapy: fix 1.4.0 update (master...scrapy-fix) https://git.io/vHlFv
NixOS_GitHub has left #nixos []
orivej has joined #nixos
Jackneill has joined #nixos
shnupta has quit [(Ping timeout: 260 seconds)]
marsel has joined #nixos
<pie__> clever, ugh sorry for making you do my homework again, i had to / have to go do something
<pie__> your expression gives "error: syntax error, unexpected $end, at (string):1:80
<pie__> "
Filystyn has quit [(Ping timeout: 260 seconds)]
<Sonarpulse> RPATH of binary /nix/store/5w485da4y8zfxaq1l2wh0ilyylry13in-aarch64-unknown-linux-android-ghc-8.1.20170106/lib/aarch64-unknown-linux-android-ghc-8.1.20170106/bin/hsc2hs contains a forbidden reference to /tmp/nix-build-aarch64-unknown-linux-android-ghc-8.1.20170106.drv-0
<clever> pie__: can you gist a copy after you have modified it to include curl?
<Sonarpulse> is this a new check?
<clever> Sonarpulse: are you allowing the fixupPhase to run?
<pie__> clever, sorry i mean this is the oneliner
<Sonarpulse> clever: I am not
<Sonarpulse> it is borked on cross
Itkovian_ has joined #nixos
<Sonarpulse> so I had to disable
<clever> pie__: ah, i was just guessing on that one-liner, let me look closer
<Sonarpulse> but previous nothing complained
<clever> nix-env -iA nixos.curl --arg config '{packageOverrides = pkgs: { curl = pkgs.curl.override { gnutlsSupport=true; };};}'
<Sonarpulse> so I guess I got away with this stuff :D
<clever> pie__: ah, 3 { and 2 }
dfranke has quit [(Quit: Lost terminal)]
<pie__> oh lol
Itkovian has quit [(Ping timeout: 246 seconds)]
<clever> Sonarpulse: yeah, the fixupPhase should run patchelf --shrink-rpath, which gets rid of entries that are of no use to the DT_NEEDED libs
<pie__> 0.o
<pie__> error: assertion failed at /nix/store/x9fanpykw3d3y8zbkm794niklzj69gfk-nixos-17.03.1123.4a7a03913d/nixos/pkgs/tools/networking/curl/default.nix:18:1
<clever> Sonarpulse: which helps to shrink the runtime closure and clean up /tmp folders
<clever> assert !(gnutlsSupport && sslSupport);
<Sonarpulse> clever: right
<clever> pie__: ssl has to be enabled in the same override
<Sonarpulse> but fixup phase has long done that
<pie__> assert gnutlsSupport -> !sslSupport;
<pie__> right
<clever> oh wait no, disabled
<Sonarpulse> what must be new is erring if this doesn't happen
<clever> nix-env -iA nixos.curl --arg config '{packageOverrides = pkgs: { curl = pkgs.curl.override { gnutlsSupport=true; sslSupport = false; };};}'
<pie__> oh jesus error: infinite recursion encountered, at undefined position
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<clever> pie__: oh right, the stdenv uses curl for things
<clever> nix-env -iA nixos.myCurl --arg config '{packageOverrides = pkgs: { myCurl = pkgs.curl.override { gnutlsSupport=true; sslSupport = false; };};}'
<clever> just make a new curl, and leave the old one alone!
<pie__> leav oxxy alone xD
<pie__> ok thanks
<pie__> that works
shnupta has joined #nixos
<clever> the problem with this, is that nix-env doesnt save that override
<clever> so next week when you want to make a proper package, or next year when upgrading curl, you wont remember this command
<clever> and everything breaks
<shnupta> clever I'm redoing the installation from live USB but when uncommenting the lines to enable KDE I get: "attribute 'display-manager' missing at" ....
<clever> shnupta: can you upload the configuration.nix to gist?
<pie__> clever, right
<pie__> clever, i do need to start doing things properly soon
fab has joined #nixos
<pie__> there was an env var for debugging ld preload...
<clever> pie__: check the man page for ld.so
fab is now known as Guest80645
<pie__> and so i am enlightened
mudri has quit [(Ping timeout: 255 seconds)]
<pie__> no manual entry for ld.so
<clever> LD_TRACE_LOADED_OBJECTS, LD_DEBUG, LD_VERBOSE
* pie__ goes to the internet
<pie__> ah the second one
faffolter has quit [(Ping timeout: 260 seconds)]
<clever> shnupta: oh right i saw this one a week ago, your missing services.xserver.enable = true;
<clever> line 51 has to be un-commented
<pie__> im stuck on libopenal.so.1 not being accepted but ill have to fo that when i get back
mizu_no_oto has joined #nixos
andymandias has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vH8fn
<NixOS_GitHub> nixpkgs/staging ea7e54b Vladimír Čunát: libuv: 1.11.0 -> 1.12.0...
<NixOS_GitHub> nixpkgs/staging 9836570 Vladimír Čunát: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Jackneill has quit [(Read error: Connection reset by peer)]
Jackneill has joined #nixos
shnupta has quit [(Ping timeout: 260 seconds)]
<earldouglas> Where can I learn about triggering one service restart from another? I want to bounce Jenkins when Job Builder changes.
sellout- has joined #nixos
<gchristensen> probably the systemd docs
<earldouglas> But it doesn't seem to work -- I need to manually restart Jenkins to see changes.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vH8Uo
<NixOS_GitHub> nixpkgs/master cf456b9 Linus Heckemann: xonotic: fix audio...
<NixOS_GitHub> nixpkgs/master 9cbb69b Frederik Rietdijk: Merge pull request #26182 from lheckemann/xonotic-audio...
NixOS_GitHub has left #nixos []
nevermind has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
betaboon has quit [(Quit: This computer has gone to sleep)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<dtzWill> re:dependencies closure (found via use of 'builtins.genericClosure', which IIRC mentioned on issue linked when asked earlier :))
<dtzWill> that said, I feel like I should have been able to compute fixpoint w/o genericClosure but I kept doing it wrong ._.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #26251: fix electrum dependencies (master...hidapi) https://git.io/vH8tz
NixOS_GitHub has left #nixos []
arjen-jonathan has joined #nixos
MichaelRaskin has joined #nixos
ryanartecona has joined #nixos
sitwon has quit [(Ping timeout: 240 seconds)]
sitwon has joined #nixos
FRidh has quit [(Ping timeout: 240 seconds)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
hellrazor has joined #nixos
acertain has quit [(Ping timeout: 258 seconds)]
pbogdan has joined #nixos
hellrazo1 has quit [(Ping timeout: 268 seconds)]
seantparsons has joined #nixos
seanparsons has quit [(Remote host closed the connection)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
kampfschlaefer has joined #nixos
dejanr_ has joined #nixos
pbogdan has joined #nixos
mudri has joined #nixos
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
agjacome has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #26252: Upgrade the ELK stack (master...elk5) https://git.io/vH8O9
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jmitchell opened pull request #26253: haskell-modules: refactor package set (master...fix/haskell-modules-refactoring) https://git.io/vH8Od
NixOS_GitHub has left #nixos []
acertain has joined #nixos
<pop> If a package is behind the upstream release by a few releases do we add the intermediate releases as well as the latest, or just the latest?
<orbekk> Probably just the latest, unless you have a good reason to add the intermediate releases as well
<pop> Mmk. Thanks orbekk
<orbekk> (That's just my understanding)
mizu_no_oto has joined #nixos
samvher has joined #nixos
<pop> Yeah. I might make a PR that adds the in-between releases as well, see who yells at me.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] boomshroom opened pull request #26254: i3blocks: add optional dependencies for scripts (master...fix/i3block-scripts) https://git.io/vH8sB
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 5 new commits to master: https://git.io/vH8sX
<NixOS_GitHub> nixpkgs/master 1dac99b Théo Zimmermann: ocamlPackages.janeStreet package set: init at 0.9.0...
<NixOS_GitHub> nixpkgs/master 1cff070 Théo Zimmermann: ocamlPackages: remove duplicated definitions
<NixOS_GitHub> nixpkgs/master 1562201 Théo Zimmermann: ocamlPackages.janeStreet.{base,sexplib}: 0.9.0 -> 0.9.1
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
samvher has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vH8GH
<NixOS_GitHub> nixpkgs/master bc7b895 Vladimír Čunát: nvidia module: allow .persistenced == null...
NixOS_GitHub has left #nixos []
FRidh has quit [(Client Quit)]
ryanartecona has quit [(Quit: ryanartecona)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vH8Zv
<NixOS_GitHub> nixpkgs/release-17.03 7cbf7f5 Vladimír Čunát: nvidia module: allow .persistenced == null...
NixOS_GitHub has left #nixos []
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #26253: haskell-modules: refactor package set (master...fix/haskell-modules-refactoring) https://git.io/vH8Od
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
drakonis has joined #nixos
marsel has quit [(Ping timeout: 260 seconds)]
Filystyn has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
civodul has joined #nixos
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
jensens has joined #nixos
jsgrant has joined #nixos
betaboon has joined #nixos
dejanr_ has quit [(Ping timeout: 246 seconds)]
phinxy has joined #nixos
betaboon has quit [(Client Quit)]
mizu_no_oto has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vH8W0
<NixOS_GitHub> nixpkgs/master 50b0e5b Fernando J Pando: treq: 17.3.1...
<NixOS_GitHub> nixpkgs/master c6ea7d3 Frederik Rietdijk: Merge pull request #26222 from nand0p/treq-fixes...
NixOS_GitHub has left #nixos []
hotfuzz_ has joined #nixos
<jsgrant> Trying to install Servo via https://github.com/mozilla/nixpkgs-mozilla & seem to (after installing the overlay & rustChannels.nightly as-per the readme) -- something seems to be not finding the attribute 'buildRustPackages'. Any ideas?
MichaelRaskin has quit [(Ping timeout: 272 seconds)]
betaboon has joined #nixos
nevermind has joined #nixos
<drakonis> i wonder why mozilla doesn't upstream their shit
<drakonis> does it update too often or something/
<drakonis> ?
* jsgrant is wondering, because there is an "update.nix" in repo
hotfuzz has quit [(Ping timeout: 268 seconds)]
<jsgrant> Servo is getting massive pull/push request afaik though.
<gchristensen> drakonis: most of that is for "being an employee of mozilla" and isn't generally applicable for users at large
juselius has joined #nixos
<drakonis> right
<gchristensen> for people who do want it, it is easily usable
<drakonis> surprised nixos is seeing use in mozilla
* jsgrant will just try update.nix & see what happens.
<Profpatsch> jsgrant: Are you on nixpkgs unstable/master?
<jsgrant> Profpatsch: Unstable channel, but have 17.09 declared in my "sysver" if that makes a difference?
<Profpatsch> jsgrant: you mean nixos-version?
<jsgrant> Profpatsch: Yeah.
dejanr_ has joined #nixos
<Profpatsch> I’m on a master version and I get 17.09.git.ec3c999 (Hummingbird)
<drakonis> so that's funny
<jsgrant> Profpatsch: Yeah, I have it set -- because I assume that once 17.09 becomes release-branch or whatever, that my system won't automatically update till latest next unless I explicitly set it.
<drakonis> the naming convention are alphabetical animals
<Profpatsch> jsgrant: Huh, nope.
<Profpatsch> jsgrant: what does `sudo nixos-channel --list` say?
<clever> jsgrant: the only thing stateVersion controls is the version of pgsql and some sshd config
jensens has quit [(Ping timeout: 272 seconds)]
<gchristensen> clever: that should probably be documented in the configuration.nix right above it
<jsgrant> clever: Welp, okay...
<gchristensen> or, better, placed in `/nix/var/` as a file that is loaded via readFile
* jsgrant knows he needs to look into ecosystem a LOT MORE.
<clever> gchristensen: yeah, i always see people either bumping it on update (which breaks what it was meant to fix), or thinking that changing it can update everything
<gchristensen> almost no need for it to be in configuration.nix even
<gchristensen> yeah
<juselius> hi everybody
<Profpatsch> gchristensen: I didn’t even know that existed.
<gchristensen> readFile?
<jsgrant> Been doing a lot of moving & initial setting up this month, so ... next month will likely/hopefully be a lot more productive.
<Profpatsch> I haven’t touched a configuration.nix template in ages.
<LnL> I've seen a lot of people ask about it recently
Arguggi has quit [(Quit: Bye)]
<juselius> I'm trying to update virtualbox guest additions, but I get a wierd error
olejorgenb has quit [(Ping timeout: 246 seconds)]
<juselius> error: attribute ‘extend’ missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/kernel.nix:26:31
<dash> drakonis: there's a few of us mozilla employees who have seen the light ;-)
<clever> juselius: can you gist the nix files you changed?
miko___ has joined #nixos
<juselius> clever: sure. 1 min
<miko___> I try to write my private nix-expression. I currently hang at a output of "do not know how to unpack source archive /nix/store/.....zip".
olejorgenb has joined #nixos
<miko___> I have buildInputs = [ zip ];
<Profpatsch> miko___: Add unzip to the buildDepends
<clever> miko___: add unzip to the buildInputs
<Profpatsch> clever: Sniped. :)
<clever> you beat me by 1 second!
<miko___> Ah, subtile.
<drakonis> haw
<Profpatsch> miko___: since zip is a non-free algo they are in separate packages.
<drakonis> i should update gzdoom
<drakonis> its now gplv3
<drakonis> the renderer is now entirely free
<drakonis> so it can enter the regular repo
miko__ has quit [(Ping timeout: 245 seconds)]
<drakonis> gotta ask though
<drakonis> why isn't there a function to enable installing nonfree packages though nix-env in the configuration file
<drakonis> why does it need a separate file for that??
<LnL> you can use NIXPKGS_ALLOW_UNFREE=1
<clever> drakonis: by default, nixpkgs will load ~/.config/nixpkgs/config.nix, but nixos forces it to use the nixpkgs.config attrset from the nixos config, and only for the pkgs passed to configuration.nix
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<clever> juselius: yep, exactly what i helped somebody with just ~4 hours ago
<clever> juselius: line 4 replaces the entire linuxPackages attrset with a set containing only virtualboxGuestAdditions
<juselius> clever: aha!
<clever> juselius: your also importing a 2nd nixpkgs, which uses different config and can cause any number of weird things
<clever> juselius: and overrideDerivation doesnt work like that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #26223: Add `isStorePath` tests (master...isStorePath) https://git.io/vHWBJ
NixOS_GitHub has left #nixos []
acarrico has quit [(Ping timeout: 246 seconds)]
<juselius> clever: thank you! (I'm fairly new to nixos, and the documentation is not always very clear)
kykim has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<drakonis> how's RFCs right now?
<clever> juselius: overrideDerivation normally takes a function, that will return an attrset of new values, but callPackage makes an entirely new derivation
<juselius> clever: yes, I see. Thank you so much for your help!
<drakonis> what's the incoming hotness anyways
<miko___> So, I wrote my .nix file. I run it with nix-build, it creates a dir in /nix/store. It is expected that the binary is not in the path, right?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> miko___: is it saying file not found when you run the file in bin?
<miko___> clever, no, i added the patchelf line.
<miko___> It does not find libgtk-x11-2.0.so.0, tho.
<clever> ah, then you need to add gtk to the rpath
Itkovian has joined #nixos
<miko___> rpath= [ gtk ]; ?
<clever> --set-rpath for patchelf
<clever> --set-rpath ${lib.makeLibraryPath [ gtk2 ]} i think
<clever> yeah, the lib you want is in gtk2
johnramsden has joined #nixos
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Guillaum has joined #nixos
<miko___> patchelf says "... y-stdenv/setup: line 887: 7617 Aborted patchelf ... --set-rpath $somepath"
<miko___> $somepath exsists and seems to be the gtk path.
<clever> miko___: can you gist the nix expression you have?
<Guillaum> Hello there. I have an weird issue. I'm running nixos (17.04, channel up to date). When I'm looking at CPU %usage (inside top, htop), the percent is always at 0. 'time' always returns 0s for user / system time, however "total" (i.e. wall clock) is correct.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> miko___: and the full error message it gave?
<drakonis> 17.04 doesn't exist i guess?
betaboon has quit [(Quit: This computer has gone to sleep)]
<gchristensen> 17.03
<Guillaum> (yes, sorry, excuse me ;)
orivej has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #26257: Automated emacs package updates (master...emacs-updates) https://git.io/vH8Rx
NixOS_GitHub has left #nixos []
<Guillaum> (added to my issue, I have computer freeze under high load...)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #25753: Cleanup PostgreSQL for state version 17.09 (master...postgres-17.09) https://git.io/v9QmK
NixOS_GitHub has left #nixos []
<clever> Guillaum: anything interesting in dmesg?
kvz has quit [(Ping timeout: 240 seconds)]
dejanr_ has quit [(Ping timeout: 246 seconds)]
kvz has joined #nixos
<gchristensen> bachp: ping?
<Guillaum> clever: in red, I have "EDAC sbridge. ECC is disabled, could'n find mci handler."
<clever> Guillaum: doesnt sound like it would cause the timer issues
<Guillaum> clever: in bold, i have that, related to cpu clock: Measured 412402155778148 cycles TSC warp between CPUs, turning off TSC cloc
<pie__> this means the problem is that its a 32bit lib right?: error while loading shared libraries: libopenal.so.1: wrong ELF class: ELFCLASS32
<clever> Guillaum: that sounds related
<clever> pie__: yeah, you have a 32bit file in the commented out fetchurl, but a 64bit file in the src attribute
<pie__> clever, im stull uh doing things the uh wrong way, i dont actually have any idea where this file came from
<pie__> i just need to figure out how to get a 64bit openal
Infinisil has joined #nixos
<miko___> any hints? I don't understand these codes.
<clever> pie__: it should default to the same arch as the nix binary, what does this say? nix-instantiate --eval -E builtins.currentSystem
<pie__> clever, oddly enough none of the other libs complained, im on 64bit, so something else must have required this as 32
lewo has quit [(Quit: ZNC - http://znc.in)]
<pie__> i just hda it lying around my system
lewo has joined #nixos
<pie__> x86_64-linux
Itkovian has joined #nixos
<clever> pie__: what if you run ldd on the built mist file?
<pie__> clever, sorry, mist file?
<miko___> thanks so far. I'll head to bed.
<pie__> are we talking about the same thing?
<clever> pie__: the result/bin/mist made by compiling the nix expression, oh wait, thats miko___'s expression
<pie__> xD
<pie__> clever, no problem
<clever> pie__: what nix expression are you using?
<miko___> I feel like i didn't see posts.
<pie__> clever, im just trawling around /nix/store for whatever ldd wants
<clever> pie__: ah, that explains how you wound up with a 32bit version
<pie__> yeah
<Guillaum> clever: I'm finding a lot of information about this TSC, however that's pretty old and there no solution ;(
<pie__> i need to make some kind of autopatchelf one of these days
<pie__> well or osmething that generates an appropriate nix expression based on the ldd output
<clever> pie__: if you use a nix expression like this, nix will give you the correct openal
<pie__> oh
<pie__> my bad
<pie__> ok heh
<pie__> i see we are attempting similar things
<pie__> miko___, is just trying to do it right :P
Guillaum has quit [(Remote host closed the connection)]
<miko___> Oh, i didnt get that. I think im just too tiered. I'll go to bed. pie__ , make sure to post your solution ;)
<miko___> thanks so far.
miko___ has quit [(Remote host closed the connection)]
<pie__> clever, so i thought theres a "real" openal lib since the nixos packages page lists the thing as "openal alternative" i just installed that with nix-env and it iwll probably work
<clever> pie__: and you should never install libraries with nix-env
<pie__> yes i am a terrible person
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nh2 opened pull request #26258: Upgrade to python-consul-0.7.0. (master...python-consul-0.7.0) https://git.io/vH8zq
NixOS_GitHub has left #nixos []
Filystyn has quit [(Quit: Konversation terminated!)]
<pie__> \o/ "an unrecoverable error has occured and civilization vi cannot continue"
<dash> pie__: barbarian hordes from here on out i guess
<clever> that can happen when the patching isnt fully done right
<pie__> well it seems to use a skinned dialog or something so at least that works
<pie__> ive got this
<pie__> ./Civ6: /nix/store/rxahqlnfsl01gzx4k3b67l78hi4n6wdi-openssl-1.0.2k/lib/libcrypto.so.1.0.0: no version information available (required by ./Civ6)
<pie__> ./Civ6: /nix/store/amca91rr80fhnzcgbwv80w2zmzwx0qlx-curl-7.53.1/lib/libcurl-gnutls.so.4: no version information available (required by ./Civ6)
<pie__> but im not sure if thats bad
<clever> if a dialog can show, then its still loading it
<pie__> might also be missing runtime loaded libs
<pie__> because ive had something like that before
<pie__> well yeah its not in full screen mode yet
* pie__ does LD_DEBUG=all
dejanr_ has joined #nixos
<pie__> oh my poor console
<clever> :D
<pie__> this was a terrible idea haha
takle_ has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
<pie__> ok i havent the faintest clue how to debug this
cpennington has quit [(Ping timeout: 240 seconds)]
<pie__> wow why does this generate an a.out 0.o
<pie__> the heck is this
<pie__> ./a.out: error while loading shared libraries: ./a.out: unsupported version 26900 of Verneed record
<clever> weird
mizu_no_oto has joined #nixos
<pie__> thats for ldd a.out
<clever> is there a link i can download civ6 at?
<pie__> inb4 trying very hard to run a virus
justbeingglad has joined #nixos
justbeingglad has left #nixos []
johnramsden has quit [(Ping timeout: 240 seconds)]
juselius has quit [(Remote host closed the connection)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
cpennington has joined #nixos
ixxie has joined #nixos
georges-duperon has joined #nixos
<Infinisil> I just created a say command which uses the aws cli to query the Polly service, which is a very realistic speech synthesizer, using a voice i really like, it's so cool!
<pie__> on that note how do you provide a nix package for software you cant redistribute publibly?
<pie__> *publicly
<pie__> Infinisil, i think i played with that a tiny bit once \o/
<clever> pie__: requireFile
<pie__> clever, does that like, prompt you for a path or something?
<clever> pie__: it will give an error telling the user to download it in a browser, and how to add it to the store
<Infinisil> I once installed jdk6 which required me to add the downloaded file manually to the store
<Infinisil> Ohh heh
<Infinisil> Yes that
<pie__> clever, ah.
cpennington has quit [(Ping timeout: 260 seconds)]
<Infinisil> Regarding the aws stuff: While the command is called "aws", it's *not* the aws package you wanna install, it's the aws-cli package you want
<magnetophon> Infinisil: wow, I'm really impressed by the Polly demo. Especially the pitch variations are amazing!
<Infinisil> Yeah it's pretty cool, check out the voice "Justin", I really like it
<Infinisil> If you're interested I can help you set it up
shnupta has joined #nixos
solenodic has joined #nixos
<Infinisil> It took me a while to figure out everything, never used aws
<pie__> > adding really big files to store
<shnupta> Should I use networking.wireless.enable = true; or networking.networkmanager.enable = true; to be able to control the wifi on my laptop?
<clever> shnupta: depends on if you prefer wpa_supplicant or networkmanager
<magnetophon> Infinisil: Thanks! I don't have a direct use for it now, so I don't want to take your time, but if you have a link where it's explained, I'd save that for sure!
takle_ has quit [(Remote host closed the connection)]
<shnupta> Okay cheers
shnupta has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #26259: Mysql datadir changelog (master...mysql-datadir-changelog) https://git.io/vH8rw
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] diegs opened pull request #26260: terraform: 0.9.4 -> 0.9.6. (master...terraform) https://git.io/vH8rM
NixOS_GitHub has left #nixos []
<Infinisil> magnetophon: I actually don't have a use right now either, maybe I can use it to speak notifications dunno. The thing is there isn't really a single site where it's explained, basically you need: An AWS account, create an AWS user in the console with Polly full access permission, note down the access keys, then you can use the cli
<magnetophon> Infinisil: thanks!
ertes-w has quit [(Read error: Connection reset by peer)]
ryanartecona has quit [(Quit: ryanartecona)]
ertes-w has joined #nixos
riclima has joined #nixos
britt_ has joined #nixos
dejanr_ has quit [(Ping timeout: 240 seconds)]
dejanr_ has joined #nixos
britt_ has quit [(Client Quit)]
Guillaum has joined #nixos
<Guillaum> clever: just to tell you, I don't know, but after a few reboot, the issue disapears and I now have correct CPU timing reported and no freeze at all... That's weird, but well, it works.
LysergicDreams has quit [(Ping timeout: 240 seconds)]
dejanr_ has quit [(Ping timeout: 245 seconds)]
betaboon has joined #nixos
civodul has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
LysergicDreams has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zetok opened pull request #26261: i2pd: correct docs about bandwidth setting (master...i2pd-docs) https://git.io/vH86j
NixOS_GitHub has left #nixos []
mkoenig has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #26219: lib: Move fixed-point combinators out of trivial (master...lib-fix) https://git.io/vHWcx
NixOS_GitHub has left #nixos []
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
civodul has joined #nixos
riclima has joined #nixos
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
dejanr_ has joined #nixos
goibhniu has joined #nixos
ryanartecona has joined #nixos
ris has joined #nixos
britt_ has joined #nixos
Guest80645 has quit [(Remote host closed the connection)]
Guest80645 has joined #nixos
<Infinisil> Hey magnetophon (and others): I just wrote a quick tutorial about all the steps required to get up and running with Amazon Polly (speech synthesis) here: https://github.com/Infinisil/system/blob/master/polly.org
<Infinisil> It gets you from 0 to being able to create a command that says anything in any supported voice, can recommend, very lifelike
<Sonarpulse> my jobset seems stuck
<gchristensen> Sonarpulse: probably b/c staging is blowing it up
<Sonarpulse> ah
<Sonarpulse> I did to a bump to front though :D
<gchristensen> Sonarpulse: oh ... but, wait
<Sonarpulse> *do
pie__ has quit [(Ping timeout: 246 seconds)]
<gchristensen> we can't build most of those -- armv5tel-linux
<Sonarpulse> gchristensen: oh hmm!
<Sonarpulse> they should be built on linux
<Sonarpulse> cross compiled
<Sonarpulse> I fixed it so meta.platforms respected the host platfrom in that PR
<gchristensen> oh hm I'm not sure what hydra will do
<Sonarpulse> but maybe that also made mkDerivation mark it to be built on the host platform
<Sonarpulse> you're right
<Sonarpulse> hydra is confused
<Sonarpulse> any idea how its logic works?
<Sonarpulse> actually....I'll just avoid that for now
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lo1tuma opened pull request #26262: nodejs: init at 8.0.0 (master...nodejs-8.0.0) https://git.io/vH81V
NixOS_GitHub has left #nixos []
<Sonarpulse> gchristensen: reminds me I want to divorce "stdenv the dervation" from "mkDerivation"
<gchristensen> hmm seems cool
<Sonarpulse> I'm not sure the former need exist either
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vH81F
<NixOS_GitHub> nixpkgs/master 3c0114d Daiderd Jordan: sudo: 1.8.20 -> 1.8.20p1, fixes CVE-2017-1000367
NixOS_GitHub has left #nixos []
simukis has joined #nixos
pie_ has joined #nixos
ryantrinkle has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.03: https://git.io/vH8MQ
<NixOS_GitHub> nixpkgs/release-17.03 ed9cfc7 Daiderd Jordan: sudo: 1.8.20 -> 1.8.20p1, fixes CVE-2017-1000367...
NixOS_GitHub has left #nixos []
<gchristensen> <3 thank you much, LnL
<LnL> no problem :)
Sonarpulse has quit [(Ping timeout: 268 seconds)]
<Infinisil> What is this: collision between `/nix/store/96dg930zlsfiakw044z3hsp3vfwrb0dr-say' and `'
<Infinisil> I'm writing a script using let script = writeScript "say" ''blablabla''; in { environment.systemPackages = [ script ]; }
<gchristensen> a bad error message
<clever> Infinisil: it needs writeScriptBin
<gchristensen> :)
<Infinisil> Ohhh okay
<Infinisil> Thank
<LnL> yeah, that error is pretty bad
<Infinisil> Yes
<gchristensen> can you file an issue?
<clever> that script has been written, but the one in nixpkgs is behind
<LnL> gchristensen: FYI the misc i686 tests has been failing but it builds fine for me
Sonarpulse has joined #nixos
<LnL> oh n/m it just ran once
ryantrinkle has joined #nixos
<gchristensen> :/
<clever> Infinisil: ~6months ago, buildenv got rewritten to use c++ rather then perl, but the buildenv in nixpkgs hasnt been re-synced
<LnL> looking at the tested job it seemed like it has been failing for 5 days
hiratara has quit [(Ping timeout: 272 seconds)]
<gchristensen> link?
<LnL> but it should restart now with the next eval
<Infinisil> Whoaaaa, wait a minute, I could totally make irssi read out what you guys say in here using different voices for everybody (using Amazon Polly) :O
<clever> Infinisil: :D
<LnL> lol
<Infinisil> #useful
<Sonarpulse> gchristensen: got around it for now...so back to staging starving me :D
<vandenoever> Infinisil: i'm afraid i can't do that dave
hiratara has joined #nixos
<gchristensen> Sonarpulse: :P
<Infinisil> vandenoever: In case you missed it, I just wrote a small tutorial on how to get started with Polly: https://github.com/Infinisil/system/blob/master/polly.org
britt_ has quit [(Quit: Page closed)]
<vandenoever> Infinisil: cool, can it run offline?
<Infinisil> Nope, it's so advanced because it uses a huge neural network constantly improving, I'm pretty sure
acertain has quit [(Remote host closed the connection)]
<Infinisil> But you can presave anything you want it to say and use it to locally to your liking
<Infinisil> s/it to loc/it loc/g
<Infinisil> Also it's called "Amazon *Web* Services* for a reason :P
<vandenoever> the sample sounds quite good
<simpson> Because it's sticky and hard to leave, like a web?
Guest80645 has quit [(Ping timeout: 260 seconds)]
<Infinisil> simpson: Exactly!
* vandenoever is scared of Ungoliant
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Infinisil> Would a package that lives fully inside a nix file be allowed in nixpkgs?
<Infinisil> Or nix file + shell script
<Infinisil> Without external dependencies
<magnetophon> Infinisil: great, thanks!
<magnetophon> Infinisil: why wouldn't it be allowed?
<Infinisil> Dunno, but I feel like too many simple scripts would clutter it up
<zetok> it's already a mess
<magnetophon> Infinisil: personally, I'd say it should depend on how usefull that script/pkg is. Vague and subjective, I know.
<Infinisil> magnetophon: True
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<Infinisil> zetok: I feel like the other package managers packages (such as python, perl, whatever) could be moved out of the nixpkgs repository
<Infinisil> and into NixOS/pythonpkgs NixOS/perlpkgs
ertes-w has quit [(Ping timeout: 240 seconds)]
<drakonis> which version is perl?
<drakonis> 5 or 6?
nevermind has joined #nixos
<sphalerite> https://github.com/1wilkens/rdm if this ever gets anywhere it would be a nice replacement for slim
<clever> sphalerite: there is also https://github.com/taktoa/hsdm
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
<sphalerite> that looks very dormant though, as opposed to rdm which only looks slightly dormant :D
<taktoa> sphalerite: yep, it is. me and clever worked on it together a while back :P
<clever> i recently thought about cheating a bit, and doing the entire gui in textmode, then spawning X after you auth
<sphalerite> I was playing with the thought of making a slim-like greeter for lightdm
<zetok> clever: that sounds great
<sphalerite> clever: so basically startx?
<clever> sphalerite: more like getty + startx in a single binary, with no shell in the middle
<sphalerite> ah right
<zetok> startx is limited to X..
<Infinisil> What's a login manager even do actually? What's the hardest part of it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] twhitehead opened pull request #26263: TheanoWithCuda: cudnn isn't added to python environment due to use of optional with a list (master...theano-cuda-cudnn) https://git.io/vH8QS
NixOS_GitHub has left #nixos []
thc202 has quit [(Ping timeout: 246 seconds)]
<Infinisil> Well I know what it does roughly
britt_ has joined #nixos
<clever> Infinisil: basicaly, it will launch X, then connect to X and present a login screen (optionaly with shutdown/reboot buttons), and once you give valid credentials, it will drop root to that user, and execute a desktop manager
ryanartecona has quit [(Quit: ryanartecona)]
<simpson> Infinisil: The hardest part is being root, mostly. A login manager has a great deal of authority, necessarily, and it must delegate that authority carefully. (Also most programming languages don't help you write safe code as root!)
<zetok> hint: use Rust
<britt_> New to this channel. Is this an acceptable place to ask for some beginner help?
<clever> zetok: hsdm is in haskell
<clever> zetok: and the rdm that sphalerite mentioned is in rust
<simpson> zetok: Rust is a good step, in that it's (mostly) memory-safe, but I would like to look beyond to *capability*-safe languages.
<Infinisil> I see, Rust does look pretty good for that
<clever> simpson: i also recently saw an exploit in fuse, where it would automaticaly "modprobe fuse", from a setuid root binary
<Infinisil> But if memory usage doesn't have to be low, Haskell is better imo
<britt_> Trying to use the shebang nix-shell pattern with python and always getting an error despite the script executing fine when done with nix-shell -p python --run "python t.py"
<clever> simpson: but modprobe was never meant to be used in a setuid context, and obeyed env varaibles, causing an exploit
<zetok> clever: I see, didn't know about rdm
<zetok> >dbus support
<zetok> urgh
<simpson> clever: I wanted to write a FUSE-Monte bridge for reasons, but FUSE is just so terrible.
<zetok> doesn't sound appealing
<Infinisil> britt_: Can you show the script? Or a simplified version of it?
<britt_> #! /usr/bin/env nix-shell
<britt_> #! nix-shell -i python2 -p python
<britt_> print("hello")
<Infinisil> britt_: Well.. This script works for me, what's your error?
<clever> simpson: fuse passes struct's over the open file handle, to implement the api, and if you know the format, you could re-implement libfuse in any language
<simpson> clever: TYL that I'm Corbin Simpson.
<Infinisil> clever: Thanks for the link, very interesting
<britt_> Infinisil: undefined variable ‘print’
<simpson> I got about halfway done and then realized that I could be doing more meaningful things.
<clever> simpson: oh, thats your own question? heh
<Infinisil> britt_: What does nix-channel --list output?
<clever> simpson: ive also used HFuse, but that was just an ffi wrapper: https://github.com/taktoa/narfuse/blob/master/Main.hs#L268
goibhniu has quit [(Ping timeout: 260 seconds)]
ambro718 has quit [(Ping timeout: 272 seconds)]
<simpson> clever: Nice.
<clever> simpson: the idea with narfuse, was to mount a pile of uncompressed .nar files as /nix/store/, and leave them as NAR's
<clever> simpson: then ipfs could share those blobs without having any extra disk overhead
orivej has joined #nixos
<simpson> clever: Nice. I was wanting to go the other way, with Monte objects being both Plan-9-style mountable but also being able to mount-as-user some cap-safe namespace (like Tahoe-LAFS directories!)
<Infinisil> britt_: I really can't reproduce your issue, but I'm on the 17.03, maybe try switching to that and see if it works: nix-channel --add https://nixos.org/channels/nixos-17.03 nixpkgs
hiratara has quit [(Quit: ZNC - http://znc.in)]
<clever> simpson: last i was working on that, i did have a nixos container booting under systemd-nspawn, with the entire store going thru fuse
<britt_> Infinisil: will give it a try later. Need to run now. thanks for the suggestion.
<clever> simpson: at one point, i also managed to crash systemd's pid 1, and made the host unable to shutdown
<Infinisil> britt_: Look up channel switching, I don't know exactly how it works
<Infinisil> britt_: See ya!
dtulig has joined #nixos
britt_ has quit [(Quit: ChatZilla 0.9.93 [Firefox 53.0.3/20170524180630])]
hiratara has joined #nixos
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
<nixos-users-wiki> "Documentation Gaps" edited by cleverca22 https://git.io/vH8di
<nixos-users-wiki> "Documentation Gaps" edited by cleverca22 https://git.io/vH8dX
<clever> formatting was off a bit on the 1st edit
riclima has joined #nixos
dejanr_ has quit [(Ping timeout: 246 seconds)]
<Infinisil> I want a script "hacknix package|option XXX" which fetches latest master, branches off, opens the relevant files in vim with a binding for testing, and maybe a bit more
<drakonis> ha
<drakonis> time to write that
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ris has quit [()]
ris has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
<sphalerite> I'd also like that :D
Acou_Bass has joined #nixos
<drakonis> the most important thing is
<Infinisil> is..?
<drakonis> y'know
<drakonis> having more language packages
<drakonis> all of them
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26264: ammonite: 0.9.3 -> 0.9.5 (master...ammonite_0_9_5) https://git.io/vH8bF
NixOS_GitHub has left #nixos []
<Infinisil> Like from other languages package managers?
<Infinisil> Yeah that would be nice
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/vH8bp
<NixOS_GitHub> nixpkgs/release-17.03 083b2c8 Tim Steinbach: ammonite: 0.9.3 -> 0.9.5...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #26265: irrlicht: link to X11 libs explicitly (master...irrlicht-libs) https://git.io/vH8bj
NixOS_GitHub has left #nixos []
<drakonis> get as many as possible
<drakonis> or just write a system to hijack the package managers
<drakonis> but that one's prone to not playing nice
dfranke has joined #nixos
<Infinisil> Well, the package manager uses the package format, it should stay pretty constant, so in theory this should definitely be possible
takle has quit [(Remote host closed the connection)]
<Infinisil> I think it's more of a question of whether it's worth for the people knowledgable enough to invest that much time into something that may be used very sparsely
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to master: https://git.io/vH8NW
<NixOS_GitHub> nixpkgs/master b5a3630 Kranium Gikos Mendoza: eventstat: 0.03.03 -> 03.03.04
<NixOS_GitHub> nixpkgs/master 2c53d5d Kranium Gikos Mendoza: fnotifystat: 0.01.16 -> 0.01.17
<NixOS_GitHub> nixpkgs/master 87a800d Kranium Gikos Mendoza: forkstat: 0.01.16 -> 0.01.17
NixOS_GitHub has left #nixos []
<drakonis> its never sparsely
acertain has joined #nixos
Piece_Maker has joined #nixos
digitus has quit [(Quit: digitus)]
<Infinisil> I mean there's already only few people using nix, then there's even fewer using language Y, and then there's even fewer wanting to use package Z in language Y, so I guess it could be very sparsely. I think as nix grows the demand gets bigger and bigger, and eventually someone will implement it and everybodys happy :D
Acou_Bas- has joined #nixos
cpennington has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Acou_Bas- is now known as Acou_Bass
<drakonis> so few people?
<drakonis> how do you know
<dash> drakonis: there's pypi2nix, npm2nix, etc. seems to be a fruitful approach
<Infinisil> Well we don't have any numbers, but I almost never see nix mentioned online, and I browse a lot
<drakonis> where do you browse
Piece_Maker has quit [(Ping timeout: 240 seconds)]
<drakonis> dash, these just convert packages to nix
mudri has quit [(Ping timeout: 255 seconds)]
<drakonis> no straight up hijacking a package manager
<Infinisil> reddit (on all kinds of programming subs), hackernews, various blogs, random occasional site
<ris> the language-package-manager approaches are fundamentally very different from what nixpkgs does
<drakonis> reddit isn't a benchmark really
<ris> in language-package-managers, the author is the king, and as such the whole thing is like the wild west
<drakonis> HN and reddit are like magpies
<Infinisil> drakonis: Yeah I don't know, got anything better?
<drakonis> lobsters seems good?
<ris> because most authors are not good maintainers
<ris> they a) only care about the latest version of stuff
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26242: iasl: 20130117 -> 20170303 (master...bump/iasl-20170303) https://git.io/vHlKt
NixOS_GitHub has left #nixos []
<ris> b) don't care much about playing nicely with other stuff
<Sonarpulse> zimbatm: sorry I think I missed your last comment before
<Sonarpulse> scrolling back, you were hoping to take a look at that RFC draft tonight?
<ris> you only have to look at left pad to see what fun language package managers are like
<drakonis> leftpad heh
<drakonis> rfc drafts huh
<drakonis> nix seems popular enough to get rfcs
<ris> a distribution (like nixpkgs) is just that - a *distribution* - a set of packages that have been deemed to play relatively nicely with each other
<drakonis> nixos seems like the next big distro outside of the major two
<drakonis> fedora and debian
<ris> you can't rely on authors to do that
<dash> drakonis: don't you mean arch though
<drakonis> course not
<drakonis> arch is trash~
<drakonis> off into the trash can it goes
<Infinisil> Alright, let's say I'm creating my own package manager and intend on using nix for that, what would I do? (I'm actually curious). I guess I'd create my own langpkgs repo with expressions similar to nixpkgs, right?
<dash> drakonis: "good" and "popular" usually don't go together
<drakonis> hmm, are you forking nix for that
<dash> Infinisil: that's one choice yep
<drakonis> arch is popular with the "i feel special for typing commands on the terminal" crowd
<drakonis> its a pretty big lie tbh
<drakonis> its not minimal
<dash> drakonis: you were talking abut popularity though
<drakonis> hmm
<Infinisil> I feel like arch is like a stateful nix and messy to deal with because of that
<drakonis> consider taking a look at the bsds
<ris> ahhhh gentoo i used to love it
<drakonis> the ~inspiration~ for arch and gentoo
<drakonis> gentoo is also overrated
<Infinisil> I can't be mad at arch though, they're wiki is very good and helped me a lot
<Infinisil> s/they're/their
<drakonis> arch's wiki is the only benefit from putting up with arch people
<dash> Infinisil: good ideas and bad code build communities
mkoenig has quit [(Ping timeout: 260 seconds)]
<drakonis> dash, see freebsd
<Infinisil> dash: Similar to C, now that I think about it xD
<drakonis> excellent code but it isn't the hottest thing
<drakonis> not the most popular thing although it is actually gaining momentum with the recent linux things
<Infinisil> Alright I'm off, should've been sleeping for a while
cpennington has quit [(Ping timeout: 272 seconds)]
<drakonis> aight
Infinisil has quit [(Quit: ZZzzz.... <BOOM!>)]
<drakonis> i feel like trying haskell
<drakonis> it seems like fun
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<drakonis> only it is a shame that haskell doesn't have algebra libraries as good as the ones on python
<drakonis> despite being much more of a interesting language to use
<sphalerite> Does it really not?
<sphalerite> That surprises me
<sphalerite> By algebra libraries, you mean stuff like sympy?
<drakonis> there was a state of the union document
<drakonis> yes
mudri has joined #nixos
markus1189 has joined #nixos
ris has quit [(Ping timeout: 245 seconds)]
<drakonis> its not very good yet
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26247: services.graphite: chmod -R entire dataDir (master...graphite-dataDir) https://git.io/vHlN8
NixOS_GitHub has left #nixos []
markus1219 has quit [(Ping timeout: 260 seconds)]
markus1209 has quit [(Ping timeout: 268 seconds)]
mkoenig has joined #nixos
markus1199 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26248: pachyderm: 1.3.0 -> 1.4.6 (master...pachyderm-1.4.6) https://git.io/vHlxG
NixOS_GitHub has left #nixos []
betaboon has quit [(Quit: This computer has gone to sleep)]
slyfox has quit [(Ping timeout: 245 seconds)]
cpennington has joined #nixos
kampfschlaefer has quit [(Ping timeout: 245 seconds)]
ertes has joined #nixos
<drakonis> https://github.com/NixOS/rfcs deez b gud
<drakonis> let's be honest though, not many distros do this
<simpson> Sure they do. They just don't do it exactly the same way.
<drakonis> not this openly i guess?
<simpson> Looks pretty open to me.
<drakonis> i said not many
<drakonis> i suppose that includes fedora and debian in it
<drakonis> wait a minute
<drakonis> this is just packages
Rotaerk has joined #nixos
<pikajude> yeah, i couldn't say arch is particularly good
<pikajude> although it's better for steam than nixos is
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] res0nat0r opened pull request #26266: init: json-server-0.10.1 (master...json-server-0.10.1) https://git.io/vH8hl
NixOS_GitHub has left #nixos []
<drakonis> it is great for everything else
<drakonis> also caves of qud works
<drakonis> i hae no qualms with steam on nixos
<pikajude> i can't get most games to work on linux anyway
<pikajude> despite how much i liked using nixos on the desktop
cpennington has quit [(Ping timeout: 260 seconds)]
<dash> nixos installer starts a game by default! it's great
nevermind has quit [(Quit: Textual IRC Client: www.textualapp.com)]
slyfox has joined #nixos
<drakonis> does it
<pikajude> yes, it's called "watch the progress bar"
ryanartecona has joined #nixos
<pikajude> david cage's latest masterpiece
<dash> drakonis: rogue
<drakonis> rogue is great.
<pikajude> which? Rogue One?
sellout- has quit [(Quit: Leaving.)]
slyfox has quit [(Ping timeout: 246 seconds)]
ryantrinkle has quit [(Ping timeout: 246 seconds)]
<drakonis> no
<drakonis> rogue
<drakonis> as in the game
<pikajude> rogue: a star wars?
<dash> pikajude: don't be terrible
<pikajude> ok, fine
slyfox has joined #nixos