gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<{^_^}> [nixpkgs] @dtzWill opened pull request #55607 → gexiv2: 0.10.9 -> 0.10.10 → https://git.io/fhQuw
yokyolu has joined #nixos
<yokyolu> how do i override somethnig in .env?
<{^_^}> [nixpkgs] @dtzWill opened pull request #55608 → gnome-chess: 3.30.0 -> 3.30.1 → https://git.io/fhQur
Ariakenom has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #55609 → evolution-data-server: 3.30.4 -> 3.30.5 → https://git.io/fhQuo
<{^_^}> [nixpkgs] @dotlambda closed pull request #55472 → nheko: 0.6.2 -> 0.6.3 → https://git.io/fhHoL
Ariakenom has joined #nixos
<yokyolu> i want to put an environment variable into .env set
<{^_^}> [nixpkgs] @dtzWill opened pull request #55610 → epiphany: 3.30.2 -> 3.30.3 → https://git.io/fhQuK
Ariakenom_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dotlambda reopened pull request #55472 → nheko: 0.6.2 -> 0.6.3 → https://git.io/fhHoL
<yokyolu> but whatever i do is ignored
<yokyolu> im clearly not getting something
<{^_^}> [nixpkgs] @dtzWill opened pull request #55611 → gnome-documents: 3.30.0 -> 3.30.1 → https://git.io/fhQui
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @dtzWill opened pull request #55612 → evolution: 3.30.4 -> 3.30.5 → https://git.io/fhQuP
<{^_^}> [nixpkgs] @dotlambda merged pull request #55472 → nheko: 0.6.2 -> 0.6.3 → https://git.io/fhHoL
<{^_^}> [nixpkgs] @dotlambda pushed to master « nheko: add meta.homepage (#55472) »: https://git.io/fhQu1
<NemesisD> i'm trying to build a docker image with nix that includes the compiled executables of my package. i can boot into nix-shell and cabal new-build my package fine, but if i set contents = [ (hpkgs.callPackage hpkgs.my-package {}) ], i get "Can't find source for Main in exec"
<{^_^}> [nixpkgs] @dtzWill merged pull request #55175 → iosevka-bin: 2.0.2 -> 2.1.0 → https://git.io/fhSSK
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhQuM
<NemesisD> is nix trying to *compile* my project *inside* of docker?
<{^_^}> [nixpkgs] @dtzWill merged pull request #55166 → bison: 3.3.1 -> 3.3.2 → https://git.io/fhSDM
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhQuD
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dtzWill merged pull request #55334 → curl: 7.63.0 -> 7.64.0 → https://git.io/fh9wU
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhQuy
<clever> yokyolu: all args to the original drv are also in the .env, so overrideCabal could maybe be used
<clever> yokyolu: ah dang, its the args passed to shellFor, not mkDerivation
<clever> yokyolu: your only choice is to .overrideAttrs the .env
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<yokyolu> clever: first of all, thank you for being here
yurb has joined #nixos
<pie___> clever, whats the appropriate way to dealwith these cdll calls? https://github.com/WikidPad/WikidPad/blob/WikidPad-2-3-rc02/lib/pwiki/SqliteThin3.py#L94 AFAIU by browsing the python source they just use dlopen
<yokyolu> clever: second... i did .overrideAttrs already, it sets the arg to the derivation but not to .env
<pie___> i tried nix-shell -p sqlite and adding sqlite to buildInputs. if thats the correct method it must be an unrelated issue then.
<yokyolu> clever: in the end i'd like to use it in the shell
<clever> yokyolu: you will need to override the .env directly, as in the example i gave
<clever> pie___: you need to add sqlite's lib folder to LD_LIBRARY_PATH
<yokyolu> clever: oh, i seee
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #55613 → libidn2: 2.1.0 -> 2.1.1 → https://git.io/fhQud
johnnyfive has quit [Quit: I quit now.]
<{^_^}> [nixpkgs] @dtzWill opened pull request #55614 → kdeFrameworks: 5.54.0 -> 5.55.0 → https://git.io/fhQuN
<pie___> clever, oh right, (propagated)buildInputs only affects linking right?
<pie___> s/linking/compilation stuff/
<clever> pie___: (propagated)buildInputs just magically adds to the buildInputs of other derivations, and nothing more
<pie___> clever, i dont understand anything about anything ;~;
<clever> the problem with python and other scripting languages, is that you cant patchelf the python binary
<pie___> sure
<clever> because what you have to patchelf into it, depends on what .py file you ran
<clever> so you need to wrapProgram the script with LD_LIBRARY_PATH to work around that
<{^_^}> [nixpkgs] @hhm0 opened pull request #55615 → cdimgtools: init at 0.3, libdvdcss12: init at 1.2.13, perlPackages.DataHexdumper: init at 3.001 → https://git.io/fhQux
doyougnu has joined #nixos
<pie___> clever, thislook right?: https://bpaste.net/show/90821f5121c1
<clever> > "${sqlite}/lib"
<{^_^}> "/nix/store/gn8f4aqc171mslnw40sahpqnlfr964a9-sqlite-3.26.0-bin/lib"
<clever> pie___: not really
<clever> > lib.makeLibraryPath [ sqlite ]
<{^_^}> "/nix/store/axfb6sc0jfd4w2qkj48mjn59hlpqpqmh-sqlite-3.26.0/lib"
<clever> pie___: split outputs can make things more tricky, but luckily, there is a helper for this
<pie___> yeah i just checked it manually and thats /lib doesnt exist x3
<pie___> clever, thanks....
<pie___> clever, damn, it runs properly now.
<yokyolu> clever: that works
<yokyolu> follow up question
ottidmes has quit [Ping timeout: 268 seconds]
<yokyolu> where in .env are the haskellBuildInputs are stored?
<yokyolu> are they even there?
<Shados> It's rather depressing that I am having significant trouble getting a rebuild to complete because the system "only" has ~1.5GB of RAM >.>.
eadwu has joined #nixos
<clever> yokyolu: its inside a let block, and only ever passed to withPackages, so you cant really access it
<clever> Shados: do you have access to another machine with nix(os)?
emily has joined #nixos
nDuff has quit [Quit: zzz]
emily is now known as Guest22571
<clever> Shados: `nixos-rebuild dry-run` should show a drv path at the very end, run `nix-copy-closure --to root@remotebox /nix/store/thatfile.drv`, then on the remote box, `nix-store -r /nix/store/thatfile.drv` to build it elsewhere
<clever> and when its done, nix-copy-closure the result back the other way
<Shados> clever: Yeah. In this case the reason the rebuild is having trouble is because overcommit is disabled on this system (for a good reason), and I can work-around it by temporarily allowing overcommit for the rebuild, but it's still annoying. I wish software were actually written to handle memory sanely -_-'.
Guest22571 has quit [Client Quit]
emily__ has joined #nixos
sinner has joined #nixos
emily__ has quit [Client Quit]
emily has joined #nixos
sinner is now known as Guest43885
ryantrinkle has joined #nixos
emily is now known as Guest35520
Guest35520 has quit [Client Quit]
emily__ has joined #nixos
emily__ has quit [Client Quit]
emily has joined #nixos
Guest83842 has quit [Ping timeout: 272 seconds]
jb55 has joined #nixos
<abbafei[m]> hi does anyone know why my nixpkgs pulls [here](https://github.com/NixOS/nixpkgs/pull/55367) and [here](https://github.com/NixOS/nixpkgs/pull/55141) have not had any activity done on them although they are a few days old? it seems like most other pulls this old have had at least some kind of activity on them.
<{^_^}> #55367 (by hhm0, 4 days ago, open): toybox: init at 0.7.8
<{^_^}> #55141 (by hhm0, 1 week ago, open): rtl8821ce: init at 5.2.5_1.26055.20180108
yuken has left #nixos ["Leaving"]
<dckc> So... I'm kinda winning... I've got all 5 parts of this java web app building and deployed in wildfly. I'm using a systemd dynamic user. I hope my deployment platform has those.
winem_ has joined #nixos
ibxth has joined #nixos
<dckc> I see systemd-219-62.el7.x86_64.rpm in a centos 7 package mirror. ugh. the features I'm using were introduced in 235 (http://0pointer.net/blog/dynamic-users-with-systemd.html)
<NemesisD> how does one feed a haskell package to dockerTools.buildImage such that the build executables are available on the path? putting the package in the contents list results in "can't find source for Main in exec", which makes it seem like its trying to compile the project within docker
<abbafei[m]> also, is the title of [this pull](https://github.com/NixOS/nixpkgs/pull/55615) formatted correctly?
<{^_^}> #55615 (by hhm0, 24 minutes ago, open): cdimgtools: init at 0.3, libdvdcss12: init at 1.2.13, perlPackages.DataHexdumper: init at 3.001
<abbafei[m]> (i.e. will grahamcofborg bot pick up its packages and tag it)
<yokyolu> clever: so there's no way to know what packages are in the derivation?
<clever> yokyolu: not easily
<yokyolu> clever: that much i figured
<{^_^}> [nixpkgs] @matthewbauer closed pull request #53668 → clang_{5,6,7}: add --sysroot argument pointing to gcc toolchain prefix → https://git.io/fhZTu
<yokyolu> clever: any ideas off the top your head?
<clever> yokyolu: run ghc-pkg list?
<yokyolu> within an .overridAttrs?
<clever> yokyolu: not really possible to get the list at the nix level i think
<yokyolu> clever: oh... time to give up and go to bed then :)
<yokyolu> clever: thanks
* dckc looks around; finds some good reasons to be wary of DynamicUser
* dckc heads out...
<NemesisD> what does callPackage even do
<clever> ,callPackage NemesisD
<{^_^}> NemesisD: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<clever> it will automatically figure out what args the file/function wants, and pass them from the right set
<yokyolu> ,env
winem_ has quit [Ping timeout: 250 seconds]
<NemesisD> hmm
joedevivo has joined #nixos
nand0p has joined #nixos
valwal has joined #nixos
heatm1s3r has joined #nixos
mpickering has joined #nixos
wedens has joined #nixos
eddyb has joined #nixos
adulteratedjedi has joined #nixos
nkaretnikov has joined #nixos
sorear has joined #nixos
angerman has joined #nixos
elvishjerricco has joined #nixos
tazjin has joined #nixos
manveru has joined #nixos
marcinkuzminski has joined #nixos
<clever> its getting late here, i should head off to bed
dongcarl has joined #nixos
georgyo has joined #nixos
gonz_ has joined #nixos
georgew has joined #nixos
ancarda has joined #nixos
ryantrinkle has quit [Ping timeout: 250 seconds]
htoc^ has quit []
<NemesisD> lmao i was forgetting to add my executable source directory to my callCabal2nix.
hphs^ has joined #nixos
fusion809 has quit [Quit: Leaving]
yokyolu has quit [Ping timeout: 268 seconds]
pinkypie has joined #nixos
IslandUsurper has joined #nixos
Vskilet has joined #nixos
jak[m]1 has joined #nixos
ejpcmac has joined #nixos
WilliamHamilton[ has joined #nixos
craige[m] has joined #nixos
Ariakenom has quit [Quit: Leaving]
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
dramforever has joined #nixos
rcshm has quit [Client Quit]
andi- has joined #nixos
rcshm has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55610 → epiphany: 3.30.2 -> 3.30.3 → https://git.io/fhQuK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhQzy
revtintin has joined #nixos
rcshm has quit [Client Quit]
rummik has joined #nixos
mikeplus64 has joined #nixos
NinjaTrappeur has joined #nixos
yorick has joined #nixos
vk3wtf has joined #nixos
benley has joined #nixos
hexa- has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhQzh
pinkypie has quit [Ping timeout: 246 seconds]
rcshm has joined #nixos
<noonien> hello folks
<noonien> can i pass a list of sets to a builder in a derivation?
xkapastel has quit [Quit: Connection closed for inactivity]
<noonien> to a builder shell
Denommus has quit [Ping timeout: 246 seconds]
<john3[m]> How reliable is nixos as workstation?
ryantrinkle has joined #nixos
jluttine has quit [Ping timeout: 268 seconds]
<noonien> how would you define "reliable"?
<gchristensen> ie: what do you care about
<simpson> john3[m]: It is my most reliable.
<john3[m]> I mean to work each day in a work environment as a main desktop....
<samueldr> my personal machines and work machine are all running NixOS
<gchristensen> same
dbmikus__ has joined #nixos
<samueldr> and personally, though I might be biased, wouldn't switch to anything else, at least, nothing not built upon the same ideas and foundations
<noonien> nixos is not like other distros, you get to configure almost everything of it. so it's as stable as you make it
jluttine has joined #nixos
<noonien> that being said, i use it as nixos on my workstation as well
<noonien> s/it as /
<john3[m]> Ok thanks. Basically I need a secure workstation (dell laptop) and the usual web browsing, email client, ssh to the servers, git, etc and with the features of nixos
<noonien> i've installed nixos for the first time last week. i have setup an encrypted root, with zfs on top. i've never had either, and it was pretty easy as a nixos newb
<john3[m]> yes exactly something like that. Thanks noonien
<noonien> i've packaged my own software as well, it's super easy. i've done this on debian before, and it was not easy to say the least
<john3[m]> I guess it does not support appimage
aleph- has quit [Ping timeout: 244 seconds]
<noonien> the one i tried didn't work, however, there's a chance an app you're looking for is already in the nix store
Rusty1 has joined #nixos
silver has quit [Read error: Connection reset by peer]
camsbury has quit [Remote host closed the connection]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @fpletz merged pull request #55024 → airsonic: Add virtualHost option to set up nginx virtual host → https://git.io/fhyQZ
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhQgG
ng0 has quit [Quit: Alexa, when is the end of world?]
ibxth has quit [Read error: Connection reset by peer]
ibxth has joined #nixos
<{^_^}> [nixpkgs] @samueldr closed pull request #46074 → nixos-artwork: Keeps new wallpaper compatible with old path. → https://git.io/fARql
o1lo01ol1o has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
<abbafei[m]> is there something wrong with these nixpkgs pulls of mine ([here](https://github.com/NixOS/nixpkgs/pull/55367) and [here](https://github.com/NixOS/nixpkgs/pull/55141))? There has been no response on them, which seems unusual compared to usual response times.
<{^_^}> #55367 (by hhm0, 5 days ago, open): toybox: init at 0.7.8
<{^_^}> #55141 (by hhm0, 1 week ago, open): rtl8821ce: init at 5.2.5_1.26055.20180108
doyougnu has quit [Ping timeout: 272 seconds]
<samueldr> ,pr
<{^_^}> 0. Sorry. 1. If you complain about PR being in limbo, always provide a number («I have an unmerged PR (#23924)…»), bot will print PR title and it might bring you an impulse-merge. 2. Please look up who commits similar work and ping these people (or request-review), keeping up with all the PRs is not really possible.
<samueldr> point "0" here being the most important :/
doyougnu has joined #nixos
rcshm has quit []
acarrico has quit [Ping timeout: 268 seconds]
DrLambda has joined #nixos
<noonien> how would one send a list of sets to a builder for it to iterate on?
<{^_^}> [nixpkgs] @samueldr merged pull request #55141 → rtl8821ce: init at 5.2.5_1.26055.20180108 → https://git.io/fhSXz
<{^_^}> [nixpkgs] @samueldr pushed 3 commits to master: https://git.io/fhQga
<samueldr> dang it, saw it after the merge: abbafei[m] there was a thing to fix :/ ideally the merges would have been squashed together
<abbafei[m]> @samueldr got it tysm! :-)
<samueldr> sorry, the commits would have :)
<samueldr> (though the changes looked fine in that one)
<samueldr> what's B"H ?
ibxth has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<abbafei[m]> @samueldr it's Baruch Hashem, a hebrew expression meaning "thank G-d". I am in the habit of prefixing my commits with it :-)
<gchristensen> fun to know! feel free to squash in the future :)
<averell> why is there no - in B"H? or is that not literal?
dramforever has quit [Ping timeout: 268 seconds]
marusich has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/168cbb39691 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<abbafei[m]> averell: that's not literal :-)
<bpye> Hey, I saw this note "Currently, NixOS containers are not perfectly isolated from the host system. This means that a user with root access to the container can do things that affect the host. So you should not give container root access to untrusted users.", are the specific holes documented anywhere?
<bpye> Or is it the general, Linux containers aren't a security boundary concern
suspicious-egg has joined #nixos
suspicious-egg has left #nixos [#nixos]
<averell> nixos-container is just a small wrapper script around systemd-nspawn
CcxWrk has quit [Ping timeout: 250 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
fusion809 has joined #nixos
CcxWrk has joined #nixos
work_ has joined #nixos
<{^_^}> [nixpkgs] @zachcoyle opened pull request #55618 → gnu-cobol: enable on darwin → https://git.io/fhQ2R
rcshm has joined #nixos
doyougnu has quit [Ping timeout: 246 seconds]
eadwu has quit [Quit: WeeChat 2.3]
mvnetbiz74 has joined #nixos
mvnetbiz has quit [Ping timeout: 250 seconds]
counting1ort has joined #nixos
countingsort has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/168cbb39691 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
pie__ has joined #nixos
pie___ has quit [Ping timeout: 250 seconds]
<rcshm> i tried installing arangodb but i do not see how i can start or use it on nixos. is there a pointer to the instruction?
<rcshm> {startup} caught exception during prepare of feature 'Logger': cannot write file
<rcshm> thanks for yor help.
MinceR has quit [Ping timeout: 250 seconds]
fusion809 has quit [Remote host closed the connection]
MinceR has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55619 → ninja: patch to fix w/musl, see upstream issue → https://git.io/fhQ2b
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55620 → pantheon.elementary-icon-theme: 5.0.2 -> 5.0.3 → https://git.io/fhQ2h
<{^_^}> [nixpkgs] @dtzWill opened pull request #55621 → feh: 3.1.1 -> 3.1.2 → https://git.io/fhQ2j
alex_giusi_tiri has joined #nixos
rcshm has quit []
doyougnu has joined #nixos
<ivan> what's the point of services.grafana.security.adminPasswordFile if it just goes into a systemd unit that anyone can read
drakonis has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @mt-caret opened pull request #55622 → yanone-kaffeesatz: init at 2004 → https://git.io/fhQaL
<bpye> ivan: I would guess it's still helpful if your config is in version control?
<ivan> I see
Shados has quit [Quit: Shados]
dbmikus__ has quit [Ping timeout: 252 seconds]
dustinm has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
cufisz has quit [Ping timeout: 256 seconds]
dustinm has joined #nixos
ivan has joined #nixos
reinhardt has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 2.3]
o1lo01ol1o has joined #nixos
alex`` has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
reinhardt has quit [Quit: Leaving]
doyougnu has quit [Ping timeout: 250 seconds]
fusion809 has quit [Ping timeout: 240 seconds]
pie_ has quit [Ping timeout: 256 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
noonien has quit [Quit: Connection closed for inactivity]
rcshm has joined #nixos
vk3wtf has quit [Ping timeout: 250 seconds]
dustinm has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
leungbk has joined #nixos
<leungbk> how can i install ripgrep with pcre2 support?
<leungbk> `nix-env -i ripgrep --arg withPCRE2 true`
<leungbk> does not seem to do it
dustinm has joined #nixos
ivan has joined #nixos
palo1 has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/168cbb39691 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
jackdk has quit [Ping timeout: 250 seconds]
iqubic has quit [Ping timeout: 268 seconds]
rcshm has quit []
<{^_^}> [nixpkgs] @etu closed pull request #55576 → rtl-sdr: Move udev rules → https://git.io/fhQ8A
zemm has quit [Ping timeout: 246 seconds]
zemm has joined #nixos
Shados has joined #nixos
amosbird_ is now known as amosbird
work_ has quit [Quit: Connection closed for inactivity]
copumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
witchof01 has quit [Quit: WeeChat 2.2]
<alex_giusi_tiri> leungbk: I don't think it would work like that, as far as I know. I think you would need to edit the nix package for ripgrep, or install an overlay or such, which provides pcre2 support...
witchof0x20 has joined #nixos
<leungbk> @alex_giusi_tiri thanks!
<leungbk> actually, the package definition does have some options for this, so i'm hoping it's simply a matter of me not passing the right args
alex`` has quit [Ping timeout: 246 seconds]
<alex_giusi_tiri> is this the package you're after?: https://github.com/BurntSushi/ripgrep
vk3wtf has joined #nixos
<leungbk> @alex_giusi_tiri yes, i'm looking at the package def in ${NIX_ROOT}/pkgs/tools/text/ripgrep/default.nix
<leungbk> in the nix repo
<alex_giusi_tiri> there is this effort, Spack, that I once stumbled upon, which allows specifying compilation flags and such directly on the command line, without any file for a definition, but, as far as I can tell, nix uses .nix files to describe packages, so I think that editing the .nix file is the only way... either directly and running `nixos-rebuild` or (I haven't tried this yet) using a overaly... so I don't think it would work to pass
<alex_giusi_tiri> env...
<leungbk> i see, thank you!
<alex_giusi_tiri> so there has to be something in the .nix file to add/change/edit to add support for pcre2
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
reinhardt has joined #nixos
reinhardt has quit [Remote host closed the connection]
reinhardt has joined #nixos
<alex_giusi_tiri> it thing it could be a matter of just adding pcre2 to the first list of args, and to buildInputs
<leungbk> okay, i'll check it out
rprije has quit [Remote host closed the connection]
[Leary] has joined #nixos
alex`` has joined #nixos
Lears has quit [Ping timeout: 240 seconds]
chimay has joined #nixos
slyfox_ has joined #nixos
Makaveli7 has joined #nixos
slyfox has quit [Ping timeout: 246 seconds]
gagbo has quit [Ping timeout: 240 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has quit [Ping timeout: 245 seconds]
ddellacosta has quit [Ping timeout: 250 seconds]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55624 → xapian: 1.4.9 -> 1.4.10 → https://git.io/fhQVG
juliendehos has joined #nixos
alex``` has joined #nixos
alex`` has quit [Ping timeout: 246 seconds]
Tucky has joined #nixos
alex``` has quit [Ping timeout: 245 seconds]
jasongrossman has joined #nixos
<alex_giusi_tiri> leungbk: I got somthing: you would need to add <cargoBuildFlags = ["--features 'pcre2'"];>. However it tells me that "error: Package `ripgrep v0.9.0 (file:///build/source)` does not have these features: `pcre2`"...
johanot has joined #nixos
<alex_giusi_tiri> I think version 0.9.0 does not have it; maybe the master branch does
rauno has joined #nixos
leungbk has quit [Ping timeout: 240 seconds]
dramforever has joined #nixos
revtintin has quit [Quit: WeeChat 2.3]
ottidmes has joined #nixos
gagbo has joined #nixos
<srhb> Looks like 0.10.0 and forwards
<srhb> alex_giusi_tiri: 0.10.0 is in unstable fwiw.
rprije has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #55625 → docker: 18.09.1 -> 18.09.2 → https://git.io/fhQVD
zupo has joined #nixos
Makaveli7 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @cresh opened pull request #55626 → squirrel-sql: Add MSSQL driver. → https://git.io/fhQV5
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #55627 → Backports: docker 18.09.0 -> 18.09.2 → https://git.io/fhQVd
eddyb has quit [Changing host]
eddyb has joined #nixos
eddyb has joined #nixos
__monty__ has joined #nixos
<ottidmes> hmm, this is unfortunate:
<ottidmes> > isFunction builtins.fetchurl
<{^_^}> true
<ottidmes> > functionArgs builtins.fetchurl
<{^_^}> 'functionArgs' requires a function, at /var/lib/nixbot/nixpkgs/master/repo/lib/trivial.nix:290:42
<srhb> ottidmes: This is true for all builtin functions, right?
<ottidmes> seems so, would have been awesome if it would have returned it though, I mean Nix should know this information, the error is also misleading this way
civodul has joined #nixos
<srhb> ottidmes: I think it's an oversight, builtins.isFunction initially reported false for builtins too.
dermetfan has joined #nixos
obfusk_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
brandon_ has joined #nixos
obfusk has joined #nixos
<ottidmes> srhb: tryEval also fails to capture that error, so I cannot have my little program allow passing fetcher functions without going through a more complicated route (since we don't have a builtin for function pointer checking, which I kinda get, but still annoying that I cannot check, requires yet more workarounds)
winem_ has joined #nixos
bbarker_home has quit [Ping timeout: 245 seconds]
<spacekitteh[m]> can someone please merge this: https://github.com/NixOS/nixpkgs/pull/54991
<{^_^}> #54991 (by FlorianFranzen, 1 week ago, open): sc2-headless: 3.17 -> 4.7.1
<srhb> ottidmes: Yeah, it would be nice to get it fixed. It might be relatively simple.
nikivi has quit [Quit: ZNC is awesome]
<{^_^}> [nixpkgs] @srhb merged pull request #54991 → sc2-headless: 3.17 -> 4.7.1 → https://git.io/fhyfB
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhQwT
<spacekitteh[m]> srhb: thanks <3
<srhb> spacekitteh[m]: Sure thing :)
nikivi has joined #nixos
gagbo has quit [Ping timeout: 272 seconds]
agander has joined #nixos
<spacekitteh[m]> now to add the maps :B
Makaveli7 has joined #nixos
<srhb> spacekitteh[m]: Yeah! :-)
<spacekitteh[m]> I'm using nixos to develop my sc2 bot :D
<{^_^}> [nixpkgs] @flokli merged pull request #55566 → zoom-us: don't set dontPatchELF → https://git.io/fhQGp
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhQwL
goibhniu has joined #nixos
Makaveli7 has quit [Client Quit]
__Sander__ has joined #nixos
<sphalerite> I'm confused. When I run a terminal from i3, it has dmenu at the beginning of its $PATH. i3 itself doesn't, and I don't see any config that would lead to that. Any ideas why this would happen?
obadz has quit [Quit: WeeChat 2.3]
Glider_IRC_ has joined #nixos
obadz has joined #nixos
<LnL> maybe dmenu has a wrapper that adds $out/bin to path?
<dramforever> maybe your shell got the PATH from ~/.bashrc
knupfer has joined #nixos
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #nixos
johanot has quit [Ping timeout: 244 seconds]
Glider_IRC__ has quit [Ping timeout: 246 seconds]
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55628 → openblas: fix config breakage introduced for configs using 'false' → https://git.io/fhQwl
<Taneb> What could cause .drv files in the nix store being blanked?
kleisli has quit [Ping timeout: 245 seconds]
<srhb> Taneb: Being blanked = It used to have contents, but now it doesn't?
<Taneb> Yeah
<Taneb> Might be due to crashes caused by PCI errors
<srhb> FS corruption does seem a likely candidate for investigation.
<ottidmes> that is the only syntax thing that still gets me sometimes in Nix, that the `or` keyword is non-greedy, I expect it to behave like if/then/else, yet I have to wrap the right-hand side
<siers> if I need an older curl for a ruby gem, then if I don't want to fix upstream or use a fork right now, I should pin a nixpkgs and get only curl from that?
<srhb> siers: curl might be a fast and small enough builds that you can just override it for that specific gem.
<srhb> (Though I don't know if that's feasible in the ruby ecosystem)
e-user has joined #nixos
<siers> right, but I get it through an older nixpkgs?
<siers> I think it should be feasable
<srhb> siers: I mean, you can, but you'll probably increase your closure size by quite a bit by doing so.
<dramforever> I think srhb meant that you just get the file for the old curl
<srhb> siers: Instead I'd probably consider doing let oldCurl = pkgs.curl.overrideAttrs ( ... ); in pkgs.callPackage yourGem { curl = oldCurl; }
<dramforever> and build it with up-to-date dependencies from the rest of nixpkgs
<srhb> siers: That way, most of your dependency tree is intact.
<siers> oh, the specific compiled version's tarball? oh overrides
<siers> yeah, that sounds good! I'll try that :)
<srhb> siers: Bringing in an entire nixpkgs tree for just curl will mean all curls deps are pulled in. It might be totally feasible :)
balsoft has joined #nixos
<siers> So I'd just override the version, sha/rev or source URL?
<Taneb> srhb: is there something I can run to find these corrupted .drv files and fix or remove them?
stigo has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dtzWill closed pull request #55165 → binutils: 2.31.1 -> 2.32 → https://git.io/fhSDE
Makaveli7 has quit [Quit: Leaving]
stigo has joined #nixos
hyper_ch2 has joined #nixos
<dramforever> Taneb: something like nix-store --verify-path /nix/store/*.drv should find them
<srhb> you might need to use find and -exec if your store is reasonably large, but yeah :)
<{^_^}> [nixpkgs] @nlewo merged pull request #55589 → nixos/dockerPreloader: guard the entire implemetation with mkIf on image list → https://git.io/fhQ0z
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fhQw6
<Taneb> dramforever: srhb: thanks
<srhb> And if you have broken drvs, I'd suspect you have broken otherthings as well.
<srhb> So --verify --check-contents --repair might be in order.
<siers> srhb, Are you sure about overrideAttrs? Wouldn't a pkgs.callPackage oldPkgs.curl {} be easier and would achieve the same thing?
<{^_^}> [nixpkgs] @spacekitteh opened pull request #55629 → Add maps to SC2 → https://git.io/fhQwD
<srhb> siers: It is not the same thing. using oldPkgs (assuming this is an entire nixpkgs instantiation) would mean all of curls deps are those of oldPkgs, not of pkgs.
thc202 has joined #nixos
<hyper_ch2> question: in Grub I have several previous generations. How can I find out which config files in /nix/store belong to a given generation?
<srhb> siers: Using oldCurl = pkgs.curl.overrideAttrs ..., curls deps are that of your current pkgs.
<siers> srhb, But curl derivation is a function, which gets deps handed down. So the callPackage from the newPkgs would hand it new deps, no?
knupfer has quit [Remote host closed the connection]
<srhb> siers: Oh, yes.
<siers> So I got it right?
<srhb> siers: I believe so. :) The only difference is that the expression itself might have changed.
<siers> Okay, but what would I have to write in place of the elipsis if I wanted to do it your way?
<srhb> siers: pkgs.curl.overrideAttrs (_: { src = fetchSomeOldCurlSource; })
<spacekitteh[m]> srhb: generally, how long between nixpkgs/master and being available on -unstable?
<siers> ah
<srhb> spacekitteh[m]: It depends on the general health of master and hydra itself. Currently we've been lagging by only a few days for a few weeks or so
<siers> srhb, thanks, I'll try to fix it nao
<srhb> spacekitteh[m]: Before that we had several weeks of delay. It varies a lot.
<srhb> spacekitteh[m]: http://howoldis.herokuapp.com/ has the current overview
<spacekitteh[m]> nice! when i first started using it it was like... yeah, about 3 weeks
<srhb> spacekitteh[m]: Yeah, it's hard to say something about the general trend.
<spacekitteh[m]> oh col
<spacekitteh[m]> cool
<srhb> spacekitteh[m]: Here's the channel history: https://channels.nix.gsc.io/nixos-unstable/
<sphalerite> LnL: dmenu isn't involved at all, it's just i3 running st
<sphalerite> dramforever: nope, nothing in the bashrc
<spacekitteh[m]> oh neat
nschoe has joined #nixos
johanot has joined #nixos
knupfer has joined #nixos
kleisli has joined #nixos
balsoft has quit [Quit: Konversation terminated!]
balsoft has joined #nixos
<steveeJ> is this the correct way of marking something broken on darwin? `broken = if stdenv.isDarwin then true else false;`
<tilpner> steveeJ: Why not broken = stdenv.isDarwin?
random_yanek has quit [Ping timeout: 245 seconds]
Kakky has joined #nixos
<steveeJ> tilpner: that sacrifices readability to me, but I was more wondering if maybe there's an array which lists brokenness per architecture or so.
balsoft has quit [Client Quit]
jasongrossman has quit [Ping timeout: 246 seconds]
balsoft has joined #nixos
sigmundv has joined #nixos
<steveeJ> tilpner: I'll go with your suggestion anyway as you're more used to reading the nixpkgs codebase
<tilpner> Not that I know. And there are 60 hits for "broken = stdenv", and just 1 for "broken = if"
knupfer has quit [Remote host closed the connection]
<spacekitteh[m]> how can i provide a password to fetchzip?
<tilpner> I don't see an easy way to do that
<tilpner> (And the hard way is technically cheating: Override the unzip arg to fetchzip with a wrapped unzip that provides the password argument)
<hyper_ch2> hmmmm, I just geneatred a new geneartion with nixos-rebuild boot --> so it's not active yet. How could I view the actual generated config files for this generation?
<spacekitteh[m]> tilpner: bah
<srhb> hyper_ch2: You mean like /etc ? cd into the nixos-system-hostname-ver store path and start exploring.
<LnL> sphalerite: oh, you didn't start the xterm with dmenu?
<hyper_ch2> srhb: ah, thanks
<sphalerite> LnL: no, I just have a binding for `exec st`
<tilpner> spacekitteh[m]: You could also use fetchurl and do the unzipping yourself in postFetch
<{^_^}> [nixpkgs] @markuskowa opened pull request #55630 → rdma-core: 22 -> 22.1 → https://git.io/fhQrn
* spacekitteh[m] cries
* tilpner tried
johanot has quit [Ping timeout: 268 seconds]
lawlesseel has joined #nixos
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55632 → libuv: 1.24.1 -> 1.26.0 → https://git.io/fhQrB
ThatDocsLady has joined #nixos
knupfer has joined #nixos
<tilpner> spacekitteh[m]: (fetchzip { url = http://localhost:8000/foo.zip; sha256 = "0yg8xvc1rw0aarx625hkfk72f71bm9ksnh1iikpmxdlha2l2mv81"; }).overrideAttrs(o: { UNZIP = "-P foo"; })
<tilpner> That works
<siers> srhb, do you have ideas how to skip patches?
ThatDocsLady has quit [Client Quit]
<spacekitteh[m]> tilpner: cheers, but i was just about to submit a PR to add a password parameter in fetchzip itself :)
<siers> srhb, sorry, never mind
jasongrossman has joined #nixos
Jetien__ has joined #nixos
<siers> hm, no that is indeed curl that is trying to patch itself
<{^_^}> [nixpkgs] @vbgl opened pull request #55633 → alt-ergo: 2.2.0 -> 2.3.0 → https://git.io/fhQry
balsoft has quit [Ping timeout: 250 seconds]
<srhb> siers: What's up?
ubert has joined #nixos
<siers> well, I overrideAttrs'ed the src and the name, but some patches are failing. I can't see where they're defined in the source
<srhb> siers: Which rev?
<siers> I actually haven't investigated updating the gem
johanot has joined #nixos
<srhb> siers: I can't tell from that what your nixpkgs rev is :)
<siers> oh, sorry - that rev :) I'm on 18.09
winem_ has quit [Ping timeout: 268 seconds]
<srhb> siers: nix edit nixpkgs.curl
<srhb> siers: You'll see patches = [ ...
<siers> whoa
<siers> I must've messed up the revs when looking at github
<siers> yes, I did
<srhb> siers: nix edit helps a lot by being in sync always..
<siers> anyhow, that's a cool command!
<srhb> siers: in overrideAttrs, you can manipulate the patches attr.
balsoft has joined #nixos
<tilpner> spacekitteh[m]: That's of course the proper solution. You can still use the overrideAttrs until your PR reaches whatever channel you're using though (or overlay it locally, even better)
knupfer has quit [Ping timeout: 272 seconds]
<spacekitteh[m]> tilpner: It actualy looks more complicated to do than I first though so I just created an issue
nD5Xjz has quit [Ping timeout: 245 seconds]
<siers> srhb, nice!
<tilpner> spacekitteh[m]: Because of unpackFile?
<spacekitteh[m]> yep
rauno has quit [Ping timeout: 240 seconds]
rauno has joined #nixos
rycwo has joined #nixos
ckauhaus_ is now known as ckauhaus
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #55634 → imagemagickBig: mark as broken → https://git.io/fhQo0
<clefru> srhb: wow, nix edit is awesome. Didn't know it exists!
tmaekawa has joined #nixos
Jetien__ has quit [Quit: Leaving]
nD5Xjz has joined #nixos
Jetien has joined #nixos
<srhb> clefru: It's even more awesome if you're using a local nixpkgs checkout instead of channels :)
Kakky has quit [Remote host closed the connection]
<siers> qyliss, you said it's easy to add new ruby versions -- it doesn't seem so, unless I have my own checkout. :(
fendor has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/36f31600749 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
tmaekawa has quit [Quit: tmaekawa]
<siers> how do I default a value as an expression? so if x is null then default, else x
<clever> > let f = { a ? 5 }: a; in f {}
<{^_^}> 5
<clever> > let x = null; in if x == null then 5 else x
<{^_^}> 5
<clever> let x = {}; in x.y or 5
<clever> >let x = {}; in x.y or 5
<clever> > let x = {}; in x.y or 5
<{^_^}> 5
<clever> siers: which you use, depends on the situation your in
<siers> I think or would suite me
<clever> or also doesnt check for null, but rather, the attr missing entirely
<clever> > let x = { y = null; }; in x.y or 5
<{^_^}> null
<siers> ah!
<siers> that's an interesting syntactical feature
<siers> though I did indeed need to default in case it's not present in a set, so that works!
<{^_^}> [nixpkgs] @dotlambda merged pull request #55601 → cerbot: 0.30.2 -> 0.31.0 → https://git.io/fhQuq
<{^_^}> [nixpkgs] @dotlambda pushed commit from @dtzWill to master « certbot: 0.30.2 -> 0.31.0 (#55601) »: https://git.io/fhQoN
Kakky has joined #nixos
<siers> isn't this very odd? https://clbin.com/WUEFv it wants hash 00000 instead of the real one, which it complained about earlier
Yaniel has quit [Excess Flood]
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
Yaniel has joined #nixos
<ottidmes> siers: in the new hash mismatch error the hashes are swapped, the "wanted" and "got" are a bit ambiguous, I agree
<clever> wanted is what you put into the nix expr
random_yanek has joined #nixos
<clever> got is what it actually downloaded
<ottidmes> yep, but why I find it a bit ambiguous is that its also fair to interpret it as "wanted to get hash X from you, but got hash Y from you", but the meaning here is "wanted to get hash X from the download, but got hash Y from the download"
<ottidmes> from you = what you passed the fetcher
<clever> i tend to always pick the hash that has more entropy
<clever> so if you have a string of 000's, its the wrong one
<clever> and i use replace mode in my editor to 0 out a few digits, any time i change a rev
<ottidmes> lol, yeah, in that case it should be obvious
<siers> if it will build I will by very amazed
<siers> I have no hopes
<infinisil> Imagine sombody happens to find an all-0 sha265 hash by chance
<__monty__> Why do the pandoc and cat calls in this expression generate files with different hashes every time it's evaluated? http://ix.io/1AQ6
<gchristensen> __monty__: use diffoscope to find out? :)
ub has joined #nixos
<clever> __monty__: ${src}/${input} is the problem
<clever> __monty__: you are converting src to a string too early, so its based on the hash of the entire ./. without filtering
<clever> you want ${src + "/${input}"}
ubert has quit [Ping timeout: 244 seconds]
<clever> which is now based on the hash of that 1 file
alex``` has joined #nixos
Makaveli7 has quit [Quit: Leaving]
silver has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
rprije has quit [Ping timeout: 244 seconds]
Kakky has quit [Quit: Leaving]
davidak has joined #nixos
init_6 has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #55635 → neovim: add standalone module to configure it → https://git.io/fhQKw
eadwu has joined #nixos
eadwu has quit [Client Quit]
agander has quit [Ping timeout: 272 seconds]
ub has quit [Quit: Leaving]
ubert has joined #nixos
<__monty__> clever: Hmm, when I do that I get an error and I can't figure it out: `error: invalid character ' ' in name 'Chapter 1 - Grey days at Farnfoss.odt'` Why would it work with ${src}/${input} but not ${src + "/${input}"}?
<__monty__> Also, I don't get why that'd get a different stable hash tbh.
<clever> __monty__: ${src} names it after the directory that ./. is in, but bases the hash on the entire contents of ./.
<clever> __monty__: ${src + "/${input}"} is identical to ./file.odt, so it names it after that file
<clever> but if that file has spaces in its name...
<__monty__> Why are spaces so problematic?
<clever> nix doesnt allow spaces in the top-level names within /nix/store/
<clever> i think the only solution is to use filterSource that targets 1 file in the dir
<clever> so you get /nix/store/foo/Chapter 1 - Grey days at Farnfoss.odt
<__monty__> Also, why does src = ./. work but './${input}' or '././${input}' doesn't?
dramforever has quit [Ping timeout: 250 seconds]
<clever> ./. at a nix level, is a special value of type path, and when you try to treat it as a string, it magically turns into /nix/store/hash-name
<clever> input is just the name of a file, and nix wont know to copy it, so you must append it to a path like ./.
<clever> __monty__: the singleOut function here takes a dir like ./. and a path like input, and produces a /nix/store/foo/Chapter 1 - Grey days at Farnfoss.odt
<srhb> builtins.path can also be nice for these things.
<clever> siers: but likely wont allow spaces still
<clever> srhb: ^^
<srhb> clever: Right, but it allows you to trivially set the name of the store path.
hphs^ has quit []
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8568f68e612 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hcs^ has joined #nixos
<__monty__> I expected less of a headache writing a simple nix expression tbh o.o
<clever> __monty__: the spaces are the worst part of it, ive done far more complicated things involving 5000 page pdf files and converting it to csv
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fhQ6n
<__monty__> I'm trying builtins.path. Should I collect all the odts in one store path or split them up, any guideline on whether to split things up?
<clever> __monty__: splitting them up will prevent unnessesary rebuilds
<clever> each .md will depend on exactly 1 .odt, and only rebuild when it has to
dermetfan has quit [Ping timeout: 268 seconds]
mbrock has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @adisbladis pushed 9 commits to staging-18.09: https://git.io/fhQ6w
<{^_^}> [nixpkgs] @adisbladis merged pull request #53375 → Backport nodejs from #53270 → https://git.io/fhYFf
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @siers opened pull request #55636 → ruby: export generic builder → https://git.io/fhQ6i
dermetfan has joined #nixos
stigo has quit [Quit: WeeChat 2.2]
fendor has quit [Quit: Leaving]
Makaveli7 has quit [Quit: Leaving]
<__monty__> Does nix have pattern matching? (chNum, chTitle) = [ "num" "title" ]?
stigo has joined #nixos
<__monty__> intermediateList = ...; chNum = builtins.head intermediateList; chTitle = head (tail intermediateList); is a bit cumbersome.
<ottidmes> __monty__: only for attrsets as function arguments
<__monty__> So no way to assign groups from a builtins.match to names easily?
<ottidmes> __monty__: probably by zipping it to some names and then using the attrset as usual
kreisys has joined #nixos
stigo has quit [Quit: WeeChat 2.2]
<ottidmes> > listToAttrs (zipListsWith nameValuePair [ "chNum" "chTitle" ] [ "num" "title" ]);
<{^_^}> error: syntax error, unexpected ';', expecting ')', at (string):218:81
<{^_^}> [nixpkgs] @edolstra merged pull request #55153 → libpqxx: 6.2.5 -> 6.3.1 → https://git.io/fhSMq
<{^_^}> [nixpkgs] @edolstra pushed 3 commits to master: https://git.io/fhQ6S
<ottidmes> > deepVal (listToAttrs (zipListsWith nameValuePair [ "chNum" "chTitle" ] [ "num" "title" ]))
<{^_^}> undefined variable 'deepVal' at (string):218:1
<ottidmes> > deepEval (listToAttrs (zipListsWith nameValuePair [ "chNum" "chTitle" ] [ "num" "title" ]))
<{^_^}> { chNum = "num"; chTitle = "title"; }
<{^_^}> [nixpkgs] @edolstra merged pull request #55600 → dhcpcd: 7.0.8 -> 7.1.1 → https://git.io/fhQuT
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to staging: https://git.io/fhQ69
Ariakenom has quit [Read error: Connection reset by peer]
seku has joined #nixos
Ariakenom has joined #nixos
zupo has quit [Ping timeout: 244 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @peti pushed commit from @guibou to master « ghc-8.6.3: use system `libffi` »: https://git.io/fhQ6h
acarrico has joined #nixos
stigo has joined #nixos
Glider_IRC_ has quit [Remote host closed the connection]
Glider_IRC_ has joined #nixos
hcs^ has quit [Read error: Connection reset by peer]
hcs^ has joined #nixos
hcs^ has quit [Max SendQ exceeded]
hcs^ has joined #nixos
jtojnar has quit [Quit: jtojnar]
hcs^ has quit [Max SendQ exceeded]
marusich has quit [Remote host closed the connection]
stites has quit [Quit: ZNC 1.7.1 - https://znc.in]
<__monty__> No way to map over a string? I just want a string of ='s as long as another string.
hcs^ has joined #nixos
hcs^ has quit [Max SendQ exceeded]
hcs^ has joined #nixos
hcs^ has quit [Max SendQ exceeded]
hcs^ has joined #nixos
hcs^ has quit [Max SendQ exceeded]
stites has joined #nixos
pie_ has joined #nixos
<pie_> calling an expression with nix-build with -p instead of -E by accident, like with nix-build -v -p 'with import <nixpkgs> {}; callPackage ./wikidpad.nix {}' leads to an unhelpful error message https://bpaste.net/show/acb5462d2788 "builder for '/nix/store/7afp7p85m8l6by5q0as45d6yj37wzg2p-shell.drv' failed to produce output path '/nix/store/nkavskhrmdgdcn6r084ly1bkf5zkh5pq-shell'"
agander has joined #nixos
<clever> pie_: note, -p already imports nixpkgs for you
<clever> nix-shell -p 'callPackage ./foo.nix {}'
<pie_> clever: hm
<pie_> nice
<pie_> clever: that gives me the same error#
<pie_> err
<pie_> nix-shell or nix-build
<clever> this is the code behind -p
<clever> it dynamically jams your list of packages into the buildInputs of a runCommand
<clever> and the runCommand will run "" to build $out (it will never work)
nD5Xjz has quit [Ping timeout: 245 seconds]
<pie_> thanks i will look at that
<clever> builder for '/nix/store/n0c2pbp0xsrfcj3z6fa02998plsnaf6s-shell.drv' failed to produce output path '/nix/store/zhvllv84l8dcldw1m7h5sapa9nj3ypj9-shell'
<clever> and the error makes perfect sense
<clever> "" does nothing, so of course it doesnt make $out
knupfer has joined #nixos
<clever> the problem, is that nix-build and nix-shell are the same binary
nD5Xjz has joined #nixos
<pie_> clever: i got my wiki stuff to build, i have no idea what was causing the segfault but i mmust have been doing something wrong
<clever> pie_: i typically enable this on my machines, which makes it easy to get backtraces
<pie_> thanks
<__monty__> Why is there builtins.foldl' but no foldr?
sinner has joined #nixos
sinner is now known as Guest11902
seku has quit [Remote host closed the connection]
Guest43885 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #55625 → docker: 18.09.1 -> 18.09.2 → https://git.io/fhQVD
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @srhb to master « docker: 18.09.1 -> 18.09.2 »: https://git.io/fhQi5
bbarker2 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #55627 → Backports: docker 18.09.0 -> 18.09.2 → https://git.io/fhQVd
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-18.09: https://git.io/fhQiF
<bbarker2> I seem to be having trouble using shellHooks that are in the nixpkgs collection; for instance, if I do nix-shell -p wireshark, I'd expect to see this environment variable set in the resulting shell: https://github.com/NixOS/nixpkgs-channels/blob/nixos-18.09/pkgs/applications/networking/sniffers/wireshark/default.nix#L96
<bbarker2> but, it isn't
<clever> bbarker2: shellHook only runs with -A, not -p
<bbarker2> ah
<clever> -p instead runs the setup-hook files
<clever> and the env var you pointed out, makes sense only for -A
<clever> -p gives you a pre-built copy of wireshark in /nix/store/, so you dont need that env var
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « flashplayer: 32.0.0.114 -> 32.0.0.142 »: https://git.io/fhQPv
<clever> -A gives you an env suitable for building it, and your expected to then run it from the "wrong" place, so it needs the var
<ottidmes> there really should be a FAQ on and bot entry about this distinction, have seen many people asking about nix-shell that came down to this
<davidak> Does someone use Xfce and can try to reproduce this issue? https://github.com/NixOS/nixpkgs/issues/37769
<{^_^}> #37769 (by davidak, 46 weeks ago, open): screenfetch: xfconf-query missing
<{^_^}> [nixpkgs] @dtzWill opened pull request #55638 → intel-media-driver: 18.4.0 -> 18.4.1 → https://git.io/fhQPk
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « flashplayer: 32.0.0.114 -> 32.0.0.142 »: https://git.io/fhQPL
<bbarker2> clever, so if I understand correctly, we have to install and possibly build many dependencies just to pull in some environment variables in the nix-shell environment?
<clever> bbarker2: why do you want that env var set?, what are you trying to do?
rauno has quit [Ping timeout: 246 seconds]
<bbarker2> clever, i was just using wireshark as an example I found; in the actual package i'm working on, there's an environment variable that needs to be set for it to run correctly
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fhQPC
<{^_^}> [nixpkgs] @dtzWill merged pull request #55604 → agave: 008 -> 009 → https://git.io/fhQuE
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhQPW
<clever> bbarker2: then that package should be using wrapProgram to ensure its always set
<bbarker2> clever, thanks, I'll take a look
akaWolf has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill merged pull request #55020 → mpfr: 4.0.1 -> 4.0.2 → https://git.io/fhyHy
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhQP0
<attente[m]> is there no more firefox nightly in the mozilla nixpkgs overlay?
asymmetric has joined #nixos
<asymmetric> is there a way to get the version of packages via `nix search`?
<duairc> Does anyone know why e, o, u and t are the characters omitted from Nix's base32 implementation?
knupfer has quit [Remote host closed the connection]
<duairc> I know it's kind of arbitrary which ones you exclude, but those ones seem like odd choices
knupfer has joined #nixos
random_yanek has quit [Read error: No route to host]
lawlesseel has quit [Remote host closed the connection]
lawlesseel has joined #nixos
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
ng0 has joined #nixos
<duairc> They're all on the top row of a qwerty keyboard layout, all separated by one key?
* duairc shrugs
gagbo has joined #nixos
random_yanek has joined #nixos
copumpkin has joined #nixos
<clever> duairc: part of it may be a font reason, oO0
Acou_Bass has quit [Ping timeout: 244 seconds]
<duairc> Well I guess o and 0 could be confused, but then why not exclude one of 1 or l?
<duairc> I know it's not important, I just had to implement it there myself for something and it's wrecking my head for some reason thinking about it!
Acou_Bass has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<clever> duairc: there is a string in the nix source, with the entire series of chars it uses
<clever> and there is the nix-hash command, which can convert both ways
<duairc> Yeah, that's where I got it from
fusion809 has joined #nixos
<srhb> I think you'll have to ask Eelco, if he remembers. :P
<duairc> Haha, fair enough
<srhb> d58a11e019813902b6c4547ca61a127938b2cc20 for reference :P
<srhb> (Jan 14 2005)
<Taneb> Heh, I was wondering that the other week
knupfer has joined #nixos
ryantrinkle has quit [Ping timeout: 268 seconds]
<srhb> gchristensen has claimed it's harder to spell profanities with this alphabet in the past. (This is not a challenge)
yokyolu has joined #nixos
<duairc> :D
<duairc> That's hilarious, thanks :)
<gchristensen> that is what the thesis says, srhb!
<srhb> Does it? I was just looking and couldn't find it :D
<elvishjerricco> srhb: Huh, that commit refers to "radix-32 format", but a google reveals nothing
<gchristensen> yep
<srhb> elvishjerricco: Also known as base-32?
<elvishjerricco> oh
<elvishjerricco> thought "radix" might mean something special
fendor has joined #nixos
Acou_Bass has quit [Ping timeout: 250 seconds]
<srhb> elvishjerricco: I think they're used synonymously, but maybe that's more common in EU-land. :)
<gchristensen> https://nixos.org/~eelco/pubs/phd-thesis.pdf srhb search for "abcdf" (no e)
<srhb> gchristensen: Ah snap, I was looking at the 2004 paper
<srhb> Thanks!
<srhb> duairc: ^
<duairc> Great, thanks! That's pretty funny, it makes sense too
dermetfan has quit [Ping timeout: 245 seconds]
hsrt^ has joined #nixos
Acou_Bass has joined #nixos
<srhb> Oh wow, I think I've completely missed reading the PhD thesis actually, looking at it now..
akaWolf has joined #nixos
<gchristensen> srhb: it is so good!
<srhb> I read the others, so I expect as much. :) Something to look forward to.
<{^_^}> [nixpkgs] @copumpkin merged pull request #55350 → chromedriver: 2.43 -> 2.46 → https://git.io/fh9ik
<{^_^}> [nixpkgs] @copumpkin pushed 2 commits to master: https://git.io/fhQXL
<bbarker2> davidak, i didn't seem to have the issue (posted on on the issue)
<Taneb> The Haskell package set is broadly based on stackage lts, right?
<davidak> bbarker2 thanks. then it was fixed in the meantime :)
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
init_6 has quit [Ping timeout: 244 seconds]
mvnetbiz7479 has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed 2 commits to release-18.09: https://git.io/fhQXd
mvnetbiz74 has quit [Ping timeout: 246 seconds]
<elvishjerricco> Taneb: Essentially. Plus all the non-stackage packages at their latest versions
drakonis has joined #nixos
<elvishjerricco> So about 3/4 IIRC is uncurated
<bbarker2> is it possible to call makeWrapper from a shell script. e.g. want to use it in a script referenced like: postInstall = builtins.readFile ./postInstall.sh; ?
uvnikita has joined #nixos
uvnikita has quit [Client Quit]
uvnikita has joined #nixos
uvnikita has quit [Client Quit]
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @yorickvP opened pull request #55640 → alacritty: 0.2.6 -> 0.2.9 → https://git.io/fhQ1E
endformationage has joined #nixos
knupfer has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
dermetfan has joined #nixos
<bbarker2> alternatively, how does one escape an * in a nix expression?
<gchristensen> how do you want to use it?
<gchristensen> I've never had the need to escape a *
<bbarker2> e.g. for wf in ${WRAP_FILES[*]}
ikitat has joined #nixos
<bbarker2> (in a postInstall string)
<gchristensen> that is a bash expression, not Nix -- so it'd be part of a string. if you had ''foo${WRAP_FILES[*]}'' you'd do: ''foo''${WRAP_FILES[*]}''
<clever> related, there was a bug in nixpkgs a while back, where an escaped string was moved from a '' to a " string, but it was also behind an if statement
<clever> so it turned into a nix var reference, and didnt fail because the if bypassed it 90% of the time
danielrf has joined #nixos
knupfer has quit [Ping timeout: 272 seconds]
fusion809 has quit [Remote host closed the connection]
<gchristensen> > ''foo''${WRAP_FILES[*]}''
<{^_^}> "foo${WRAP_FILES[*]}"
fusion809 has joined #nixos
waleee has joined #nixos
<bbarker2> ah, have to escape the $:, thanks - tricky
<simpson> https://github.com/NixOS/nixpkgs/pull/55182 has grown quite a bit. I appear to have implicated Haskell and Agda packages somehow even though I'm working within the Python subsystem.
afics has quit [Quit: afics]
<{^_^}> #55182 (by MostAwesomeDude, 1 week ago, open): PyPy: Update interpreter, unbreak many packages
tmaekawa has joined #nixos
alex``` has quit [Ping timeout: 268 seconds]
agander has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8611e758a5f (from 41 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
fusion809 has quit [Remote host closed the connection]
camsbury has joined #nixos
tmaekawa has quit [Ping timeout: 246 seconds]
reinhardt has quit [Quit: Leaving]
ng0 has quit [Quit: Alexa, when is the end of world?]
<bbarker2> so I'm trying to use wrapProgram but getting a complaint that it can't be found, can anyone see why that might be? https://github.com/bbarker/nixpkgs/blob/eb39b25b4242bebbe57f784e4175601940a0819f/pkgs/development/compilers/ats/default.nix
<{^_^}> [nixpkgs] @Moredread opened pull request #55641 → slic3r-prusa3d: 1.41.2 -> 1.41.3 → https://git.io/fhQM3
<clever> bbarker2: you need to add makeWrapper to your nativeBuildIputs
<clever> nativeBuildInputs
<bbarker2> oh, so some examples of that but didn't know what it was for, thanks
agander has joined #nixos
lawlesseel has quit [Remote host closed the connection]
lawlesseel has joined #nixos
Tucky has quit [Quit: WeeChat 2.2]
<simpson> Ah, got it; GHC wants Sphinx and Python 3 for some reason, and I've touched something on Sphinx's dependency path. Hilarious!
fusion809 has joined #nixos
Jetien_ has joined #nixos
timor has joined #nixos
Jetien has quit [Ping timeout: 250 seconds]
<Taneb> elvishjerricco: frustratingly, the LTS for GHC 8.6 contains an old version of a library which I'd very much like the new version for
<elvishjerricco> Taneb: Shouldn't be hard to update it
<Taneb> You mean, in the LTS?
<Taneb> Or locally?
<Taneb> I know I can do it locally, it's just slightly more administration headache, you know?
Jetien_ has quit [Remote host closed the connection]
Jetien_ has joined #nixos
afics has joined #nixos
rauno has joined #nixos
Makaveli7 has joined #nixos
<Ankhers> If I want to nix-build something from my own git checkout of nixpkgs, what is the command again?
rauno has quit [Remote host closed the connection]
<tilpner> Ankhers: cd dev/nixpkgs; nix-build -A hello
fusion809 has quit [Read error: Connection reset by peer]
kleisli has quit [Quit: Communi 3.5.0 - http://communi.github.com]
<Ankhers> tilpner: Sorry, I have a default.nix file that I want to build against my own checkout.
<ottidmes> Ankhers: nix-build --expr 'with import <nixpkgs> { }; callPackage ./. { }' -I nixpkgs=/path/to/checkout
knupfer has joined #nixos
<Ankhers> ottidmes: Thanks!
fusion809 has joined #nixos
bbarker2 has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
dbmikus__ has joined #nixos
yokyolu has quit [Remote host closed the connection]
pinkypie has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55643 → qtractor: 0.6.7 -> 0.9.4 → https://git.io/fhQDi
<das_j> clever: Do you still have the kexec stuff laying around?
<{^_^}> [nixpkgs] @dtzWill opened pull request #55644 → ladspa-sdk: 1.13 -> 1.15 → https://git.io/fhQDy
<das_j> Yes, thank you!
<das_j> So this reboots me into a tmpfs nixos?
ryantrinkle has joined #nixos
<tilpner> It doesn't reboot, it loads a kernel and then switches to it with magic
<das_j> That's just what I need
<das_j> so I can just install NixOS from there when I have no other disks?
<tilpner> You can use this to format/partition the disks you started it from, yes
<das_j> Nice, thank you!
<das_j> That should help me get my Hetzner Cloud machine running
<__monty__> Hmm, can't figure out where (38,19) I'm coercing a list to a string: http://ix.io/1ARP
<__monty__> Or I think I do, in the antiquotation.
<__monty__> But adding toString I get cannot coerce a built-in function to a string.
<clever> __monty__: what line# does it say the error is on?
<__monty__> 40,13 exactly where the toString starts.
<LnL> I think intersperse returns a list
<clever> > lib.intersperse "," [ "a" "b" "c" ]
<{^_^}> [ "a" "," "b" "," "c" ]
<clever> it does
<clever> > lib.concatStringsSep "," [ "a" "b" "c" ]
<{^_^}> "a,b,c"
<LnL> it's not the lib one, but same result
<clever> yeah, i just looked closer and see that
<{^_^}> [nixpkgs] @eonpatapon opened pull request #55645 → nixos/qemu-vm: declarative drives → https://git.io/fhQyU
<{^_^}> [nixpkgs] @dtzWill merged pull request #55572 → txr: 208 -> 209 → https://git.io/fhQWo
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhQyq
<Twey> If I have a stdenv, how can I add an environment variable to every derivation built with that stdenv?
switchsox has quit [Remote host closed the connection]
<Twey> I was just overriding mkDerivation (stdenv // { mkDerivation = args: args // { MY_COOL_VARIABLE = 5; }; }) but it seems that as soon as someone calls .override on that it will rewrite mkDerivation and my changes are lost
ryantrinkle has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #55133 → boehmgc{,_766}: add space before appending to CFLAGS (only done w/musl) → https://git.io/fhSiU
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fhQyO
<{^_^}> [nixpkgs] @dtzWill merged pull request #54060 → openconnect: 7.08 -> 8.02 → https://git.io/fhlI8
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhQy3
switchsox has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #55214 → ipe: 7.2.9 -> 7.2.10 → https://git.io/fhSNz
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhQyn
hsrt^ has quit []
kreisys has joined #nixos
hph^ has joined #nixos
agander_ has joined #nixos
timor has quit [Read error: Connection reset by peer]
timor has joined #nixos
lawlesseel has quit [Ping timeout: 256 seconds]
agander has quit [Ping timeout: 245 seconds]
rcshm has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8611e758a5f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
heyguyswatup has quit [Ping timeout: 256 seconds]
talyz has quit [Ping timeout: 240 seconds]
<fearlessKim[m]> trying to get "into the breach" working with proton. Nothing happens when trying to start from steam. How can I get the proton binary to start "breach.exe" ? any advice/manual on how to debug proton etc.
etu has quit [Ping timeout: 250 seconds]
<Ankhers> I'm trying to run a a bash command for each element in a list in my configure phase. What are my options for something like that? I tried to use ${list} and it complains about not being able to coerce a list to a string.
<clever> fearlessKim[m]: first, does any other proton game work? does steam print something on stdout when you run it?
<clever> Ankhers: for x in ${toString list}; do
<Ankhers> clever: Thanks!
<gchristensen> you could also do the iteration in Nix and emit a -funroll'd loop :P
<fearlessKim[m]> clever: it's my first and only proton game so far
<fearlessKim[m]> I would like to run an strace or sthg that gives me more details
<clever> fearlessKim[m]: the other thing you can try, is to open the properties for the game, set launch options, `PROTON_LOG=1 %command%`
<clever> -rw-r--r-- 1 clever users 3.7M Feb 4 03:24 steam-544550.log
<clever> fearlessKim[m]: with PROTON_LOG=1 set, then proton will emit normal WINEDEBUG style logs to ~/steam-${GAMEID}.log
xkapastel has joined #nixos
<fearlessKim[m]> thanks I don't see any ~/steam* file
<fearlessKim[m]> even with PROTON_LOG=1 but that's a start
talyz has joined #nixos
etu has joined #nixos
ryantrinkle has joined #nixos
<fearlessKim[m]> I might add it to the nixos steam wiki if it's ok
<clever> fearlessKim[m]: it might be that proton is failing to start, do you have 32bit dri and 32bit pulse?
<fearlessKim[m]> yep
schjetne has quit [Ping timeout: 246 seconds]
phreedom has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos
<clever> fearlessKim[m]: try choosing a different version of proton in steam?
<clever> on the main settings page, under steam play, you can set the proton version
<clever> 3.16-6 beta is what i use without issues
<clever> there is also a checkbox to force allowing proton with "unsupported" games
<fearlessKim[m]> I chose 3.16-4 it's downloading some files
slack1256 has joined #nixos
winem_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55646 → gbenchmark: 1.3.0 -> 1.4.1 → https://git.io/fhQSL
DrLambda has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Anton-Latukha closed pull request #55452 → gradio: clean-up → https://git.io/fhH8a
balsoft has quit [Ping timeout: 250 seconds]
nadley has quit [Ping timeout: 268 seconds]
nadley has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
jabranham has joined #nixos
random_yanek has quit [Quit: random_yanek]
chimay has quit [Quit: WeeChat 2.3]
<Ankhers> If I have some derivation, how can I get the name of it? Name being "hex_core" instead of "hex-source-hex_core-0.4.0"?
lawlesseel has joined #nixos
agander_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @etu opened pull request #55647 → phpPackages.phpstan: 0.11.1 -> 0.11.2 → https://git.io/fhQSP
<rcshm> hi i have installed arangodb but i couldn't find any instruction on the way to run it. i am getting the file is not writeable error and i couldn't find any document on this.
<ivegotasthma> I've updated my channel but I cannot get the latest version of youtube-dl listed here https://nixos.org/nixos/packages.html#youtube-dl any idea why that's happening?
<rcshm> could anyone show me where i should look for the documentation. thanks for your help.
<fearlessKim[m]> clever: fantastic the new proton version works !
<ottidmes> I assume my package needs to go in systemPackages if I want its bash completions to show up, considering its installed in $out/etc/bash_completion.d, is there an easier way to test my completions while working on these completions than just nixos-rebuild'ing everytime?
erasmas has joined #nixos
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
<{^_^}> [nix] @edolstra merged pull request #2628 → Context introspection → https://git.io/fhnQ6
<{^_^}> [nix] @edolstra pushed 4 commits to master: https://git.io/fhQSQ
ddellacosta has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2626 → Treat plain derivation paths in context as normal paths. → https://git.io/fhniZ
<ottidmes> Ankhers: that information is probably lost, in general a derivation only has a name, which includes its version, although nowadays pname/version is also officially supported by mkDerivation, but still, if name/pname would have "hex-source-hex_core" that is all you got, unless of course you are the one making the derivation, than you should be able to just change its name
dermetfan has quit [Ping timeout: 245 seconds]
nschoe has quit [Ping timeout: 244 seconds]
<ottidmes> rcshm: you should check the arangodb manuals, it probably has a setting allow you to set the directory.
<Ankhers> ottidmes: Thanks. I thought that may be the case.
<Ankhers> What are my options for using ${BASH_VAR} syntax within a nix file?
<ottidmes> Ankhers: if you are certain the prefix is always hex-source and the version begins with a digit, it should be easy enough to extract though
<ottidmes> Ankhers: inside '' string '' you can use ''${bash_var}
<ottidmes> ,escape'' Ankhers
<{^_^}> Ankhers: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
ubert has quit [Read error: Connection reset by peer]
<ottidmes> ,escape" Ankhers
<{^_^}> Ankhers: " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
slack1256 has quit [Ping timeout: 246 seconds]
<Ankhers> ottidmes: Unfortunately I am not 100% just yet. I still need to do a bit of testing. Thanks for all the help so far!
random_yanek has joined #nixos
<ikitat> In the Nixpkgs manual Python section it makes a point that it's important to determine if a Python package is mostly and app or a library when considering packaging. I seem to have a package that's both. aws-sam-cli (0.11.0) depends on aws_lambda_builders (which I'm attempting to package) both as a library (importing modules) and as an executable (there is a cli interface to it). What should the packaging strategy be in this case? My b
<ikitat> est guess is to put it under development/python-modules and then again under development/tools. Does that seem right? I'm afraid it's a bit redundant, any advice?
<ivegotasthma> I've updated my channel but I cannot get the latest version of youtube-dl listed here https://nixos.org/nixos/packages.html#youtube-dl any idea why that's happening?
<ottidmes> ivegotasthma: likely a mismatch between the channel you updated and the channel used by whatever means you used to install it
<ottidmes> ivegotasthma: like maybe you installed with nix-env which uses a channel defined by your user, but you updated the channels of the root user, something like that
<ivegotasthma> I've installed using home-manager
<ivegotasthma> nix-channel --list shows only home-manager
<ottidmes> and how did you update?
<ivegotasthma> nix-channel --update && nix-env --upgrade
datakurre has joined #nixos
<ivegotasthma> If I install using `nix-env -iA nixos.youtube-dl` the version is stale too
<ottidmes> then try: sudo su, and then doing nix-channel --update (not sure if `sudo nix-channel --update` works too, better to rule it out and login as root first)
<ivegotasthma> but the `nixos` namespace **is** there
<samueldr> if nix-channel --list doesn't have the nixos channel (and it's fine) updating your user's channels won't update the one providing the nixos channel; which is probably under root's
<ottidmes> from what I remember nix-channel of the user defaults to that of root
<ottidmes> ivegotasthma: ^ what samueldr said
<ivegotasthma> samueldr: ottidmes: okay, that's true, listing the channels under root shows the nixos main channel.
<ivegotasthma> I've updated it
<ivegotasthma> should I update from the user now with `nix-ev --upgrade`?
<samueldr> and yeah, the nixos channel is expected to be under root's and to *not* have it duplicated in the user's, as nixos-rebuild only uses root's nixos' channel (unless you do specific things)
work_ has joined #nixos
<samueldr> ivegotasthma: probably
newtonix has joined #nixos
nschoe has joined #nixos
<ivegotasthma> samueldr: thanks
Vitalii has joined #nixos
nschoe has quit [Read error: Connection reset by peer]
<__monty__> How do I make a default.nix with multiple potential outputs?
<jabranham> is pandas failing in the unstable channel for everyone else too?
<clever> __monty__: put an attrset in it, { key = thing1; key2 = thing2; }
newtonix has quit [Quit: Page closed]
bbarker2 has joined #nixos
<rcshm> ottidmes, thanks. i can not start arangodb as a service and it keeps getting the errors as mentioned when i am using arangodb as in the document.
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
shibboleth has joined #nixos
<ottidmes> rcshm: the service fails due to the unwriteable errors, or something else?
<rcshm> there is no option for me to start it as a service.
aleph- has joined #nixos
e-user has quit [Remote host closed the connection]
<rcshm> i saw a project which is not complete for doing that.
mobile_c_ has quit [Read error: Connection reset by peer]
<ottidmes> rcshm: this is probably the way to change the directory it wants to write to, I have 0 experience with the DB, so it might be unrelated: https://github.com/arangodb/arangodb/issues/5954#issuecomment-407344104
<rcshm> so i just try to run it manually as in arangodb doc which is /usr/local/sbin/arangod & and that errors out on non writeable/
<ottidmes> its probably using the /nix/store directory of it, which is readonly
<rcshm> yes. so i would think the pkgs maintainer should have the documentation on this somewhere.
<rcshm> which i am not aware of.
balsoft has joined #nixos
<ottidmes> rcshm: if you want to make a NixOS module for it, you could base its systemd service on this definition from Arch Linux: https://aur.archlinux.org/cgit/aur.git/tree/arangodb3.service?h=arangodb
<rcshm> i am not really sure how to do that.
<rcshm> i am not quite sure if anything is already available with the nixpkgs install that i just used.
<{^_^}> [nixpkgs] @dtzWill merged pull request #55619 → ninja: patch to fix w/musl, see upstream issue → https://git.io/fhQ2b
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhQ9K
bollu has quit [Quit: Ping timeout (120 seconds)]
<rcshm> really wish there is an easy way to find all these out.
bollu has joined #nixos
<ottidmes> I checked and could not find any module, by searching through nixpkgs and https://nixos.org/nixos/options.html#arangodb
pita has quit [Ping timeout: 246 seconds]
Philonous has quit [Ping timeout: 246 seconds]
MasseR has quit [Ping timeout: 246 seconds]
<Vitalii> Can anyone help: I am trying to download nix channel tarball with command: nix-instantiate -I nixpkgs=s3://bucket-in-us-east-2/nix-tarballs/j45dsfgrrthrth454h45h345h334h45h-channel.tar.gz?region=us-east-2 --eval --expr "<nixpkgs>" it fails with "Unable to parse ExceptionName: PermanentRedirect Message: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpo
MasseR has joined #nixos
<ottidmes> rcshm: so there seems no easy way out, unless you are OK with doing the start call explicitly yourself, there should be plenty of examples in nixpkgs from which you can learn how to make your own systemd service
balsoft has quit [Ping timeout: 250 seconds]
bbarker2 has quit [Ping timeout: 258 seconds]
Philonous has joined #nixos
pita has joined #nixos
<Vitalii> Vitali
timor has quit [Quit: Leaving]
<ottidmes> Vitalii: maybe this works: nix eval --raw '(fetchTarball "s3://bucket-in-us-east-2/nix-tarballs/j45dsfgrrthrth454h45h345h334h45h-channel.tar.gz?region=us-east-2")'
<Vitalii> ottidmes, thanks, will try, and let you know the result
<__monty__> Any way to have an attrset with a default target?
<ottidmes> default target?
nschoe has joined #nixos
winem_ has quit [Ping timeout: 258 seconds]
dermetfan has joined #nixos
<ottidmes> I guess you mean, having it evaluate to one of the attribute names if none have been specified? seems asking for trouble, or what do you mean?
ThatDocsLady has quit [Ping timeout: 272 seconds]
knupfer has quit [Remote host closed the connection]
<ottidmes> __monty__: basically Nix does not auto coerce, so AFAIK this is not possible, or explain some more what you mean exactly
<__monty__> You've answered the question.
<Vitalii> ottidmes, the same issue
<{^_^}> [nixpkgs] @johanot opened pull request #55649 → nixos/flannel: add kubernetes as storage backend (and fix test) → https://git.io/fhQ95
<__monty__> Should this be a set of derivations or a derivation containing a set?
nschoe has quit [Read error: Connection reset by peer]
<Vitalii> copumpkin: Any thoughts?
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<Vitalii> ottidmes: the same issue
<copumpkin> Vitalii: doesn't the ?region=us-east-2 go after the bucket part of the url?
<copumpkin> maybe not
<clever> __monty__: you can do derivation1 // { key1=..; key2=...; }
<copumpkin> I haven't tried adjusting region in Nix's S3 support
<clever> __monty__: do omiting -A refers to derivation1
cswl has joined #nixos
<ottidmes> clever: __monty__: rather than drv // attrs, you probably want to use passthru, but yes, that is possible
<rcshm> ottimes, thanks. can you point me to a specific one in nixpkgs where i can replicate on?
v0|d has joined #nixos
<__monty__> Hmm, and what if key2 requires derivation1 as a buildInput?
balsoft has joined #nixos
<clever> __monty__: define all 3 derivations in a let block first
obadz has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #55650 → plasma-5: 5.14.5 -> 5.15.0 → https://git.io/fhQ9p
<ottidmes> rcshm: not really, but I guess another DB is useful to base it on: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/databases/mongodb.nix together with the actual files used for it (after Nix'ifying of course): https://aur.archlinux.org/cgit/aur.git/tree/arangodb3.service?h=arangodb
<Vitalii> copumpkin: Did you mean like this: "s3://bucket-in-us-east-2?region=us-east-2/nix-tarballs/j45dsfgrrthrth454h45h345h334h45h-channel.tar.gz"? If so, it doesn't work either.
bbarker2 has joined #nixos
<copumpkin> actually, just make s3://bucket-in-us-east-2?region=us-east-2 your binary cache path
<rcshm> ottimes, thanks. let me check that out.
<copumpkin> oh you didn't want a binary cache
<copumpkin> sorry
balsoft has quit [Read error: Connection reset by peer]
balsoft has joined #nixos
<copumpkin> niksnut: doesn't look like there's any easy workaround for that right now, right?
simukis has joined #nixos
<gchristensen> what are we trying to solve?
<copumpkin> Vitalii wants to builtins.fetchurl/tarball an S3 object in a non-us-east-1 region
<gchristensen> ack
<copumpkin> and it appears to be hardcoded to us-east-1 with a FIXME note :)
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #55651 → godef: 1.0.0 -> 1.1.1 → https://git.io/fhQHe
waleee has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #55652 → gometalinter: 2.0.11 -> 3.0.0 → https://git.io/fhQHv
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #55653 → gotools: 2018-09-11 -> 2019-02-11 → https://git.io/fhQHU
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #55654 → vimPlugins: Update → https://git.io/fhQHq
obadz has joined #nixos
mmlb3 has joined #nixos
<clever> Vitalii: if IAM instance profiles are configured, there is pkgs.fetchs3
polman has quit [Ping timeout: 246 seconds]
<gchristensen> wow!
fusion809 has quit [Remote host closed the connection]
tA has quit [Remote host closed the connection]
infinee has quit [Quit: leaving]
polman has joined #nixos
achilles has joined #nixos
Ariakenom has quit [Ping timeout: 250 seconds]
ikitat has quit [Ping timeout: 245 seconds]
<__monty__> default.nix with the new epub attribute http://ix.io/1ASl , error http://ix.io/1ASk
fusion809 has joined #nixos
shibboleth has quit [Quit: shibboleth]
<copumpkin> fetchs3 is a bit of a hack unfortunately
<__monty__> Why does it complain about the file not existing for epub but not for md?
<copumpkin> I can say it because I wrote it :P
<copumpkin> passing in explicit creds gets them dumped to .drvs in the store, which isn't ideal
tA has joined #nixos
rycwo has quit [Read error: Connection reset by peer]
<copumpkin> and not passing them in uses instance metadata service, which is kind of iffy to expose to builders in the first place
polman has quit [Ping timeout: 246 seconds]
sigmundv has quit [Ping timeout: 244 seconds]
rycwo has joined #nixos
<LnL> copumpkin: hi! have not seen you around in a while
<copumpkin> hi :) I haven't been around in a while!
balsoft has quit [Ping timeout: 245 seconds]
polman has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ikitat has joined #nixos
<clever> copumpkin: which is why i only recomend using it with IAM instance profiles
<copumpkin> well on that, I've often been on the fence about exposing those to builders at all
<copumpkin> on my local nix build infra, I actively block builder access to the 169 addresses
<copumpkin> it's sort of incidental that they have access to those creds, and IMO they shouldn't really
<clever> yeah, thats also a security thing ive been wary of
<clever> fixed-output can basically do whatever it wants to the LAN
mobile_c_ has joined #nixos
<achilles> Hi! I need some help. In the build phase of a derivation, I get this error: `sorry, unimplemented: 64-bit mode not compiled in`. I'm using gcc5, and it seems it cannot build for x86_64, right? It's strange, since the arch is x86_64, and I'm not aware of any configuration to build for 32b...
<catern> blah, the Python auto-update stuff updated a library, which broke the only dependency of that library
<catern> i'm pretty unenthusiastic about this auto-update stuff
pbb_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<pinkypie> can i mount .out to somewhere i need in shell.nix?
pbb has joined #nixos
<catern> if they're auto-updating, they should be running the builds of all the dependencies! otherwise they shouldn't update!
<pinkypie> can i mess with filesystem in shell.nix?
<catern> it really diminishes the value of nixpkgs as a *working* distribution, when it's broken all the time... super annoying...
kreisys has joined #nixos
azdle has quit [Read error: Connection reset by peer]
johnnyfive has joined #nixos
alex``` has joined #nixos
grastello has joined #nixos
sakalli_ has joined #nixos
rycwo has quit [Ping timeout: 258 seconds]
mvnetbiz747971 has joined #nixos
mvnetbiz7479 has quit [Ping timeout: 246 seconds]
sakalli_ has quit [Client Quit]
<emily> catern: to be fair, "unstable" is in the name
<clever> pinkypie: shell.nix cant really do filesystem level things
<matthewbauer[m]> catern: yeah we need more people watching hydra jobs. it's usually pretty obvious when one of these breaks things just by looking at "newly failing jobs"
Duckle has joined #nixos
<catern> (er, I said "dependency" above but I meant "dependent")
<Duckle> Hey there. I'm having some wifi woes trying to install nixos :)
<catern> matthewbauer[m]: well I mean, they should be doing the build before pushing
polman has quit [Ping timeout: 246 seconds]
<catern> like, maybe gchristenbot could have some opt-in "build all dependents" thing?
<matthewbauer[m]> I dunno... IMO unstable should have the latest version of every package. If it breaks things it's not the depended on package's fault
<catern> which automated updates could set, because no human is actually paying attention
* gchristensen disagrees with that "O"
<Duckle> I'm using the graphical installer, and have entered the credentials for my home network, but dmesg is just complaining about "deauthenticating"
<{^_^}> [nixpkgs] @netixx opened pull request #55658 → home-assistant: fix lifx component dependencies → https://git.io/fhQQY
<gchristensen> also, ofborg is not hydra and not really capable of that much building
<Duckle> and wlp1s0: link is not ready
<catern> ok, fair
<catern> gchristensen: what in particular did you disagree with?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polman has joined #nixos
<gchristensen> nixpkgs-unstable shouldn't inherently be the latest of everything
<gchristensen> it should still mostly work
<catern> yep, agreed
<gchristensen> (but it is unstable)
<LnL> heh
<pbb> hmpf. I should really write an auto updater for this damn flash player. every time I try to install it the link is broken.
<catern> if you want the absolute latest of everything I think that's more of a pypi2nix job, having an actual packaging step where you do some cursory validation
<catern> is nice
<catern> blah, I guess I should sign up for hydra emails... how do I opt in to hydra emailing me when my packages fail to build on master?
reinhardt has joined #nixos
<catern> (or is that on by default and I just have it sent to my broken email address oops)
<{^_^}> [nixpkgs] @LnL7 opened pull request #55659 → perlPackages.IOTty: fix darwin sandbox build → https://git.io/fhQQs
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
<clever> catern: i think it always emails the meta.maintainers
<LnL> hydra emails are still disabled AFAIK
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<__monty__> default.nix with the new epub attribute http://ix.io/1ASl , error http://ix.io/1ASk Why does it error on the epub but not the md?
<{^_^}> [nixpkgs] @catern opened pull request #55660 → pythonPackages.contextvars: relax constraint on immutables version → https://git.io/fhQQC
* gchristensen pokes eelco again about emails
Judson1 has joined #nixos
Judson1 is now known as Guest22204
<NemesisD> can someone tell me what i'm doing wrong here? https://gist.github.com/MichaelXavier/bb404b3f2d4be10157ad481e36ae5c3b i'm trying to disable profiling, checks, etc by default, but when i boot to a shell i'm seeing it compile .p_o files
polman has quit [Ping timeout: 246 seconds]
<NemesisD> i've put assert false over the overrides i give to mkDerivation and they seem to be evaluated, but not respected it seems
achilles has quit [Ping timeout: 256 seconds]
juliendehos has quit [Quit: Leaving]
noonien has joined #nixos
<noonien> hello folks
<noonien> what are the effects of the downloadToTemp argument to fetchurl? i mean, i understand it downloads to $TMP, but why would someone want this?
<clever> noonien: i think its for when you want to mutate the artifact with a postfetch script
<Duckle> hmm, any idea on how to get wifi connected in the 18.09 installer?
<noonien> does postfetch not work without it?
<srhb> noonien: I think the only purpose is avoiding the deletion if you have to do postprocessing anyway (so as to not leave duplicate garbage in $out)
<srhb> noonien: I don't think it's any more fancy or justifiable than that.
polman has joined #nixos
<srhb> NemesisD: Looks good to me. how are you testing?
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.5.12 -> 1.5.15 »: https://git.io/fhQQ4
<noonien> I see. I ask because i'm trying to download multiple files when creating a derivation, without doing a fetchurl for each one (since i don't want them in the nix store. I currently have to implement my own fetcher, which duplicates most of fetchurl's functionality
<{^_^}> [nixpkgs] @dtzWill opened pull request #55661 → gnupg: 2.2.12 -> 2.2.13 → https://git.io/fhQQR
<pinkypie> nix-build fails with ...:No space left on device
<Ankhers> I have derivations A and B. In order for A to build, I need B to be in a specific directory inside A. What is best practice for something like this? I can obviously use cp to copy the files over during A's build. Is there a better option here?
<srhb> pinkypie: Are you not actually out of space?
<pinkypie> but i have all the storage i need
<srhb> Ankhers: Symlink?
<pinkypie> srhb: now
<pinkypie> nope*
<srhb> pinkypie: Not in /tmp either?
<noonien> pinkypie: what filesystem?
<srhb> NemesisD: Just confirmed by comparing the build of vector from hpkgs.vector vs pkgs.haskellPackages.vector
WhittlesJr has joined #nixos
<NemesisD> srhb: just updated with the shell.nix and added my package derivation (https://gist.github.com/MichaelXavier/bb404b3f2d4be10157ad481e36ae5c3b), i'm running `nix-shell --pure` and i see things like [1 of 1] Compiling GHC.Paths ( GHC/Paths.hs, dist/build/GHC/Paths.p_o )
<pinkypie> cp: error writing 'dev-nix/.stack-work-prof/install/x86_64-linux/ghc-8.4.4/8.4.4/lib/x86_64-linux-ghc-8.4.4/lister-0.0.0.1-2kaAXRy2OyZ8ifFyIT5YCf/libHSlister-0.0.0.1-2kaAXRy2OyZ8ifFyIT5YCf.a': No space left on device
<Ankhers> srhb: Right. I meant to add that to my question. Are symlinks the preferred option here?
<pinkypie> noonien: i figure it /home
<pinkypie> it's*
knupfer has joined #nixos
<noonien> is it btrfs by any chance?
drewr has quit [Remote host closed the connection]
<WhittlesJr> Hey! I'm interested in running deis on NixOS. The project was abandoned by its original owner and taken up in a fork under a new team. The package in nixpkgs references the old fork. If I wanted to package the new one, should I "update" the current deis package or should I start a new package?
<WhittlesJr> I'm looking at https://github.com/teamhephy/workflow
dbmikus has joined #nixos
drewr has joined #nixos
<immae> WhittlesJr: if the package name changed (as is the case here), it seems reasonnable to package with the new name, isn’t it?
das_j_ has joined #nixos
peel_ has joined #nixos
spacefrogg_ has joined #nixos
mbrgm_ has joined #nixos
srhb- has joined #nixos
Shados_ has joined #nixos
tboston_ has joined #nixos
ZeDestructor_ has joined #nixos
xvnvx- has joined #nixos
hyper_ch_ has joined #nixos
hyper_ch_ has joined #nixos
darkf_ has joined #nixos
pmade has joined #nixos
dermetfan has quit [Ping timeout: 240 seconds]
sgraf_ has joined #nixos
samrose_ has joined #nixos
_fusion809 has joined #nixos
mightyby1e has joined #nixos
cswl_ has joined #nixos
gerschtli1 has joined #nixos
{^_^} has quit [Ping timeout: 240 seconds]
Guest4450 has quit [Ping timeout: 240 seconds]
tboston has quit [Ping timeout: 240 seconds]
sgraf has quit [Ping timeout: 240 seconds]
darkf has quit [Ping timeout: 240 seconds]
drakonis has quit [Ping timeout: 240 seconds]
danielrf has quit [Ping timeout: 240 seconds]
unacceptable has quit [Ping timeout: 240 seconds]
Supersonic has quit [Ping timeout: 240 seconds]
mbrgm has quit [Ping timeout: 240 seconds]
mightybyte has quit [Ping timeout: 240 seconds]
mkoenig has quit [Ping timeout: 240 seconds]
das_j has quit [Ping timeout: 240 seconds]
Asmadeus has quit [Ping timeout: 240 seconds]
tv has quit [Ping timeout: 240 seconds]
gerschtli has quit [Ping timeout: 240 seconds]
garbas has quit [Ping timeout: 240 seconds]
aswanson has quit [Ping timeout: 240 seconds]
samrose has quit [Ping timeout: 240 seconds]
akapav has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 240 seconds]
sphalerite has quit [Ping timeout: 240 seconds]
hyper_ch has quit [Ping timeout: 240 seconds]
rain1 has quit [Ping timeout: 240 seconds]
anton_ has quit [Quit: No Ping reply in 180 seconds.]
<noonien> pinkypie: ^
lopsided98 has quit [Remote host closed the connection]
akapav has joined #nixos
srhb has quit [Read error: Connection reset by peer]
dbmikus__ has quit [Ping timeout: 240 seconds]
cswl has quit [Ping timeout: 240 seconds]
fusion809 has quit [Ping timeout: 240 seconds]
elibrokeit has quit [Read error: Connection reset by peer]
andi- has quit [Ping timeout: 240 seconds]
Shados has quit [Ping timeout: 240 seconds]
stigo has quit [Ping timeout: 240 seconds]
devalot has quit [Ping timeout: 240 seconds]
xvnvx has quit [Ping timeout: 240 seconds]
Guest6215 has quit [Ping timeout: 240 seconds]
polar1 has quit [Ping timeout: 240 seconds]
ckauhaus has quit [Ping timeout: 240 seconds]
Vskilet has quit [Ping timeout: 240 seconds]
ejpcmac has quit [Ping timeout: 240 seconds]
Barnabas[m] has quit [Ping timeout: 240 seconds]
zgrep has quit [Ping timeout: 240 seconds]
Czen has quit [Ping timeout: 240 seconds]
peel has quit [Ping timeout: 240 seconds]
ZeDestructor has quit [Ping timeout: 240 seconds]
peter2121[m] has quit [Ping timeout: 240 seconds]
abcrawf has quit [Ping timeout: 240 seconds]
spacefrogg has quit [Ping timeout: 240 seconds]
FRidh[m] has quit [Ping timeout: 240 seconds]
pmade is now known as devalot
ZeDestructor_ is now known as ZeDestructor
sgraf_ is now known as sgraf
darkf_ is now known as darkf
srhb- is now known as srhb
hyper_ch_ is now known as hyper_ch
{^_^} has joined #nixos
polar1 has joined #nixos
peel_ is now known as peel
ztrawhcse has joined #nixos
ckauhaus_ has joined #nixos
cswl_ is now known as cswl
Asmadeus has joined #nixos
zgrep has joined #nixos
Supersonic has joined #nixos
FRidh[m] has joined #nixos
garbas has joined #nixos
tv has joined #nixos
abcrawf has joined #nixos
anton has joined #nixos
ma27 has joined #nixos
ejpcmac has joined #nixos
peter2121[m] has joined #nixos
Barnabas[m] has joined #nixos
mbrgm_ is now known as mbrgm
<WhittlesJr> immae: The package name hasn't exactly changed, actually. The underlying `deis` tool is the same, but now it's at a 2.XX.X version. https://github.com/deis/workflow
lopsided98 has joined #nixos
Vskilet has joined #nixos
mkoenig has joined #nixos
drakonis has joined #nixos
sphalerite has joined #nixos
anton is now known as Guest55981
Czen has joined #nixos
aswanson has joined #nixos
stigo has joined #nixos
Guest6215 has joined #nixos
danielrf has joined #nixos
andi- has joined #nixos
rain1 has joined #nixos
tg has quit [Ping timeout: 246 seconds]
LogicAside is now known as ThatOtherGuy
jtcs has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
Guest11902 has quit [Ping timeout: 272 seconds]
jtcs has joined #nixos
kgz has quit [Ping timeout: 250 seconds]
rydnr has joined #nixos
tg has joined #nixos
Guest22204 has quit [Quit: Leaving.]
Ariakenom has joined #nixos
<catern> is there any safe way to inherit a setup hook or something? I'd like to make the pkgs.pythonPackages.pkgconfig package have the same setupHook as pkgs.pkg-config, but will they both get run if they're both in buildInputs?
shibboleth has joined #nixos
fendor_ has joined #nixos
<catern> or is the hooks setup smart enough to deduplicate hooks by name or something?
sakalli_ has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
ddellacosta has joined #nixos
juliendehos has joined #nixos
fendor has quit [Ping timeout: 272 seconds]
sakalli_ has quit [Client Quit]
kgz has joined #nixos
Lears has joined #nixos
polman has quit [Ping timeout: 246 seconds]
<Ankhers> Using a symlink to put derivation B into a subdirectory in A, I am getting eaccess errors, presumably unable to read the files properly. Is there anything I can do to fix the permissions on the files, or do I just cp the files over?
[Leary] has quit [Read error: No route to host]
[Leary] has joined #nixos
ztrawhcse is now known as elibrokeit
polman has joined #nixos
sigmundv has joined #nixos
Lears has quit [Read error: No route to host]
shibboleth has quit [Quit: shibboleth]
<infinisil> Ankhers: symlinking should work, how are you doing this?
sinner has joined #nixos
sinner is now known as Guest56125
hedning has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
sigmundv has quit [Ping timeout: 246 seconds]
<Ankhers> infinisil: https://github.com/ankhers/nixpkgs/blob/fix_rebar3_release/pkgs/development/beam-modules/rebar3-release.nix#L53-L57. It works fine with the cp there, but when I try to use the symlink version, I get errors from rebar3 itself claiming eaccess.
hedning has joined #nixos
MinceR has quit [Ping timeout: 244 seconds]
sigmundv has joined #nixos
Guest56125 has quit [Ping timeout: 240 seconds]
<Duckle> hmm if I can't even get on wifi after 45 minutes. I don't think nixos is for me :/ I guess I'll give it a shot in a year or two :(
<clever> Ankhers: if _checkouts/''${CHECKOUT[-2]} exists, then ln will create the symlink inside it, rather then overwriting it
Duckle has left #nixos ["Poof goes the quack - The Lounge - https://thelounge.chat"]
<clever> Ankhers: your `cp --no-preserve=all` will just overwrite and merge when the target already exists
<Ankhers> It does not exist at that time.
MinceR has joined #nixos
<clever> Ankhers: what if there are duplicates in that array?
<clever> change the ln to `-sv` and pastebin the output it makes
<Ankhers> clever: That is possible, but in this specific case I know there are not.
<Ankhers> Will do.
<Ankhers> clever: https://gist.github.com/ankhers/b7d3db76441b4dadf1b88deeb0c0d62a That is the output from linking.
<infinisil> Ankhers: Where is checkouts set?
das_j_ has quit [Remote host closed the connection]
das_j has joined #nixos
sigmundv has quit [Ping timeout: 246 seconds]
<clever> IFS='-' read -ra CHECKOUT <<< $checkout
<clever> oh, thats where it comes from
dermetfan has joined #nixos
<Ankhers> Oh sorry, that is kinda hacky. I put that in temporarily. I was going to try and find a better solution once I have the linking working.
_fusion809 is now known as fusion809
<NemesisD> hey infinisil! i've progressed quite a bit in my haskell nix stuff since a few days ago when we were talking
<ottidmes> is `nix eval`'s --arg and --argstr just completely broken, or what? It at least does not work like nix-instantiate used to
<infinisil> NemesisD: Nice!
<NemesisD> infinisil: i was able to get a build working and a working docker image. i'm moving onto another project though and i seem to no longer be able to disable profiling and tests so my compile is taking forever: https://gist.github.com/MichaelXavier/bb404b3f2d4be10157ad481e36ae5c3b
<ottidmes> right now I work around not having --arg in a stupid way, by using nix-instantiate with --argstr to make sure that the string is correct when I inject it in my `nix eval` code... ugly, but at least it works
<infinisil> NemesisD: Hmm, I'd avoid using nixpkgs config and packageOverrides for that
ixxie has joined #nixos
Duckle has joined #nixos
<infinisil> NemesisD: Probably just putting `mkDerivation = super.mkDerivation ...` after line 42 works
<Duckle> srk: Heh, so as I'm a total noob. Anything I should do after "nix-env -i networkmanager"
<Duckle> ?
<Duckle> network-manager*
<ottidmes> Duckle: if on NixOS use networking.network-manager.enable = true; instead
<srk> Duckle: enable it system-wide via networking.network-manager.enable
<srk> ^^
<Duckle> heh
<Duckle> will do
grastello has quit [Remote host closed the connection]
<ottidmes> Duckle: without the - apparantly: https://nixos.org/nixos/options.html#networkmanager.enable
<NemesisD> infinisil: so like mkDerivation = args: super.mkDerivation (args // { those switches }); ?
<infinisil> Yeah
<Duckle> ottidmes: Is this just top-level of the configuration.nix?
<ottidmes> Duckle: yeah that should work
<ottidmes> Duckle: I am afk now, others can probably help, good luck!
<Duckle> thanks :)
<Duckle> Man. Ultrabooks.
<Duckle> I'm using USB-tethering from my phone currently :P
<srk> :D
leungbk has joined #nixos
ddellacosta has quit [Ping timeout: 250 seconds]
agander has joined #nixos
<Duckle> I'm THIS close to my ethernet switch, but nooo. No ethernet for me :P
<srk> too thin for a socket? :D
<Duckle> too fancy -_-
<Duckle> hmm
agander_ has joined #nixos
ddellacosta has joined #nixos
<Duckle> okay nixos-rebuild switch is done. I can't see any way to connect to wifi though
<srhb> Duckle: nmtui?
<srhb> Or an applet
<Duckle> right the live usb had an applet
<Duckle> reboot got me my applet :P
<pinkypie> is it possible to apply a nixos option on a non nixos system?
<__monty__> Can anyone spot the difference between md and epub? I don't understand the error. default.nix http://ix.io/1ASl , error http://ix.io/1ASk
<pinkypie> i'm a little confused how configuration in pkgs works
<srhb> pinkypie: No, not really.
<Duckle> That did the trick. wifi works now :D
<srhb> pinkypie: configuration in pkgs happens through the nixpkgs config (which is completely separate from NixOS)
leungbk has quit [Ping timeout: 240 seconds]
<srhb> Duckle: Great :)
agander has quit [Ping timeout: 258 seconds]
<Duckle> what's the recommended way of installing things?
<srhb> Duckle: Through environment.systemPackages usually :)
<srhb> Duckle: developer environments through nix-shell.
<Duckle> does nix-env add things to a list somewhere, or is it just temporary?
__monty__ has quit [Read error: Connection reset by peer]
<pinkypie> srhb: how do i lookup nixpkgs config options?
__monty__ has joined #nixos
<slabity> pinkypie: 'man configuration.nix'
sinner has joined #nixos
<srhb> slabity: No, that's NixOS
sinner is now known as Guest7777
<srhb> pinkypie: I'm afraid there's no unified source of this. Your best bet is to grep for config through the pkgs part of the nixpkgs tree.
<srhb> pinkypie: What are you looking for specifically?
<slabity> srhb: But it contains the nixpkgs.* options within
<catern> argh
<srk> Duckle: yes, you can use nix-env to install packages as a user
<NemesisD> infinisil: i think that did it. thanks! much more readable too!
<catern> I think this updated package has broken its dependents for months
<srk> Duckle: nix-env -q for query
<pinkypie> srhb: i was hoping i could use this thing
<srhb> slabity: Not really, no. It contains nixpkgs.config which is the actual nixpkgs config set (and is not really documented further)
<infinisil> NemesisD: :)
<srhb> slabity: The naming is confusing.
<slabity> srhb: Nevermind, I'm assuming they want all possible nixpkgs.config.* values
<catern> stop 👏 auto-updating 👏 packages 👏
<srhb> slabity: Right :)
shibboleth has joined #nixos
<pinkypie> srhb: i have this unixODBC trying to find things in /opt, while it should really loot in /nix/store
<rycee> infinisil: Howdy. Are you still using Home Manager as a NixOS module? If so would you mind giving this branch a try? https://github.com/rycee/home-manager/pull/580
<{^_^}> home-manager#580 (by rycee, 21 hours ago, open): NixOS module optional support for user packages
<infinisil> rycee: Not right now, but maybe tomorrow. I put the PR in my notifications for then
<srhb> pinkypie: You won't really be able to use that NixOS module in any meaningful way without NixOS.
<infinisil> rycee: (yes I am still using it as a NixOS module)
<srhb> pinkypie: However, it does almost nothing aside from generating that text file and symlinking it in place
<slabity> You can use home-manager as a nixos module?
<rycee> infinisil: Thanks! No hurry, I don't think I'll be eager to merge this until the weekend.
<infinisil> slabity: home-manager#97
<{^_^}> https://github.com/rycee/home-manager/pull/97 (by rycee, 1 year ago, merged): Experimental NixOS module
__monty__ has quit [Remote host closed the connection]
__monty__ has joined #nixos
camsbury has quit [Remote host closed the connection]
<slabity> Nice. That might clean up my config a bit
<rycee> slabity: Yeah. One of these days I'll write something about it in the manual :-)
<srhb> Duckle: There is a manifest file somewhere, but in general it behaves mostly like regular, imperative package managers
camsbury has joined #nixos
<srhb> Duckle: (ie you break it you buy it)
<Duckle> ah
<srhb> Duckle: The more declarative way of using nix-env is defining your own metapackages that contain the packages you want. But in general, environment.systemPackages probably suits your needs for anything permanent, whereas nix-shell and nix-env are useful for throwaway things.
<pinkypie> srhb: i see, i guess i'd need just generate the thing myself. i don't suppose i can touch my /etc/odbcinst.ini within nix-build, can i?
<pinkypie> srhb: thank you btw
<srhb> pinkypie: Nope, nix-build can only touch /nix/store
<infinisil> Well this is a new error I haven't seen regarding QT: "/run/current-system/sw/bin/ts3client: relocation error: /run/current-system/sw/bin/ts3client: symbol calloc version Qt_5 not defined in file libQt5WebEngineCore.so.5 with link time reference"
v0|d has quit [Read error: Connection reset by peer]
<pinkypie> how can i change name of the result link after nix-build?
<srhb> pinkypie: -o myResult
<srhb> pinkypie: or just mv result myResult
<srhb> Actually, no, the first is the correct approach
logand has joined #nixos
<srhb> The second will break the indirection.
camsbury has quit [Ping timeout: 240 seconds]
<pinkypie> srhb: thank you
<ixxie> anybody got a nice example of a default.nix for a python project with a shell hook?
shibboleth has quit [Quit: shibboleth]
<ixxie> wanna write a bot, and I'm wondering if a nice way to run it is in nix-shell
tmaekawa has joined #nixos
<srhb> ixxie: Compared to making a proper wrapper, I'd say no.
gurmble has joined #nixos
* colemickens Very cool to see more Nix stuff written in Rust https://discourse.nixos.org/t/nix-user-chroot-rust-rewrite/2098
grumble has quit [Read error: Connection reset by peer]
gurmble is now known as grumble
<ixxie> srhb: what is 'a proper wrapper'?
Soo_Slow has joined #nixos
<srhb> ixxie: Essentially an executable that has all relevant bits set for the application to work upon its execution
<srhb> ixxie: Rather than setting things up in a shell, I mean :)
ddellaco1 has joined #nixos
<srhb> (Thinking wrapProgram over shellHook)
ddellacosta has quit [Ping timeout: 258 seconds]
<ixxie> srhb: never heard of wrapProgram.... in anycase I would love an example.
rydnr has quit [Ping timeout: 256 seconds]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<srhb> ixxie: It allows you to set up a wrapper for an executable that sets eg. env vars etc before executing the original.
<catern> gchristensen: matthewbauer[m]: I have a good example of a package which should not have been auto-updated to the latest version in nixpkgs, unstable or not. pythonPackages.construct has totally rearranged its API in both of its last two releases, 2.7 -> 2.8 -> 2.9; which has broken everything in nixpkgs which depends on it. but no-one noticed...
_kwstas has joined #nixos
<catern> partially, I guess, because two of the dependent packages don't run tests... but the third and last dependent package doesn't compile, and who knows how long that has been the case
<catern> if someone who actually uses construct was updating it when it actually needs to be updated, they would know that there was massive API breakage, and know that we should maybe not even upgrade until it stabilizes
reinhardt has quit [Quit: Leaving]
<pinkypie> how do i write a file within nix-build do i need to make bash do it?
tmaekawa has quit [Quit: tmaekawa]
<srhb> catern: Doesn't look auto updated to me. Are you sure?
<pinkypie> is there lib funciton for that?
ddellaco1 is now known as ddellacosta
<pinkypie> am i even thinking about it correctly?
<pinkypie> i feel dumb
<srhb> pinkypie: Depends what you need, to a first approximation probably pkgs.lib.writeText "name" "contents"
<catern> srhb: well, admittedly it's not auto-updated. but it certainly wasn't updated with care
<catern> I expect someone just did a drive-by update
camsbury has joined #nixos
<{^_^}> #46556 (by rnhmjoj, 21 weeks ago, merged): qutebrowser: patch all python scripts
<pinkypie> srhb: that should do
<pinkypie> btw can i make a result be just a single file?
<WhittlesJr> Anyone else use magit with nixpkgs? In my experience, it tends to fall on its face when doing anything non-trivial. Has anyone found any performance tweaks that help?
camsbury has quit [Client Quit]
<srhb> pinkypie: That is what writeText does.
dermetfan has quit [Ping timeout: 246 seconds]
rycwo has joined #nixos
<rycee> WhittlesJr: I do. Works reasonably for me on an SSD.
<rycee> But yeah, somewhat slow.
<WhittlesJr> rycee: Probably doesn't help that I'm on a VM >_<
<colemickens> Hm, if I build a system configuration manually executing `$out/bin/switch-to-configuration switch` should create the bootloader entry, but it doesn't seem to be for me.
Soo_Slow has quit [Remote host closed the connection]
<rycee> WhittlesJr: Ow, yeah. I can imagine that slowing things down a bit.
<catern> srhb: I guess that's not completely driveby, but this package at least causes a bunch of breakage
lucus16 has joined #nixos
<srhb> catern: No doubt. I was just pointing out that it was probably a bad example for any specific autobreakage. :)
<{^_^}> [nixpkgs] @NickHu opened pull request #55664 → cups-brother-hl3140cw: init at 1.1.4-0 → https://git.io/fhQ5r
rprije has joined #nixos
<catern> ugh, hm
<catern> maybe I'll make a new construct28 package
Guest7777 has quit [Ping timeout: 246 seconds]
seanparsons has quit [Remote host closed the connection]
philippD has joined #nixos
alex``` has quit [Ping timeout: 245 seconds]
rycwo has quit [Ping timeout: 246 seconds]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @pmahoney opened pull request #55665 → Freeswitch 1.8 → https://git.io/fhQ59
alex``` has joined #nixos
civodul has joined #nixos
doyougnu has joined #nixos
bbarker2 has quit [Ping timeout: 246 seconds]
ThatOtherGuy is now known as LogicAside
Glider_IRC__ has joined #nixos
agander_ has quit [Quit: Leaving]
jabranham has joined #nixos
Glider_IRC_ has quit [Ping timeout: 250 seconds]
fendor_ has quit [Ping timeout: 246 seconds]
aswanson has quit [Remote host closed the connection]
shibboleth has joined #nixos
<__monty__> Broken record I know but: Can anyone spot the difference between md and epub? I don't understand the error. default.nix http://ix.io/1ASl , error http://ix.io/1ASk
Lears has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
npmccallum has joined #nixos
logand` has joined #nixos
akapav_ has joined #nixos
kreisys has joined #nixos
<gchristensen> is there a way to extract a nar without adding it to the store?
noonien_ has joined #nixos
[Leary] has quit [Ping timeout: 240 seconds]
lopsided98 has quit [Remote host closed the connection]
Guest55981 has quit [Quit: No Ping reply in 180 seconds.]
FRidh[m] has quit [Ping timeout: 240 seconds]
Barnabas[m] has quit [Ping timeout: 240 seconds]
logand has quit [Ping timeout: 240 seconds]
drakonis has quit [Ping timeout: 240 seconds]
stigo has quit [Ping timeout: 240 seconds]
IRCsum has quit [Ping timeout: 240 seconds]
akapav has quit [Ping timeout: 240 seconds]
sphalerite has quit [Ping timeout: 240 seconds]
stigo has joined #nixos
noonien has quit [Ping timeout: 240 seconds]
noonien_ is now known as noonien
Barnabas[m] has joined #nixos
anton has joined #nixos
drakonis has joined #nixos
sphalerite_ has joined #nixos
lopsided98 has joined #nixos
anton is now known as Guest36858
slyfox_ is now known as slyfox
IRCsum has joined #nixos
aswanson has joined #nixos
FRidh[m] has joined #nixos
doyougnu has quit [Quit: WeeChat 2.2]
johanot has quit [Quit: WeeChat 2.2]
<samrose_> anyone have a good example of using mozilla rust overlay in either a package or module, or both?
shibboleth has quit [Quit: shibboleth]
doyougnu has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
rpg has joined #nixos
<ottidmes> samrose_: I had them, but removed them, I have settled for mozilla rust overlay for shell.nix so I get extra tools, and using the nixos-unstable rustc with RUSTC_BOOTSTRAP = 1;
<gchristensen> answer: nix-store --restore
<samrose_> ottidmes: is mozilla rust overlay only really meant for shell.nix usage?
<ottidmes> samrose_: its only meant for local development, be that nix-shell or your own configuration, not for contributing to Nixpkgs
<LnL> gchristensen: there's also nix cat-nar
<samrose_> ottidmes: I am creating my own custom packages in my own custom version of nixos, and wondering if there are existing straightforward ways to install and use specific version of rust in that context
<gchristensen> nice
<ottidmes> samrose_: there is, its on the README of the mozilla overlay, you can ask it for a specific build of rustc
<slabity> samrose: I actually do this exact thing with the mozilla overlay.
vk3wtf has quit [Ping timeout: 250 seconds]
<LnL> gchristensen: I didn't know dump/restore worked outside of the store tho
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55305 → Lua: moving some package to the luarocks whitelist → https://git.io/fh9ut
<{^_^}> [nixpkgs] @7c6f434c pushed 6 commits to master: https://git.io/fhQdz
<gchristensen> LnL: cat nar | nix-store --restore ./right-here <- exports it to ./right-here :)
<slabity> I just put `preferredRustChannel = super.rustChannelOf { date = "..."; channel = "nightly" };' in my local overlay.
<samrose_> ottidmes: yes, I can get a specific version of rust with rust overlay in shell.nix, but I cannot seem to use it in a nixos module or nixos package in my custom build of nixos
<LnL> gchristensen: neat, and I assume dump doesn't necessarily take a store path either?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #52854 → libev: 4.24 -> 4.25 → https://git.io/fhUjv
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/fhQdo
<ottidmes> which I really recommend to do, I just ook the most basic example, but that does not pin, and then it automatically updated, causing one tool to no longer be available. I tried getting an older version, but that did not bring it back, so do yourself a favour and pin the build if not the overlay itself
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/91c71579190 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<gchristensen> hmm not sure
dermetfan has joined #nixos
<slabity> samrose_: Looks like my solution requires the mozilla overlay to get the 'rustChannelOf' variable
<LnL> gchristensen: yep
erasmas has quit [Ping timeout: 250 seconds]
<ottidmes> samrose_: this helped me, you can imagine adding this to an overlay to make it available in the rest of your NixOS: https://news.ycombinator.com/item?id=16773899
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kreisys has joined #nixos
ixxie has joined #nixos
eadwu has joined #nixos
stites has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @dtzWill opened pull request #55666 → trilium: 0.28.3 -> 0.29.1 → https://git.io/fhQdp
<{^_^}> [nixpkgs] @Ma27 merged pull request #55564 → todoist: init at 0.13.1 → https://git.io/fhQs4
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhQFe
Ariakenom has quit [Quit: Leaving]
knupfer has quit [Ping timeout: 252 seconds]
stites has joined #nixos
silver_ has joined #nixos
silver has quit [Ping timeout: 245 seconds]
silver_ is now known as silver
stites has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
ddellacosta has quit [Ping timeout: 250 seconds]
ddellacosta has joined #nixos
samrose_ has quit [Ping timeout: 246 seconds]
samrose has joined #nixos
stites has joined #nixos
ixxie has quit [Ping timeout: 268 seconds]
sphalerite_ is now known as sphalerite
cswl has quit [Quit: Connection closed for inactivity]
ddellacosta has quit [Ping timeout: 245 seconds]
stites has quit [Client Quit]
stites has joined #nixos
q6AA4FD has joined #nixos
ddellacosta has joined #nixos
stites has quit [Client Quit]
stites has joined #nixos
<{^_^}> [nixpkgs] @amazari opened pull request #55667 → zoneminder: fix build issue when using createLocally database → https://git.io/fhQFI
<ddellacosta> so I'm trying to follow the instructions for creating a basic nix expression in the manual, and I'm stuck immediately: `error: cannot auto-call a function that has an argument without a default value │ arq1
<ddellacosta> │ | ('stdenv')` Can anyone help me sort out what this means? Searching hasn't yielded much so far
<ddellacosta> argh, sorry about the formatting
samrose has quit [Quit: Konversation terminated!]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
leungbk has joined #nixos
<ddellacosta> nevermind, I found https://github.com/NixOS/nix/issues/2259
<{^_^}> nix#2259 (by pushcx, 32 weeks ago, open): Manual's build example doesn't build
_kwstas has quit [Quit: _kwstas]
<dtz> anyone interested in https://github.com/dtzWill/nur-packages/blob/master/modules/powerline-symbols.nix ? If useful can make a PR but not sure if anyone else'd find it useful or not O:)
seanparsons has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @bwolf opened pull request #55668 → qemu: Add support for the Hypervisor framework on Darwin → https://git.io/fhQFB
<__monty__> I really don't understand why this http://ix.io/1ASk happens for $out/novel.epub but not $out/novel.md? http://ix.io/1ASl
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55528 → Update Gambit and Gerbil from Upstream → https://git.io/fhHhn
<{^_^}> [nixpkgs] @7c6f434c pushed 5 commits to master: https://git.io/fhQFR
<ddellacosta> nope, that github issue doesn't help me. Anyone have a link to a working example of a very basic nix expression for e.g. installing your own script or the like?
seanparsons has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @averelld opened pull request #55669 → flashplayer: 32.0.0.114 -> 32.0.0.142 → https://git.io/fhQFu
<ddellacosta> I'd really like to try to understand the most basic thing possible, and the official docs are making that hard
seanparsons has joined #nixos
<noonien> hmm, do derivation builders not have access to the internet?
logand` has quit [Ping timeout: 258 seconds]
<manveru> noonien: nope
<manveru> fixed output derivations do, though
<noonien> i see, how does fetchurl work then, for example?
<noonien> oh, nice!
<manveru> stuff like fetchTarball or fetchGit
<noonien> so i have to define sha* on the derivation
<manveru> yeah, that's so nix can calculate the resulting hash before even starting
vk3wtf has joined #nixos
<noonien> i thought that might be the case, thanks!
<q6AA4FD> i thought they had some kind of access to the internet if you didn't run them with --pure
<manveru> --pure is for nix-shell
<q6AA4FD> manveru: oh, right. i see
<manveru> and nix-shell always has access, --pure only affects its environment variables afaicr
samrose has joined #nixos
alex``` has quit [Read error: Connection reset by peer]
leungbk has quit [Ping timeout: 250 seconds]
<noonien> what are the `outputHash` and `outputHashAlgo` parameters for? i see there's also md5, sha1, sha256, sha512
<samrose> ottidmes: I am actually taking a crack at refactoring/using https://github.com/solson/rust-nightly-nix/blob/master/default.nix for a moment.
<manveru> noonien: they're mostly if you want to roll your own fetcher
<noonien> that's what i'm trying to do, and why i'm asking
<manveru> noonien: see the examples in nixpkgs pkgs/build-support/build*
juliendehos has quit [Quit: Leaving]
Makaveli7 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @dtzWill merged pull request #55661 → gnupg: 2.2.12 -> 2.2.13 → https://git.io/fhQQR
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhQF2
ym555 has joined #nixos
<__monty__> ddellacosta: Does it work if you add `with import <nixpkgs> {};` to the top?
alex``` has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
ryantrinkle has quit [Ping timeout: 250 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex``` has quit [Read error: Connection reset by peer]
simukis has quit [Quit: simukis]
<ddellacosta> __monty__ nope
npmccallum_ has joined #nixos
<ddellacosta> I'm going to give the Nix Pills a shot now, seems like it may cover some of the same material in a more accessible fashion
alex``` has joined #nixos
<__monty__> ddellacosta: Oh, wait. You need this: http://ix.io/1ATK
npmccallum has quit [Ping timeout: 258 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<__monty__> That's my release.nix, you could also put it in default.nix though. It's a matter of taste.
<ddellacosta> __monty__: okay. I appreciate it, but I have absolutely no context for that and I'd like to get a better sense of how this all fits together. I'll file that away though in case I figure out how it all works at some point...
<__monty__> ddellacosta: You need the callPackage call because the example derivation's actually written as a package in nixpkgs, which basically does callPackage for you. callPackage is what fills in the arguments like { stdenv }: ...
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<ddellacosta> __monty__: okay, thanks for the explanation, that was helpful
tA is now known as teeAyy
<{^_^}> [nixpkgs] @dotlambda opened pull request #55670 → python.pkgs.dateparser: 0.7.0 -> 0.7.1 → https://git.io/fhQFb
<teeAyy> im trying to update one of the nixpkg derivations that out of date, is there an easy way to tell it to just fetch the latest master branch?
ikitat has quit [Ping timeout: 257 seconds]
doyougnu has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @LnL7 opened pull request #55671 → aws-sdk-cpp: fix darwin sandbox build and cleanup → https://git.io/fhQFh
<ottidmes> ,unstable teeAyy
Shados_ has quit [Quit: Shados_]
Shados has joined #nixos
stites has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
stites has joined #nixos
samrose has quit [Remote host closed the connection]
WhittlesJr has quit [Quit: Page closed]
<noonien> hmm, can a derivation not generate a directory?
<noonien> i get an error saying that the output path should be a non-executable regular file
kreisys has joined #nixos
__monty__ has quit [Quit: leaving]
mobile_c_ has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
fragamus has joined #nixos
<noonien> i've got `recursiveHash = true;`
drakonis has joined #nixos
random_yanek has quit [Ping timeout: 272 seconds]
DeaDSouL has quit [Ping timeout: 246 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<noonien> nvm, should have been `outpouHashMode = "recursive";`
dramforever has joined #nixos
DeaDSouL has joined #nixos
jasongrossman has joined #nixos
pinkypie has quit [Ping timeout: 246 seconds]
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
random_yanek has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #55672 → pythonPackages.tornado: fix darwin sandbox build → https://git.io/fhQbu
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<dramforever> wait, there's sandbox on darwin?
doyougnu has joined #nixos
alex``` has quit [Ping timeout: 245 seconds]
<LnL> there are some problems with it, but yes
aleph- has quit [Ping timeout: 250 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
<dmj`> I have a nixos test that runs in qemu, anybody know why it would be 4-5 time faster on a NixOS machine than on ubuntu? Assume both have KVM installed (/dev/kvm present), same memory / processor
sigmundv has joined #nixos
<noonien> dmj`: have you tried profiling your test?
<dmj`> noonien: I didn't know I could to that
<dmj`> noonien: how do I profile it?
<noonien> wait, what do you mean by "nixos test"?
<dmj`> noonien: like it runs the nixos testing framework, boots nixos in qemu, mounts the /nix/store and goes to town
eadwu has quit [Quit: WeeChat 2.3]
<noonien> ooh, i was confused, i think it's called a "nix test", since you can run it in ubuntu as well, not just nixos
<noonien> that being said, i'm a new, don't know much about the testing framework, but there's plenty of tools to profile progams in linux, afaik
jackdk has joined #nixos
<dmj`> noonien: ok, thanks
npmccallum_ has quit [Ping timeout: 250 seconds]
<noonien> people usually recommend pprof, i've not tried it myself, i'd probably start by running it with strace
Thra11 has quit [Ping timeout: 245 seconds]
shibboleth has joined #nixos
<noonien> how can i compute the sha256 of a directory, so i can pass it to a nix derivation?
asymmetric has quit [Quit: Leaving]
work_ has joined #nixos
<noonien> ah, `nix-hash --base32 --type sha256 .` seems to do what i want
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fhQbH
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.09: https://git.io/fhQbQ
pie___ has joined #nixos
ng0 has joined #nixos
<{^_^}> [cabal2nix] @shlevy pushed to internal-haddock-revert « Revert "Disable Haddock phase for packages with internal libraries." »: https://git.io/fhQbb
pie___ has quit [Remote host closed the connection]
pie__ has quit [Ping timeout: 246 seconds]
<{^_^}> [cabal2nix] @shlevy opened pull request #405 → Revert "Disable Haddock phase for packages with internal libraries." → https://git.io/fhQbh
pie__ has joined #nixos
stites has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
stites has joined #nixos
stites has quit [Client Quit]
stites has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #55285 → syncthing 1.0.0 -> 1.0.1 → https://git.io/fh988
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhQNf
ifndef_define has joined #nixos
Rusty1 has joined #nixos
stites has quit [Client Quit]
<{^_^}> [nixpkgs] @averelld opened pull request #55673 → nextcloud-client: fix crash → https://git.io/fhQNJ
<ifndef_define> Hi everyone. Does anyone know why Virtualbox compiles from source when using `virtualisation.virtualbox.host.enable = true;` in nixos configuration, but fetches a binary from the cache when using `environment.systemPackages = [ pkgs.virtualbox ];` or just through nix-env
mek42_laptop has joined #nixos