sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
zik[m]1 has left #nixos ["User left"]
jluttine has joined #nixos
_rvl has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64079 → matio: 1.5.15 -> 1.5.16 → https://git.io/fjKzC
jluttine has quit [Ping timeout: 245 seconds]
<switchy> forgive me if this is rtfm-able, but e.g. the hdf5 package has 'cpp' and 'mpi' options -- how do I specify things like that (and see what's available without looking at the package derivations themselves)
hio has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
_rvl has joined #nixos
<exarkun> I spent a bunch of time looking at package derivation expressions.
<exarkun> like just now I looked at nixpkgs.python3Packages.pygobject3 to see if there's some option to get Gtk support turned on
<exarkun> didn't find it, though
alpounet has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64080 → mc: 4.8.22 -> 4.8.23 → https://git.io/fjKzB
v0|d has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #64081 → aws-azure-login: init 1.7.0 → https://git.io/fjKzu
joehh has joined #nixos
MmeQuignon has quit [Ping timeout: 246 seconds]
day|flip has joined #nixos
MmeQuignon has joined #nixos
<adamantium> Hey, I've never made a nixos systemd service before, or really any serious systemd service either. I have a one liner while loop I need to be running by root 24/7. Any good idea for how to turn this into a nix service?
<pie__> switchy, i think you generally do have to read the source
<adamantium> while inotifywait -r -e modify,create,delete /boot ; do rsync -av --delete /boot/ /boot2 ; done
<switchy> pie__, fair enough, and how do I install a derivation (?) with those attributes (?)
<pie__> adamantium, havent done it myself but i recommend looking at some existing service to see how to use the nix side of things (i think it corresponds pretty directly to the systemd options though)
<infinisil> switchy: I once made a PR which would've made this queriable: https://github.com/NixOS/nixpkgs/pull/47535
<{^_^}> #47535 (by Infinisil, 39 weeks ago, closed): lib.makeOverridable: Propagate function arguments
<adamantium> I can't even write a regular systemd service, is my problem i think
<pie__> adamantium, so nix is probably the easy part and then you have to figure out what systems wants :V
<adamantium> yes, that's what I'm saying.
<adamantium> lol
<pie__> adamantium, yeah haha. but this specific instance might have some stackexchange solution
<switchy> ah, these are overrides? good to know the lingo
<pie__> switchy, welcome to nix :D
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjKzo
<pie__> infinisil, closing it because you dont care feels kind of odd :V id jsut say "im not dealing with this right now" and leave it open
<infinisil> switchy: I might pick up that PR again eventually if there's enough people interested
<infinisil> pie__: Hmm maybe
<switchy> infinisil, I am very green to all of this, so I don't really know what I'm doing :)
<pie__> switchy, its normal :3
<pie__> switchy, good luck \o/ the community is very positive in my experience so do stick around, and when you git gud, give a hand ;D
<switchy> I'm more than happy to get involved, if I ever get my head around what I'm doing ;)
<infinisil> Yeah that's very customary, make sure to give the left hand if you're right-handed though, otherwise life will be tough!
<jackdk> seconding pie__ 's statement. I've had a lot of help packaging stuff an getting PRs done. People are good but overloaded, but even so it's been one of the smoothest onboardings I've ha across packaging systems
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64082 → minizincide: 2.2.3 -> 2.3.0 → https://git.io/fjKz6
<joehh> adamantium: this may be a good start: https://paste.debian.net/1089955/
<exarkun> has anyone gotten the gnucash python bindings working on nixos? I built them but they crash with some gobject/gtk errors
drakonis1 has joined #nixos
<exarkun> https://gist.github.com/exarkun/125b7842f2c7cb886cb2ac283742dab6 at startup and there is no importable `gnucash` module
<jackdk> I don't gnucash, but it smells like #56943 ?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/56943 (by emmanuelrosa, 16 weeks ago, open): setup hook of gobject-introspection in nativeBuildInputs does not run with strictDeps
orivej has quit [Ping timeout: 258 seconds]
<exarkun> hmm interesting
<adamantium> joehh: thanks!!! this actually is what I had started before you messaged me, http://ix.io/1Ntl/nix , but maybe I should do it your way might be better? (I haven't tested either, yet)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64083 → miniupnpc_2: 2.1.20190408 -> 2.1.20190625 → https://git.io/fjKz1
ris has quit [Ping timeout: 260 seconds]
<jackdk> ,wrapGAppsHook = Maybe this is one of those wrapGAppsHook/strictDeps things? (#56943)
<{^_^}> wrapgappshook defined
<joehh> what you have looks good, though I'm not sure about being able to do the while and other shell type stuff in ExecStart
<jackdk> ,wrapgappshook
<{^_^}> Maybe this is one of those wrapGAppsHook/strictDeps things? (#56943)
<joehh> hence the use of script (outside the serviceConfig chunk)
<joehh> I haven't tested mine either, just removed bits from a running example of ours
<jackdk> ,wrapGAppsHook = Maybe this is one of those wrapGAppsHook/strictDeps things? ( https://github.com/NixOS/nixpkgs/issues/56943 )
<{^_^}> wrapgappshook redefined, was defined as Maybe this is one of those wrapGAppsHook/strictDeps things? (#56943)
<adamantium> joehh: I like yours, will try it first. thanks
MmeQuignon has quit [Ping timeout: 258 seconds]
<pie__> could just call a shell script if not<joehh> what you have looks good, though I'm not sure about being able to do the while and other shell type stuff in ExecStart
<joehh> also biggest difference between what you have and what I have is you appear to be defining a module (something I have no experience with)
<lordcirth__> samueldr, finally got it nearly working, then the VM ran out of disk
<joehh> where my example is just defining a service directly
<samueldr> lordcirth__: oh no
thc202 has quit [Ping timeout: 268 seconds]
<samueldr> lordcirth__: just verified, still works with updated nixos-unstable
<exarkun> jackdk: cool, wrapGAppsHook seems to have helped
<lordcirth__> samueldr, I ran collect-garbage and I'm trying again. If this fails I'll expand the VM I guess
<pie__> wrapgappshook is a fun one
<pie__> kind of obscure i mean
<exarkun> at least, the error is gone :) now I have to learn how to use this thing...
<samueldr> lordcirth__: you likely only evicted whatever was built from the VM, without much else :/
<samueldr> lordcirth__: unless you were bytes shy, it's likely to still fail
<lordcirth__> samueldr, yeah, you're probably right. I'll just expand it now
<pie__> is there some part of the manual that wrapgappshook could get mentioned so someone can actually find it
allenj12 has joined #nixos
<adamantium> joehh: / pie__ thanks so far. Now im stuck http://ix.io/1Nto/nix with "error: The option `systemd.copyBoot' defined in `/nix-config/modules/services/copyboot.nix' does not exist."
lovesegfault has joined #nixos
<allenj12> Hey I am trying to install nix but getting alignment issues when making the partitions. optimal_io_size is 0, minimum is 512, alignment_offset is 0, and physical_block_size is 512.
<pie__> adamantium, read it over again ;)
<pie__> adamantium, its simple mistake
<adamantium> .serivces
<adamantium> thanks pieeeee
<allenj12> how can I set the alignment if optmimal_io_size is 0
<pie__> adamantium, err..i think. re: i havent actually done this myself so im just guessing here
<adamantium> the service is already enabled and working now
<adamantium> LOL. Thanks!@
psy3497 has joined #nixos
<allenj12> http://markelov.org/wiki/index.php?title=Warning:_The_resulting_partition_is_not_properly_aligned_for_best_performance. this is my exact scenario, but the result does not make sense, if im trying to make a swap at -8GiB... how is it still not aligned?
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64084 → mkvtoolnix: 34.0.0 -> 35.0.0 → https://git.io/fjKgG
<{^_^}> [nixpkgs] @paulreimer opened pull request #64085 → Additional vim plugin names → https://git.io/fjKgZ
shlevy_ has quit [Ping timeout: 252 seconds]
joehh has quit [Ping timeout: 248 seconds]
ericnoan has quit [Quit: ZNC - http://znc.in]
stevejb has quit [Quit: Lost terminal]
Drakonis has joined #nixos
shlevy has joined #nixos
jluttine has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3ddbe024f73 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @ryantm merged pull request #64076 → lynis: 2.7.4 -> 2.7.5 → https://git.io/fjKzq
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjKg0
ericnoan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64087 → mopidy: 2.2.2 -> 2.2.3 → https://git.io/fjKgz
silver has quit [Read error: Connection reset by peer]
adamantium has quit [Ping timeout: 276 seconds]
aaron1 has joined #nixos
<allenj12> I really cant get this right for the life of me :(
aaron1 is now known as Ashy
<allenj12> is there a way to get parted to just suggest you a partition starting point / end point to get it aligned?
selfsymmetric-mu has joined #nixos
<gchristensen> ack I've not solved that one either
mexisme has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #63992 → catimg: 2.5.0 -> 2.6.0 → https://git.io/fjKYJ
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjKgX
<{^_^}> [nixpkgs] @ryantm merged pull request #63991 → calcurse: 4.4.0 -> 4.5.0 → https://git.io/fjKmh
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjKg1
<lordcirth__> allenj12, use a slightly higher-level tool like fdisk?
<allenj12> ill give it a shot
<lordcirth__> parted is pretty arcane
joehh has joined #nixos
<sonercirit[m]> is setting `hardware.cpu.intel.updateMicrocode` enough for microcode?
<sonercirit[m]> I feel like this should be in the manual
xkapastel has quit [Quit: Connection closed for inactivity]
<day|flip> maybe you can add this one as will: hardware.enableRedistributableFirmware = true;
<day|flip> there one more extreame one as will
<lordcirth__> samueldr, I built the NixOS VM on a dm-integrity block device as an experiment; can't resize it. I just installed another one...
waleee-cl has quit [Quit: Connection closed for inactivity]
<day|flip> sonercirit[m]: this is kinda exreame and maybe don't need it. hardware.enableAllFirmware = true;
<sonercirit[m]> day|flip: what's the difference between the two? enableAll seems better?
drakonis_ has joined #nixos
drakonis2 has joined #nixos
clacke_movim has left #nixos [#nixos]
<sonercirit[m]> ty, I'll check it out
drakonis1 has quit [Ping timeout: 252 seconds]
clacke_movim has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #63551 → roon-server: init at 100600401 → https://git.io/fjVoJ
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/fjKg7
AtnNn has quit [Remote host closed the connection]
demize has quit [Quit: Do Androids Dream of Electric Sheep?]
alex`` has quit [Ping timeout: 246 seconds]
statusfailed has quit [Remote host closed the connection]
<allenj12> lordcirth__ how do you set the boot partition in parted, like which partition type and setting the flag
<lordcirth__> allenj12, the bootable flag hasn't been needed since grub2
<allenj12> partition type?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64088 → newlib: 3.0.0 -> 3.1.0 → https://git.io/fjKgx
<lordcirth__> And partition type will, I think, default to "Linux" which is generally what you want
<clever> lordcirth__: gpt or mbr?
<lordcirth__> however "mkpart part-type [fs-type] start end"
<lordcirth__> clever, both?
xcthulhu has joined #nixos
<clever> lordcirth__: mbr booting doesnt need that much special stuff with the boot partition
<clever> lordcirth__: legacy on gpt, requires a bios boot partition, which is not /boot and cant be mounted
Guest11706 has quit [Ping timeout: 248 seconds]
<lordcirth__> That's true. Been a while since I did legacy on gpt
ottidmes has quit [Quit: WeeChat 2.4]
joehh has quit [Ping timeout: 272 seconds]
xcthulhu has quit [Client Quit]
<allenj12> so its just GPT
<allenj12> I do not see a just Linux, I see linux swap/filesystem/server data/ root/reserved/home/raid/extended boot/lvm
<clever> half of those arent really partition types, and are more of where you mount them
<allenj12> so... keep it linux filesystem?
adamantium has joined #nixos
<allenj12> so that seems to use BIOS boot
<allenj12> is that applicable to UEFI
<clever> ${lib.optionalString (! cfg.uefi) "4 : size=4096, type=21686148-6449-6E6F-744E-656564454649"}
<clever> if its not efi, it creates bios boot
<clever> ${lib.optionalString (cfg.bootType != "zfs") "1 : size=${toString (2048 * cfg.bootSize)}, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4"}
<clever> if /boot is not on zfs, make a /boot partition
<sonercirit[m]> with `[root@nixos:~]# dmesg | grep microcode`
<clever> ${lib.optionalString (cfg.bootType != "zfs") "export NIXOS_BOOT=${cfg.rootDevice}${x}1"}
<clever> put sda1 into the variable, if we have a boot partition
<clever> ${lib.optionalString (cfg.bootType != "zfs") "mount $NIXOS_BOOT /mnt/boot/"}
<clever> mount it, if we have one
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64089 → nmon: 16j -> 16k → https://git.io/fjK2t
<sonercirit[m]> I don't think I've managed to enable the microcode
<sonercirit[m]> with ` hardware.cpu.intel.updateMicrocode = true;`
<clever> allenj12: and the mkBootTable deals with ext4 or vfat for /boot/
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d0970c4c113 (from 48 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<adamantium> Hey guys -- did emacs for nix break today or does this just mean that elpa is down or something? http://ix.io/1Ntz
<simpson> adamantium: curl: (7) Failed to connect to elpa.gnu.org port 443: No route to host
demize has joined #nixos
adamantium has quit [Remote host closed the connection]
justanotheruser has joined #nixos
adamantium has joined #nixos
<vaibhavsagar> Can `patchelf` patch arbitrary paths inside a binary?
<clever> sonercirit[m]: https://nixos.org/nixos/options.html#microcode is what ive seen before
<vaibhavsagar> My assumption was yes but the README doesn't seem to support thi
<sonercirit[m]> clever: the opiton is enabled but it still doesn't work
slack1256 has joined #nixos
<clever> sonercirit[m]: the nix file just adds a img file to be prepended to the initrd
<clever> sonercirit[m]: and then the function call to generate the initrd, takes the list of things to prepend
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> sonercirit[m]: and then it will write those to the output file, before appending the actual initrd body
<clever> sonercirit[m]: does dmesg say anything as it boots?
laalf has joined #nixos
<sonercirit[m]> `[ 0.000000] microcode: microcode updated early to revision 0xb4, date = 2019-04-01`
<clever> sounds like its working just fine
stepcut has quit [Remote host closed the connection]
<sonercirit[m]> but I think it boots into earlier version
<{^_^}> [nixpkgs] @xrelkd opened pull request #64090 → youtube-dl: 2019.06.27 -> 2019.07.02 → https://git.io/fjK2O
<sonercirit[m]> this says latest update is `20190618`
<clever> sonercirit[m]: what does `nix eval nixpkgs.lib.version` return?
<sonercirit[m]> `"19.09pre184290.460136f8a3a"`
<{^_^}> [nixpkgs] @kalbasit opened pull request #64091 → pre-commit: 1.16.1 -> 1.17.0 → https://git.io/fjK23
<clever> sonercirit[m]: yeah,that rev is still on 20190618....
<monokrome> ok samueldr, clever - so I figured out that the bottleneck on your display resolution seems to be coming from the dock inbetween the laptop and monitors
<monokrome> X1 Carbon dock
<monokrome> All 3 monitors work fine until I try to take those monitors over 1080p
* monokrome explodes
<sonercirit[m]> @clever I'm not sure what's wrong here, could it be related to systemd-boot?
<clever> sonercirit[m]: one min
<sonercirit[m]> ofc
<monokrome> This was regarding my crtc failed xrandr errors last week btw*
<clever> sonercirit[m]: what does `nix show-derivation /run/current-system/initrd | grep prepend` report?
jb55 has quit [Ping timeout: 260 seconds]
<sonercirit[m]> ` "prepend": "/nix/store/ykb5jabx0ilq9r96pqilddrkd8x035nb-microcode-intel-20190618/intel-ucode.img",`
<clever> sonercirit[m]: all i can think of is to try grub or legacy booting
<sonercirit[m]> I'll try grub first
sindrip has joined #nixos
jb55 has joined #nixos
<allenj12> Ok I think i got it
<allenj12> is there a programming dvorak layout for xserver.layout?
hio has quit [Quit: Connection closed for inactivity]
amakthel has joined #nixos
<allenj12> ahh dvp
<{^_^}> [nixpkgs] @xrelkd opened pull request #64092 → rust-bindgen: 0.49.3 -> 0.50.0 → https://git.io/fjK2c
adamantium has quit [Remote host closed the connection]
adamantium has joined #nixos
xcthulhu has joined #nixos
<day|flip> sonercirit[m]: just wondering. do you have: nixpkgs.config.allowUnfree = true; ?
<allenj12> ok so I rebooted!
<allenj12> but I did not set a password for my user...
<allenj12> and it did not ask
<day|flip> allenj12: on your first reboot. alt+ctrl+f1 or f3 but not f7. that the gui
<day|flip> login into root
<sonercirit[m]> day|flip: yes I do ` nixpkgs.config.allowUnfree = true;`
<day|flip> passwd USER
<sonercirit[m]> clever: same with grub `[ 0.000000] microcode: microcode updated early to revision 0xb4, date = 2019-04-01`
<day|flip> allenj12: then switch back to alt+ctrl+f7 and log in
joehh has joined #nixos
<switchy> is there a log available for nix-build?
xcthulhu has quit [Quit: xcthulhu]
<allenj12> day|flip ty
<day|flip> no problem
<clever> switchy: `nix-store -l /nix/store/foo`
<switchy> clever, perfect, thanks
<allenj12> is there a way to set the tty resolution? i havent set a desktop environment yet, and the tty is like 1/5th of my screen
<day|flip> i been having that issue when my main computer. like it set it out of ramdom a stupid small size
<day|flip> s/when/with
mexisme has joined #nixos
<day|flip> ya. try looking at text at got set to 180p on a 2k monitor. you cant bloody ready anything
Drakonis has quit [Quit: WeeChat 2.4]
<day|flip> at less. when sddm pop up. size is normal
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #64093 → protoc-gen-doc: init unstable at 2019-04-22 → https://git.io/fjK22
<allenj12> :( yea I dont see any option te set either
<day|flip> i don't think it that big of deal. thanks for journalctl. if i need to see if something going bad.
<{^_^}> [nixpkgs] @xrelkd opened pull request #64094 → parity: 2.4.8 -> 2.4.9, parity-beta: 2.5.3 -> 2.5.4 → https://git.io/fjK2w
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @kalbasit merged pull request #64091 → pre-commit: 1.16.1 -> 1.17.0 → https://git.io/fjK23
<{^_^}> [nixpkgs] @kalbasit pushed to master « pre-commit: 1.16.1 -> 1.17.0 (#64091) »: https://git.io/fjK2o
clacke_movim has left #nixos [#nixos]
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #64095 → discord-canary: 0.0.84 -> 0.0.85 → https://git.io/fjK2i
sindrip has quit [Ping timeout: 260 seconds]
<allenj12> hmm the default enable.wireless fails trying to read the wpa_supplicant config file
<clever> allenj12: i just manually create one with wpa_passphrase
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lovesegfault has quit [Quit: WeeChat 2.5]
pbb has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @offlinehacker merged pull request #64068 → libsass: 3.6.0 -> 3.6.1 → https://git.io/fjKut
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/fjK2D
<{^_^}> [nixpkgs] @ryantm merged pull request #64089 → nmon: 16j -> 16k → https://git.io/fjK2t
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjK2y
<{^_^}> [nixpkgs] @ryantm merged pull request #64034 → gnomeExtensions.appindicator: 28 -> 29 → https://git.io/fjKli
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjK2S
<{^_^}> [nixpkgs] @MP2E pushed commit from @tadeokondrak to master « discord-canary: 0.0.84 -> 0.0.85 »: https://git.io/fjK29
<{^_^}> [nixpkgs] @kalbasit merged pull request #64044 → helmfile: 0.77.0 -> 0.79.3 → https://git.io/fjK4H
<{^_^}> [nixpkgs] @kalbasit pushed commit from @r-ryantm to master « helmfile: 0.77.0 -> 0.79.3 (#64044) »: https://git.io/fjK2H
<{^_^}> [nixpkgs] @MP2E closed pull request #64095 → discord-canary: 0.0.84 -> 0.0.85 → https://git.io/fjK2i
<{^_^}> [nixpkgs] @kalbasit merged pull request #64093 → protoc-gen-doc: init unstable at 2019-04-22 → https://git.io/fjK22
<{^_^}> [nixpkgs] @kalbasit pushed to master « protoc-gen-doc: init unstable at 2019-04-22 (#64093) »: https://git.io/fjK2Q
<allenj12> ty, one more question, how does nix deal with things like i3 it seems that there is still a config file for that in home, can that be automated in a nix script? it seems like you can only set the config home directory
<lordcirth__> allenj12, for user directory stuff you probably want home-managar
<lordcirth__> manager*
<allenj12> alright ty, ill look into that!
<allenj12> I gotta sleep ty so much for all the help guys
allenj12 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kalbasit merged pull request #63886 → packr: init at 2.5.1 → https://git.io/fjo4t
<{^_^}> [nixpkgs] @kalbasit pushed commit from @mmahut to master « packr: init at 2.5.1 (#63886) »: https://git.io/fjK2F
clacke_movim has joined #nixos
devalot has quit [Quit: ZNC - http://znc.in]
adamantium has quit [Remote host closed the connection]
mthst has quit [Ping timeout: 245 seconds]
adamantium has joined #nixos
adamantium has joined #nixos
adamantium has quit [Changing host]
<adamantium> hey im getting this message in journalctl every 3 seconds: Jul 01 21:12:50 latitude org.freedesktop.Notifications[8211]: WARNING: No icon found in path: 'dialog-information'
<adamantium> What should I do
<{^_^}> [nixpkgs] @kalbasit merged pull request #63927 → bazel: add a test asserting java and java proto → https://git.io/fjo5C
<{^_^}> [nixpkgs] @kalbasit pushed to master « bazel: add a test asserting java and java proto (#63927) »: https://git.io/fjK2p
levdub has quit [Ping timeout: 245 seconds]
adamantium has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm opened pull request #64096 → treewide: fix malformed homepage URLs → https://git.io/fjK2j
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64097 → ogre: 1.12.0 -> 1.12.1 → https://git.io/fjKae
slack1256 has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/e0c7712eac6 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
mexisme has quit [Ping timeout: 272 seconds]
domogled has joined #nixos
adamantium has joined #nixos
<adamantium> okay -- everytime dunst sends a notification, e.g. "notify-send foo" journalctl displays Jul 01 21:32:00 latitude org.freedesktop.Notifications[21817]: WARNING: No icon found in path: 'dialog-information'
<adamantium> Any ideas how to fix this?
domogled has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/73392e79aa6 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
dansho has quit [Ping timeout: 245 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
roitme[m] has joined #nixos
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64100 → openh264: 1.8.0 -> 2.0.0 → https://git.io/fjKaY
<switchy> is there a maximum length on strings or on array elements in configureFlags? I have an entry that seems to be ignored entirely if it's too long
slack1256 has quit [Remote host closed the connection]
<day|flip> If it one with = '' fit w/e you want here ''; then no. you can fit the hole config file
m0rphism has joined #nixos
<switchy> seems to get ignored with either quote style
<switchy> if I put it in configureFlagsArray it works
adamantium has quit [Remote host closed the connection]
Cale has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/bb25197a000 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
ddellacosta has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64101 → opensubdiv: 3.3.3 -> 3.4.0 → https://git.io/fjKal
<{^_^}> [nixpkgs] @bjornfor merged pull request #64069 → liburcu: 0.11.0 -> 0.11.1 → https://git.io/fjKuG
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « liburcu: 0.11.0 -> 0.11.1 »: https://git.io/fjKa8
mexisme has joined #nixos
Asmadeus has quit [Ping timeout: 258 seconds]
palo1 has joined #nixos
endformationage has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64102 → osinfo-db: 20190504 -> 20190611 → https://git.io/fjKaz
mexisme has quit [Ping timeout: 268 seconds]
anon has joined #nixos
anon is now known as Guest41737
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @teto opened pull request #64103 → python3Packages.i3pystatus: drop praw → https://git.io/fjKaV
v88m has quit [Read error: Connection reset by peer]
Asmadeus has joined #nixos
day|flip has quit [Remote host closed the connection]
v88m has joined #nixos
v88m has quit [Read error: Connection reset by peer]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64104 → papirus-icon-theme: 20190521 -> 20190615 → https://git.io/fjKar
mexisme has quit [Ping timeout: 248 seconds]
clacke_movim has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64105 → parallel: 20190522 -> 20190622 → https://git.io/fjKai
v88m has joined #nixos
bakakuna has joined #nixos
ilmu has quit [Ping timeout: 257 seconds]
clacke_movim has joined #nixos
v88m has quit [Read error: Connection reset by peer]
bakakuna has quit [Ping timeout: 245 seconds]
MmeQuignon has joined #nixos
mniip has quit [Ping timeout: 615 seconds]
mniip has joined #nixos
v88m has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64106 → pcm: 201710 -> 201902 → https://git.io/fjKad
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e8d00113e23 (from 68 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
rauno has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64107 → pdfpc: 4.3.2 -> 4.3.4 → https://git.io/fjKaF
mexisme has joined #nixos
clacke_movim has left #nixos [#nixos]
v0|d has quit [Read error: Connection reset by peer]
v0|d has joined #nixos
MmeQuignon has quit [Ping timeout: 244 seconds]
<eyJhb> If I want to add a udevextrarules, which runs a systemctl command for suspending, would I then do ${pkgs.systemd}/bin/systemctl ?
niten has joined #nixos
jkachmar has quit [Quit: Connection closed for inactivity]
<etu> eyJhb: Should be fine
<eyJhb> Seems to work somewhat yeah. Lets see if it actually does hibernation then :p Kinda tired of the sudden black screen and no power, with no work saved
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64108 → pet: 0.3.4 -> 0.3.5 → https://git.io/fjKaj
clacke_movim has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e8d00113e23 (from 88 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @danieldk opened pull request #64109 → drawio: init at 10.8.0 → https://git.io/fjKVI
wfranzini has joined #nixos
cfricke has joined #nixos
Ariakenom has joined #nixos
amakthel has quit [Ping timeout: 252 seconds]
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64110 → gnome3.pidgin-im-gnome-shell-extension: 1.0.1 -> 31 → https://git.io/fjKVc
amakthel has joined #nixos
asheshambasta has joined #nixos
nschoe has joined #nixos
linarcx has joined #nixos
ilmu has joined #nixos
clacke_movim has left #nixos [#nixos]
civodul has joined #nixos
clacke_movim has joined #nixos
lambda-11235 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64111 → pjsip: 2.8 -> 2.9 → https://git.io/fjKVi
ar has quit [Ping timeout: 252 seconds]
clacke_movim has left #nixos [#nixos]
Tucky has joined #nixos
<{^_^}> [nixpkgs] @davidtwco opened pull request #64112 → nixos/deluge: add user/group/openFirewall opts and extraction packages to path → https://git.io/fjKVQ
<{^_^}> [nixpkgs] @davidtwco opened pull request #64113 → nixos/lidarr: add user/group/openFirewall opts. → https://git.io/fjKV7
<{^_^}> [nixpkgs] @thefloweringash opened pull request #64114 → yubico-piv-tool: support Apple PCSC, enable by default → https://git.io/fjKV5
lambda-11235 has joined #nixos
clacke_movim has joined #nixos
ar has joined #nixos
witchof0x20 has quit [Quit: WeeChat 2.4]
mexisme has quit [Ping timeout: 272 seconds]
witchof0x20 has joined #nixos
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64115 → plantuml: 1.2019.6 -> 1.2019.7 → https://git.io/fjKwt
kvaster has joined #nixos
weechat4 has joined #nixos
Jackneill has quit [Remote host closed the connection]
weechat4 is now known as mingc
Jackneill has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
waleee-cl has joined #nixos
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
__monty__ has joined #nixos
infinee has joined #nixos
<aveltras> is there a way to provide arguments to configuration.nix via the command nixos-rebuild ?
mexisme has joined #nixos
Shoubit has joined #nixos
alp has joined #nixos
mexisme_ has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
Guest42834 has quit [Remote host closed the connection]
lopsided98 has quit [Ping timeout: 248 seconds]
<LnL> what kind of arguments?
bakakuna has quit [Ping timeout: 276 seconds]
<aveltras> LnL: the goal was to have a switch to tell the rebuild to retrieve a distant configuration.nix vs a local one.
<LnL> nixos-rebuild -I nixos-config=/path/to/configuration.nix
<aveltras> LnL: let me test this :)
bakakuna has joined #nixos
<dminuoso> Hi. I want to use the networkmanager from the unstable channel, but Im not quite sure how to do that.
<aveltras> LnL: thanks, works perfectly!
<clever> LnL: ran into a weird glitch with nix-darwin today
<LnL> howso?
<dminuoso> Is there some sort of overlays for nixos modules?
<clever> LnL: i think nix-darwin restarted nix-daemon, then didnt wait for it to come up
<dminuoso> Or rather.. how do nixos modules come into my system?
zacts has joined #nixos
<LnL> clever: oh!
zacts is now known as Guest80382
<srhb> dminuoso: NOrmally everything from module-list.nix is loaded. You can remove one explicitly and then import your own module..
<dminuoso> clever / srhb: Ahh cheers!
<clever> LnL: i'll toss that into my script as well then
polmaan has quit [Ping timeout: 248 seconds]
<clever> LnL: what exactly does kickstart do?
polmaan has joined #nixos
<LnL> clever: was too late yesterday, don't understand why it doesn't just work
Guest80382 has quit [Client Quit]
<LnL> it (re)starts the service
<clever> LnL: then why is it not called restart? lol
zacts_pi has joined #nixos
<LnL> but load of an enabled service with KeepAlive is true should be running!
<LnL> yeah no clue :/
<clever> error: anonymous function at /Users/nixos/.nixpkgs/iohk-ops/nix-darwin/test.nix:1:1 called without required argument 'host', at /Users/nixos/.nixpkgs/iohk-ops/nix-darwin/modules/basics.nix:5:17
<clever> *doh*
<clever> that one is my fault
<{^_^}> [nixpkgs] @etu merged pull request #64096 → treewide: fix malformed homepage URLs → https://git.io/fjK2j
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjKwK
joehh has quit [Ping timeout: 268 seconds]
zacts_pi has quit [Client Quit]
zacts_pi has joined #nixos
<clever> and now we boot them all over!
zacts_pi has quit [Client Quit]
zacts_pi has joined #nixos
<LnL> let me know if you find out why it's not working
<clever> LnL: it may be a race condition, i was booting 3 macs on the same machine
zacts_pi is now known as zacts
clacke_movim has left #nixos [#nixos]
ThatDocsLady has joined #nixos
fendor has joined #nixos
<clever> LnL: oh, have you seen the systemd runner thing lately?
veske has joined #nixos
<LnL> systemd runner?
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
<clever> LnL: it auto-generates a perl script, that runs ExecStart and friends
qqlq_ has joined #nixos
<LnL> ah that, what about it?
<clever> so you can take the service definitions in nixos, and then run them without systemd
<clever> my $cmd = '${service.serviceConfig.ExecStart}';
<clever> this like, just shoves the entire ExecStart into some single quotes in perl code
qqlq_ has quit [Client Quit]
<clever> and this line, auto-generates an ExecStart = "foo --arg='bar'";
<clever> so now you have
<clever> my $cmd = 'foo --arg='bar'';
clacke_movim has joined #nixos
chris___ has joined #nixos
<clever> LnL: trying to think of what the best solution is, a dozen writeText's? passAsFile and a runCommand for all of them? some nix code to escape things?
qqlq has joined #nixos
<chris___> I've just done a fresh install of Nixos. Suddenly when I change one parameter relating to xserver.synaptic - on the next nixos rebuild I've got 7GB pending to be download... What just happened? It seems to be pulling in all sorts of packages included an unneeded / older linux kernel (4.19)?
<clever> chris___: sounds like nix-channel wasnt in sync with what was installed, so its upgrading (or downgrading?) everything
logzet has joined #nixos
<LnL> clever: is there something like <<-'EOF' in perl?
<clever> chris___: double-check `sudo nix-channel --list` and maybe `--update` it
<clever> LnL: ah, that would also work nicely
<clever> LnL: yep, that exists!
<dminuoso> Just out of curiosity, how can it be that a package in the unstable nixpkgs channel fails to outright build? Im getting errors on some undefined references to symbols from gnome libraries when I try to build nixos-unstable.networkmanager?
<chris___> I'm fairly certain I had the channels updated. I've just updated those channels again - and it's once again pulling all those packages along with an older Linux kernel. Why would it need to pull an older Linux kernel?
<clever> 13>Jul 2 09:23:29 nixoss-iMac com.apple.xpc.launchd[1] (org.nixos.nix-daemon): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
<clever> 13>Jul 2 08:22:55 nixoss-iMac com.apple.xpc.launchd[1] (org.nixos.nix-daemon): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
<clever> LnL: 2 of the 3 macs failed again, but that was immediately followed by the kickstart you gave me, and then a 30 second sleep
<clever> chris___: what channel are you on, and which kernel is it pulling?
<LnL> interesting, so they fail too often and the backoff kicks in
<clever> and the script isnt waiting long enough
<clever> the new plist file doesnt send stdout/stderr anywhere
<clever> so i cant tell why nix-daemon failed
statusfailed has joined #nixos
<chris___> clever: Ah that was it! It's on an older channel! No idea why it's changed - but thanks for the pointer!
<clever> LnL: the heredoc stuff should also deal with all the newline mess ive seen in a few execStarts
eyJhb has quit [Read error: Connection reset by peer]
eyJhb has joined #nixos
<LnL> heh
<clever> LnL: my short-term fix, was to just move things from serviceConfig.ExecStart to .script
<clever> then nixos would shove it into a shell script and simplify ExecStart
clacke_movim has left #nixos [#nixos]
<clever> second problem is .User and PermissionsStartOnly
lambda-11235 has quit [Quit: Bye]
<clever> LnL: looks like perl supports 3 forms of heredoc, <<EOF, <<'EOF', and <<"EOF", the single-quote one wont interpolate vars, while the other 2 do
clacke_movim has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64116 → pulseeffects: 4.6.3 -> 4.6.5 → https://git.io/fjKrk
Makaveli7 has joined #nixos
<arianvp> I'm on a fresh NixOS install and nix-channel --add doesn't seem to do anythign?
<arianvp> it's like the user's profile is not in NIX_PATH for some reason
<arianvp> only `sudo nix-channel --add` works
<clever> arianvp: you have to relog for it to be added to NIX_PATH
<arianvp> clever: oh
<arianvp> that
<arianvp> that's annoying :D
<arianvp> but makes sense. havent tried that one yet
<clever> the default bash-profile will check if ~/.nix-defexpr/channels/ exists
raoul has quit [Quit: The Lounge - https://thelounge.github.io]
edcragg has quit [Quit: The Lounge - https://thelounge.github.io]
<clever> because adding it when it doesnt causes a warning on every nix cmd
<qyliss^work> Sounds like maybe it shouldn't...
<clever> thats why it checks if it exists or not
<clever> and only adds it when it can be found
<clever> but the check happens at login
<asymmetric> hi! how do i add a package to crates-io.nix?
raoul has joined #nixos
<asymmetric> specifically, tree-sitter-cli
<arianvp> clever: and sudo worked because system profile was already in NIX_PATH to begin with?
<arianvp> this whole .nix-defexpr stuff is very confusing and underdocumented :/
<clever> arianvp: yeah, its assumed root will always have channels, so those are always in NIX_PATH
<clever> arianvp: there are 2 main layers to it
<clever> lrwxrwxrwx 1 root root 44 May 21 10:16 .nix-defexpr/channels -> /nix/var/nix/profiles/per-user/root/channels
<qyliss^work> If that warning is the reason somebody has to re-log-in, it's a shame the warning exists at all.
<qyliss^work> Has removing it been discussed?
<clever> channels is always a symlink to the channels profile for the current user (a nix-env profile)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64117 → pyotherside: 1.5.6 -> 1.5.8 → https://git.io/fjKrY
<clever> channels-root points to roots profile (if you arent root)
<clever> arianvp: for both of them, nix-channel --update will mess with nix-env -i to add the latest nixpkgs to the profile
thc202 has joined #nixos
<arianvp> but NIX_PATH already hardcodes nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos
<arianvp> so why even hasve channels_root ?
<clever> arianvp: the second layer, is that nix-env will recursively search ~/.nix-defexpr/ for either foo.nix or foo/default.nix, (stopping recursion once it finds one), and that becomes foo in nix-env -iA foo.hello
ee1943 has quit [Ping timeout: 258 seconds]
<clever> arianvp: NIX_PATH is used by 90% of the nix tools, ~/.nix-defexpr/ is only used by nix-env -iA
sigmundv has joined #nixos
<asheshambasta> So, I'm new to NixOS and a user of Emacs. My current work-systems are a desktop at home and a laptop for on the go (I work remotely 3 days a week). I just copy over the .emacs and .emacs.d directories between the machines to get my emacs setup equivalent on both machines. Now, given the appeal of NixOS in the first place, I'd like to do away with emacs.d and .emacs and move it all to within NixOS. What is the sugges
<asheshambasta> this?
<arianvp> clever: aha
ee1943 has joined #nixos
<arianvp> clever: so why doesn't NIX_PATH just link to /nix/var/nix/profiles/per-user/<my-username> directly?
<aveltras> asheshambasta: you could use https://github.com/rycee/home-manager
<clever> arianvp: if your user has never ran nix-channel, that directory wont exist
<clever> arianvp: and then every single time you run anything nix related, it warns you that X doesnt exist
<arianvp> I see. and root we know always exists?
<clever> arianvp: yeah
<clever> arianvp: roots bash-profile will even create the channels if they are missing
<arianvp> ok I think I get it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64118 → python37Packages.aiorpcx: 0.17.0 -> 0.18.3 → https://git.io/fjKrc
<arianvp> I came up with my own alternative to `nix-channel` https://github.com/arianvp/nixos-stuff/blob/master/default.nix#L2-L3
<clever> 5>Jul 2 09:32:44 nixoss-iMac powerd[52]: Entering Sleep state due to 'Idle Sleep':
<clever> LnL: blast!, mojave strikes again!!
<arianvp> which for me is a lot less 'magicy' as it's just nix code
<arianvp> wonder if there are any downsides to this approach. I guess the repo
<arianvp> will not be cached in /nix/store but in some nix-specific evaluation cache instead?
<clever> arianvp: builtins.fetchGit will cache it to both ~/.cache/nix/gitv2/, and then import a subtree to /nix/store/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64119 → python37Packages.altair: 3.0.1 -> 3.1.0 → https://git.io/fjKr4
<clever> arianvp: also, line 3 is basically identical to what nix-env does with def-expr, and you can even take advantage of that
<clever> [clever@amd-nixos:~]$ cat .nix-defexpr/test/foo/default.nix
<clever> import /home/clever/apps/nixpkgs
<clever> arianvp: nix-env -iA foo.hello will use whatever nixpkgs i have cloned to that dir
<arianvp> clever: ah interesting
<clever> and it doesnt have to be local, default.nix could be an expr that fetches a nixpkgs based on the current unix epoch time!
<clever> > builtins.currentTime
<{^_^}> 1562057209
<arianvp> I don't really use nix-env -iA though. I only use nix-env --set
<arianvp> for the reason I find it confusing :P
edcragg has joined #nixos
Neo-- has joined #nixos
<clever> yeah, --set is nice
<clever> have you seen what i did with netboot and --set?
<arianvp> clever: nah, but link?
<clever> nix-env -p /nix/var/nix/profiles/per-user/root/rpi3-netboot -f not-os/release.nix -A rpi_image -I nixpkgs=./nixpkgs/ --set
<clever> arianvp: that builds a netboot image for the rpi, and stores it into the rpi3-netboot profile
<clever> the tftp server is symlinked to share that to the rpi's
<clever> which can then netboot from it
<arianvp> fun
<clever> and if i ever brick things, nix-env -p /nix/var/nix/profiles/per-user/root/rpi3-netboot --rollback!
<clever> i cant brick things!!
<arianvp> I've been slowly hacking away on my minimal version of nixos-rebuild
<arianvp> basically, trying to get rid of global state like <nixpkgs> and <nixos-config>
<arianvp> Then to install on a new machine I have https://github.com/arianvp/nixos-stuff/blob/master/install.sh
<clever> this will save a copy of the nixpkgs used to deploy the machine, to /run/current-system/nixpkgs
<clever> and then map <nixpkgs> to that at runtime
<arianvp> ooooh that's extremely useful
<clever> ive seen somebody else do similar with nixos-rebuild, so it always uses whatever nixpkgs it last used, ignoring all state
<clever> but -I nixpkgs= will override that, and persist within the build
<clever> (so it kind of turns into state, embeded within the build)
<clever> arianvp: and for installs, i have anything thing...
<clever> :D
<clever> another*
<arianvp> netbooting my laptop would save me a lot of trouble I think :P problem is I now need to pre-format all the partitions in the right format
<clever> nix copy --to ssh://root@target?remote-store=local?root=/mnt /nix/store/hash-nixos
<clever> Raw
<clever> arianvp: already done
<arianvp> clever: what do you mean "Already done?"
arjen-jonathan has joined #nixos
<{^_^}> [patchelf] @lkollar opened pull request #175 → Add .travis.yml to enable CI → https://git.io/fjKrw
<clever> arianvp: first, the above command, will copy from /nix/store on the local machine, to /mnt/nix/store on the remote machine, over ssh
<clever> arianvp: so you can get the entire closure into a remote drive, after it has been formatted&mounted
<arianvp> clever: that assumes it's formatted&mounted
<arianvp> noice
<clever> pie__: ive got a few something attrs, but no something.nix!
<arianvp> systemd initramfs can actually format your disks too based on fstab options
<arianvp> but we dont have a systemd initramfs atm
cfricke has quit [Quit: WeeChat 2.5]
<arianvp> probably a bitch to get it working without breaking backwards compat
<pie__> clever, just complaining about the error message that doesnt tell you where in the string the problem is again XD
<clever> arianvp: justdoit.nix is a nixos module, that you add to your installer environment
<arianvp> but it's on my list
<clever> arianvp: the nixos options on lines 9-49 configure what it will do to your drive, and which drive
<clever> arianvp: and this kexec script deals with the initrd issue
<clever> just drop the tarball into / on any linux machine, and /kexec_nixos
<clever> boom, its now running nixos from ram, ssh in, justdoit
<arianvp> very nice
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> currently, it does the entire nixos-install for you, but a variant using nix copy could also be made
<clever> my latest push includes support for /boot on zfs (but i wouldnt call it stable)
<clever> and gets rid of the zfs on lvm on luks, since nixos now deals with luks better
<arianvp> I wish the documentation was more focussed on "Nix is a toolset to create systems" instead of "The only way is the NixOS way"
<arianvp> I really like this "I do as much in nix itself as possible" flow of thing
<clever> arianvp: one min
eyJhb is now known as eyJhb
<clever> arianvp: this takes ~5 systemd services from nixos, jams them into a docker image, and whips them until they work, lol
chris___ has quit [Quit: Lost terminal]
<clever> i now have basic nixos services, running in docker, without nixos, and without systemd
<arianvp> clever: oh that's gonna break next systemd release though :(
<arianvp> (unless you set some build flag)
<clever> arianvp: why?
<arianvp> they're moving to cgroupsv2 which docker doesn't support
<arianvp> so systemd won't start in the container
<clever> arianvp: its not actually using systemd though!
fendor has quit [Read error: Connection reset by peer]
<arianvp> oooh
<clever> its using runit, and the perl runner scripts
<clever> nixos already auto-generates perl scripts, that read the systemd config, and then do the "same" thing
<clever> (currently fixing some non-same things in it)
<arianvp> evil evil
<arianvp> I like it
<arianvp> I see you're using oauth2_proxy. I'm also using it, but I saw it's unmaintained and got forked
<arianvp> I currently 'maintain' a fork myself https://github.com/svsticky/oauth2_proxy but there's also an official one now
orivej has joined #nixos
<clever> whats new with the fork?
<clever> (s)
<arianvp> Redhat also has a fork https://github.com/openshift/oauth-proxy
<clever> everybody has a fork!
<arianvp> I have a fork too!
<arianvp> no but the pusher one seems actively maintained
<clever> i had to add `cacert.out` to the docker image to make oauth work
<clever> its trying to make https calls to google to verify the tokens, and lacked CA's
<arianvp> so clever why all this effort to get rid of systemd
<arianvp> you gotta embrace it!
<arianvp> :'D
<clever> 2019-07-02 06:00:07 < arianvp> so systemd won't start in the container
o1lo01ol1o has joined #nixos
<clever> arianvp: and havent you seen what i did with not-os, just to avoid systemd bloat? lol
<{^_^}> [nixpkgs] @smaret opened pull request #64120 → gildas: 20190601_b -> 20190701_a → https://git.io/fjKrN
<{^_^}> [nixpkgs] @smaret closed pull request #63743 → gildas: 20190601_b -> 20190601_c → https://git.io/fjrL7
daGrevis has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #64121 → nixos/programs/shell.nix: don't use unnecessary GNU-specific option → https://git.io/fjKoL
<clever> LnL: next problem is serviceConfig.User, there is the question of sudo vs su vs just calling setuid in perl
<arianvp> i'd go with setuid in perl i think
<arianvp> clever: also sorry for adding all these fancy systemd features to master recently that are going to make your life more difficult
<arianvp> =)
<clever> arianvp: sudo was actually a pretty big pain to get working, pam throws a non-descript error if /etc/shadow is world readable
<clever> and sudo checks with pam before dropping root
<clever> and postgresql wont run as "root", and doesnt understand that docker root isnt root
Netsu has joined #nixos
<Netsu> Hello. Is there any side-effect function to run git command in nix derivation? I want to get a `git describe --always --dirty` as a version of sources.
<clever> Netsu: keepDotGit = true;
<{^_^}> [nixpkgs] @edolstra merged pull request #64101 → opensubdiv: 3.3.3 -> 3.4.0 → https://git.io/fjKal
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fjKoz
<{^_^}> [patchelf] @edolstra merged pull request #175 → Add .travis.yml to enable CI → https://git.io/fjKrw
<{^_^}> [patchelf] @edolstra pushed 2 commits to master: https://git.io/fjKo2
<{^_^}> [nixpkgs] @timokau merged pull request #63809 → python.pkgs.dm-sonnet: 1.30 -> 1.33 → https://git.io/fjrMM
<{^_^}> [nixpkgs] @timokau pushed 5 commits to master: https://git.io/fjKoV
meck has quit [Quit: WeeChat 2.5]
meck has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64122 → python37Packages.braintree: 3.54.0 -> 3.55.0 → https://git.io/fjKoK
<Netsu> clever: oh, thank you. But how can I get git command output there? Or you propose use files?
<clever> Netsu: then just run git normally inside the build
johanot has joined #nixos
bakakuna has quit [Remote host closed the connection]
pmiddend has joined #nixos
<pmiddend> Qt seems to fail on the latest nixos-unstable
<Netsu> clever: maybe I'm not so clear: what I need is `derivation { version = `output of git describe` ... }`
<clever> Netsu: i would just do preConfigure = ''version=$(git describe)'';
<clever> Netsu: and keepDotGit = true; will keep the .git
<Netsu> clever: would ` preConfigure = ''version=$(git describe)'';` affect package.version of that derivation than?
<clever> Netsu: nope, it will only exist at build time
<clever> Netsu: getting it into the attribute would require IFD, which isnt allowed in the main nixpkgs repo
<dminuoso> Okay... so I did a bios update, now I cant run nixos-rebuild anymore: https://gist.github.com/dminuoso/b7ffc37d802395f9f7a2867d84c63c81
<clever> dminuoso: nixos is trying to delete all files in the /boot/efi/nixos directory, and one of the "files" isnt a file!!
<dminuoso> Ohh wait! I just found some bits by you, clever! :)
<dminuoso> clever: Mmm.
bakakuna has joined #nixos
<clever> LnL: ack!!, the heredocs all turn into "foo\n"!
o1lo01ol1o has quit [Remote host closed the connection]
<clever> dminuoso: yep, that would fix it
Guest11706 has joined #nixos
<m1cr0man> kraem, I've been googling for a solution to systemd-timesyncd failing to start (state_directory error) and I came across irc logs where you removed the /var/lib/systemd/timesync symlink to resolve the issue. Was this the only solution in the end? I'm curious as to how it was even working before
<aveltras> m1cr0man: i think you read my answer yesterday, i don't remembner having to do anything else
<asheshambasta> aveltras: thanks, that looks promising.
<aveltras> asheshambasta: if you want some example, i'm in the process of getting all my configuration on a github repo (i too have 2 computers), you can see it here https://github.com/aveltras/nix, i've not put emacs config on github yet but i guess it'll just be a symlink to a emacs.d folder there
o1lo01ol1o has joined #nixos
<asheshambasta> aveltras: thanks, bookmarking.
inquisitiv3 has quit [Ping timeout: 268 seconds]
<clever> arianvp: i just confirmed something interesting with oauth2_proxy
<clever> arianvp: despite blowing the entire state of the docker image away, i was still signed in after booting a new image up!
<Netsu> clever: thanks, didn't know about IFD pattern. Guess, it wold work for me.
<clever> arianvp: the trick, is that the cookie.secret used by oauth2_proxy, is used to encrypt your current credentials, and shove them into a cookie
<clever> arianvp: so as long as the secret is unchanged, the cookies are valid state, and oauth2_proxy doesnt need anything server-side!
<{^_^}> [nixops] @domenkozar merged pull request #1171 → ec2: Recreate rules if security group was deleted → https://git.io/fjo6L
<{^_^}> [nixops] @domenkozar pushed 3 commits to master: https://git.io/fjKKt
v88m has quit [Read error: Connection reset by peer]
<arianvp> clever: yeh :)
v88m has joined #nixos
<clever> arianvp: i can also see that working nicely in a load-balancer situation
o1lo01ol1o has quit [Remote host closed the connection]
clacke_movim has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64123 → python37Packages.cherrypy: 18.1.1 -> 18.1.2 → https://git.io/fjKK3
<m1cr0man> aveltras, Ok thanks. I'm very confused as to why it worked at all before. I'm concerned that a rebuild or reboot may undo this manual change at some point.
<aveltras> m1cr0man: i think this was a problem with systemd after one update but not specific to nixos, not really sure how all this works yet :)
<m1cr0man> aveltras, Grand same boat as me so ;) Getting there slowly but surely!
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Sigma has quit [Quit: ZNC - http://znc.in]
clacke_movim has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 pushed to cleanup-swanky « toshiba/swanky: switch to default kernels »: https://git.io/fjKK0
<clever> invalid value "'168h0m0s'" for flag -cookie-expire: parse error
<clever> arianvp: and oauth2_proxy is failing in weird ways again
<{^_^}> [nixos-hardware] @Mic92 opened pull request #111 → toshiba/swanky: switch to default kernels → https://git.io/fjKKz
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64124 → python37Packages.chameleon: 3.6.1 -> 3.6.2 → https://git.io/fjKKw
<clever> arianvp: what is perl doing to do with these quotes... https://gist.github.com/cleverca22/27743f4d5efcba4d078ca49547bdb534
hlolli has joined #nixos
<clever> 17 my @args = split " ", $cmd;
<clever> ack
<clever> nothing is the answer!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64125 → python37Packages.cmd2: 0.9.13 -> 0.9.14 → https://git.io/fjKKK
astrofog has joined #nixos
o1lo01ol1o has joined #nixos
__monty__ has quit [Read error: Connection reset by peer]
amakthel has quit [Ping timeout: 250 seconds]
__monty__ has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64127 → python37Packages.clikit: 0.2.4 -> 0.3.1 → https://git.io/fjKKQ
alex`` has joined #nixos
lopsided98 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Soo_Slow has joined #nixos
inquisitiv3 has joined #nixos
__monty__ has quit [Remote host closed the connection]
__monty__ has joined #nixos
<inquisitiv3> I'm trying to build Atom's "Flight" manual, but I get the error "Your Ruby version is 2.5.5, but your Gemfile specified 2.4.2". I run t`script/bootstrap`
hyper_ch2 has quit [Remote host closed the connection]
<inquisitiv3> I run the script `script/bootstrap` inside an Nix shell environment created with `nix-shell -p ruby_2_4 nodejs bundler`. `ruby --version` returns 2.4.5p335 inside the environment.
<inquisitiv3> What and where should I do to get the manual to build?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64128 → python37Packages.confluent-kafka: 1.0.0 -> 1.0.1 → https://git.io/fjK63
ZaraChimera has joined #nixos
<asheshambasta> under what circumstances can notify-send hang? `notify-send foo` hangs for a long time and when it returns, nothing really has happened. I'm missing its dependency but I cannot see what.
<yorick> asheshambasta: when there's no notify daemon running
<yorick> (or when it's broken)
Guest11706 has joined #nixos
Guest11706 has quit [Changing host]
Guest11706 is now known as Miyu-chan
<asheshambasta> yorick: makes sense, I have the libnotify and notify-osd packages in my configuration.nix, but I'm assuming I need to also enable a service for notifications?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64129 → python37Packages.deap: 1.2.2 -> 1.3.0 → https://git.io/fjK60
Makaveli7 has quit [Ping timeout: 268 seconds]
<yorick> asheshambasta: yeah, what desktop environment?
psy3497 has quit [Ping timeout: 246 seconds]
Makaveli7 has joined #nixos
<Netsu> clever: BTW 'keepDotGit' for fetchgit only? Anything similar for local path?
<clever> Netsu: when doing src = ./.; it will always have the .git
Makaveli7 has quit [Read error: Connection reset by peer]
<asheshambasta> yorick: xmonad
<yorick> asheshambasta: probably go with dunst
<__monty__> +1 for dunst
Makaveli7 has joined #nixos
<asheshambasta> yorick: instead of notify-osd?
Makaveli7 has quit [Read error: Connection reset by peer]
<yorick> asheshambasta: that's also possible, yeah
<yorick> asheshambasta: start it from somewhere in your xmonad
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/63e15d588a2 (from 81 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/63e15d588a2 (from 81 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<etu> Dunst is really nice
romildo has joined #nixos
<asheshambasta> okay, so now notify-send doesn't hang, but I see no notifications, I probably need to configure dunst.
Makaveli7 has joined #nixos
Makaveli7 has quit [Read error: Connection reset by peer]
<Netsu> clever: oh, maybe that because of 'cleanSourceFilter'
joehh has joined #nixos
<clever> Netsu: yeah, that cleans up all kinds of junk, like .git
<etu> asheshambasta: Do you use home-manager?
<romildo> Although pantheon is enabled in `configuration.nix`, I still get the error message: http://dpaste.com/2WT1N42 Any clues?
<m1cr0man> Is there any way for me to install a specific version of a particular package? QEMU 4 seems to break spice client resizing entirely so I want to go back to the last version
<clever> m1cr0man: you probably want qemu.overrideAttrs (old: { src = something; })
<m1cr0man> that might do yea
<clever> m1cr0man: and also updata name= to have the new version, so you dont get confused when 4.0 contains a 3.0 src
<m1cr0man> yea cool
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64130 → python37Packages.dropbox: 9.3.0 -> 9.4.0 → https://git.io/fjK6N
<asheshambasta> etu: nope
karetsu has joined #nixos
Makaveli7 has joined #nixos
<etu> asheshambasta: home-manager has a nice module for dunst
<{^_^}> [nixpkgs] @romildo merged pull request #64104 → papirus-icon-theme: 20190521 -> 20190615 → https://git.io/fjKar
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/fjKiv
<etu> asheshambasta: So yeah, I shouldn't push home-manager on you, but if you already was using it that would have been a great way to configure dunst
<tdeo> any committer around to merge #63876?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63876 (by tadeokondrak, 4 days ago, open): vapoursynth: R45.1 -> R46
<karetsu> what controls the timeout for display blanking and where is it set? I haven't chosen anything for it in any of my config and it ruins watching films on netflix :(
<karetsu> using xmonad if that makes a difference
<tdeo> "dpms" should be what you're looking for i think
<clever> karetsu: ive found that simply installing xscreensaver radically changes the behaviour in that region, and also gives you options to control it
<clever> `xset dpms` is the raw command to adjust it within xorg
<karetsu> thank you both
<clever> some programs try to use dbus to talk to xscreensaver, to negotiate things, and fail if its missing
psyanticy has joined #nixos
<karetsu> do you know if firefox is one of those things?
<clever> checking the stdout of firefox may help
<karetsu> ty
<clever> [6893:7229:0702/075307.211310:ERROR:power_save_blocker_x11.cc(330)] No response to Inhibit() request!
<clever> karetsu: i notice chrome spewing this every time i (un)pause
<karetsu> is `xset dpms` a toggle? like if I do it twice it turns it back on
<m1cr0man> Huh that might explain why youtube videos don't hold the screen timeout :P
<karetsu> I'll just try installing xscreensaver before I go engineering some key to toggle it
<clever> i dont remember exactly what i did, but my desktop never goes into powersave now
asheshambasta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64131 → python37Packages.fido2: 0.5.0 -> 0.7.0 → https://git.io/fjKiq
<infinisil> m1cr0man: yeah same
<infinisil> It's been bugging me a bit
<infinisil> But i just dealt with pressing a key every 10 minutes
<infinisil> It's not so bad to be worth the effort looking into fixing it, yet :)
<clever> karetsu: there is also `xset dpms force off`
<clever> i'm not sure what i did to break dpms, but i need to use that to turn the screens back off when its night
<m1cr0man> infinisil, Yeah I'm actually getting it on another OS too, and I'm also missing xscreensaver there
linarcx has quit [Quit: WeeChat 2.5]
Synthetica has joined #nixos
<karetsu> infinisil: I did the same until I came down with a stomach bug and that become effortful >_<
inquisitiv3_ has joined #nixos
inquisitiv3 has quit [Read error: Connection reset by peer]
<karetsu> should this be noted somewhere in the manual/wiki for others who have the problem?
<Netsu> clever: thanks. Found a lot interesting at `lib/sources.nix`
o1lo01ol1o has joined #nixos
iyzsong has joined #nixos
astrofog has quit [Remote host closed the connection]
fendor_ has joined #nixos
fendor_ has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
<exarkun> so I have gnucash building some python modules... but they're not usable by a python interpreter without some help... I wonder what the right way to provide that help is
<exarkun> I can't stuff them in python.withModules because gnucash is the wrong kind of thing?
o1lo01ol1o has joined #nixos
inquisitiv3_ has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<karetsu> are they optional dependencies for gnucash?
cfricke has joined #nixos
Neo-- has quit [Read error: No route to host]
<exarkun> I guess so, yea. they're not built by default and they're not built by the nix derivation.
Neo-- has joined #nixos
asheshambasta has joined #nixos
<asheshambasta> I've been hearing of home-manager but I need to take the plunge soon.
domogled has joined #nixos
v88m has quit [Ping timeout: 245 seconds]
romildo has quit [Quit: Leaving]
hyper_ch2 has joined #nixos
<codedmart> Can I read a file and coerce into `strings concatenated with "\n"`?
<{^_^}> [nixpkgs] @Twey opened pull request #64134 → meson: 0.49.2 -> 0.51.0 → https://git.io/fjKid
<yorick> I'm getting rate-limited on github with niv
bakakuna has quit [Remote host closed the connection]
bakakuna has joined #nixos
<clever> codedmart: strings are already of the right type for that, builtins.readFile is all you need
pmiddend has quit [Ping timeout: 245 seconds]
hyper_ch2 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
Soo_Slow has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
asheshambasta_m has joined #nixos
asheshambasta has quit [Ping timeout: 264 seconds]
drakonis2 has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<fgaz> Are there quality requirements for nixpkgs packages? What if upstrem itself (the build scripts, that is) is really low quality?
karetsu has quit [Quit: WeeChat 2.4]
<fgaz> I'm asking this because some time ago I finally managed to package openhexagon: https://github.com/fgaz/nur-packages/blob/master/pkgs/openhexagon/default.nix
<fgaz> No other distro has it (despite some failed attempts for example in AUR) as of now
adamt has joined #nixos
<fgaz> I had to resort to several tricks (like the wrapper script), and now the game runs pretty well... if you are on NixOS. On other distros for some reason it segfaults
<{^_^}> [nixpkgs] @vbgl merged pull request #62718 → coqPackages: fix + add multinomials 1.3 + coqeal 1.0.0 → https://git.io/fjuK3
<Netsu> what is `substituteInPlace` analogue for all the files grep&replace?
<{^_^}> [nixpkgs] @vbgl pushed commit from @CohenCyril to master « coqPackages: fix + add multinomials 1.3 + coqeal 1.0.0 »: https://git.io/fjKPw
<fgaz> It's all things that should be fixed upstream, mut I'm fairly sure the project is dead
<betaboon> Netsu: `sed -i` ?
<fgaz> Maybe I should just fork the project...
<codedmart> clever: Thanks
<Netsu> betaboon: I hope, there's simpler option just for that case exist in nix utils
rauno has quit [Ping timeout: 250 seconds]
<betaboon> Netsu: loop over the files and use substituteInPlace ? oO
<{^_^}> [nixpkgs] @bjornfor merged pull request #64115 → plantuml: 1.2019.6 -> 1.2019.7 → https://git.io/fjKwt
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « plantuml: 1.2019.6 -> 1.2019.7 »: https://git.io/fjKPi
hio has joined #nixos
<hyper_ch2> clever: nixos can't manage zed right?
<gchristensen> fgaz: we don't really want dead projects in nixpkgs
user___ has joined #nixos
<user___> What is the recommended method of upgrading from 17.03 to 19.03?
<fgaz> gchristensen: I suspected that... oh well, I'll keep it in my NUR
<user___> I changed my channel to 19.03 and ran "nixos-rebuild switch --upgrade" and got an error that had to do with not having a version of Nix recent enough
asheshambasta_m has quit [Quit: Leaving.]
<gchristensen> user___: I think you have to go through 18.03 first
<user___> Ill try that, thanks
<fgaz> gchristensen: but what about no longer maintained projects with a good build system that still mostly work. There's a ton of those in nixpkgs
<fgaz> I guess those count more as "completed" than "abandoned" though
rprije has quit [Ping timeout: 258 seconds]
<hyper_ch2> hmmmm, I think I need to write a ZED module
<hyper_ch2> I'm surprised it doesn't exist already
Yakulu[m] has left #nixos ["User left"]
alpounet has joined #nixos
ericsagnes has quit [Ping timeout: 252 seconds]
alp has quit [Ping timeout: 264 seconds]
ilmu has quit [Ping timeout: 250 seconds]
asheshambasta has joined #nixos
<yorick> my build failed (reproducibly), so I added --keep-going, now it works
mexisme_ has quit [Ping timeout: 268 seconds]
polmaan has quit [Ping timeout: 248 seconds]
polmaan has joined #nixos
kvaster has quit [Ping timeout: 248 seconds]
ericsagnes has joined #nixos
<Taneb> I'm looking to moving my vim config to nix, but there's 3 plugins I use occasionally that aren't in nixpkgs. Is there an easy way to add them as an overlay?
trevorriles has joined #nixos
<{^_^}> [nixpkgs] @akru opened pull request #64136 → [security updates] parity: 2.4.8 -> 2.4.9 → https://git.io/fjKXI
pmiddend has joined #nixos
Fellows has joined #nixos
<waleee-cl> Taneb: https://nixos.wiki/wiki/Vim , a bit down the page you have an example of adding plugins (not as an overlay though)
<Fellows> hey, what am i doing wrong here? why is the module not picking up? https://pastebin.com/jChnZs6J
<Fellows> it's a python app
<{^_^}> [nixpkgs] @ryantm merged pull request #64017 → f3: 7.1 -> 7.2 → https://git.io/fjKnf
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjKXq
steell has joined #nixos
alpounet is now known as alp
ericsagnes has quit [Ping timeout: 272 seconds]
<waleee-cl> Taneb: ... or go directly to https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/vim-utils.nix (pretty well documented)
<{^_^}> [nixpkgs] @pasqui23 opened pull request #64137 → perlPackages.Catmandu:init at 1.2002 [WIP] → https://git.io/fjKXn
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #64138 → way-cooler: Mark as broken → https://git.io/fjKXW
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64139 → python37Packages.libversion: 1.1.3 -> 1.1.4 → https://git.io/fjKX4
jeregrine has joined #nixos
hyper_ch227 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch227 has quit [Remote host closed the connection]
sindrip has joined #nixos
<Netsu> I need to patch sources by `dune subst` command, I have dune in build inputs for that. But I got permission denied when run it at $src on build or patch phase. Where can I run it?
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64140 → python37Packages.luftdaten: 0.5.0 -> 0.6.1 → https://git.io/fjKXg
zacts has quit [Quit: WeeChat 2.4]
Drakonis has joined #nixos
<psyanticy> @fellows
ericsagnes has joined #nixos
steell has quit [Ping timeout: 268 seconds]
<psyanticy> if you need the package at run and build time you need to use propagatedBuildInputs instead of buildInputs
hyper_ch2 has quit [Quit: Ping timeout (120 seconds)]
<Fellows> <3
karetsu has joined #nixos
rauno has joined #nixos
stepcut has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<Fellows> psyanticy: thank you that works, now the package has it's own modules/ dir, where do cp -v that when doing a manuall install? hmm
andreas31 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64141 → python37Packages.marshmallow-sqlalchemy: 0.16.3 -> 0.17.0 → https://git.io/fjKXK
<Netsu> at which phase can I run command that substitute sources?
pmiddend has quit [Quit: WeeChat 2.5]
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ericsagnes has quit [Ping timeout: 264 seconds]
<Fellows> Netsu: prePatch?
ericsagnes has joined #nixos
<Netsu> Fellows: got 'No such file or directory' for files that I filtered by `cleanSourceWith`
<psyanticy> @fellows , not really sure what you mean by ```where do cp -v that when doing a manuall install? hmm```
rauno has quit [Ping timeout: 258 seconds]
ddellacosta has joined #nixos
hyper_ch2 has joined #nixos
<Fellows> psyanticy: the python app ships its own modules https://github.com/mrworf/iceshelf/tree/master/modules and I am doing a manual install (cp in installPhase) as the do not ship setup.py
<Fellows> I wonder what is the best way to ship these modules too?
sindrip has quit [Ping timeout: 260 seconds]
<philipp[m]> How exactly does the nixpkgs staging branch work? What is the process of staging getting into releases?
<psyanticy> @fellows I got you I think you need to copy them then do some dynamic linking but i think it s better for somebody else to answer you since i m not really sure about that
user___ has quit [Ping timeout: 245 seconds]
<Netsu> Do I need IFD if just change sources by `cleanSourceWith`?
cfricke has quit [Quit: WeeChat 2.5]
<exarkun> reading python.buildEnv but I can't see how I'd get more paths into the resulting python search path
<exarkun> actually, not sure if I am reading python.buildEnv or not
<exarkun> is this an example of that weird fixed point thing nix does
nschoe has quit [Ping timeout: 244 seconds]
<exarkun> `buildEnv = callPackage ./wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };` but wrapper.nix takes `buildEnv` as an argument and defines itself in terms of its result...
ddellacosta has quit [Ping timeout: 248 seconds]
<exarkun> mm okay (toPythonModule gnucash) convinces it to put gnucash's python stuff into site-packages, neat
<exarkun> wonder if that's on purpose or by accident
alpounet has joined #nixos
codedmart has quit [Quit: ZNC 1.7.1 - https://znc.in]
codedmart has joined #nixos
alp has quit [Ping timeout: 268 seconds]
alp has joined #nixos
alpounet has quit [Ping timeout: 250 seconds]
codedmart has quit [Client Quit]
codedmart has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64143 → python37Packages.owslib: 0.17.1 -> 0.18.0 → https://git.io/fjK1Y
Makaveli7 has quit [Quit: WeeChat 2.5]
v88m has joined #nixos
Shoubit has quit [Ping timeout: 244 seconds]
trevorriles has joined #nixos
andreas303 has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2582 → fetchGit: allow fetching explicit refs → https://git.io/fpbZ7
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fjK1P
<{^_^}> [nix] @edolstra merged pull request #2724 → nix-store: document --add-fixed → https://git.io/fjePm
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjK1H
hlolli_ has joined #nixos
o1lo01ol1o has joined #nixos
codedmart has quit [Quit: ZNC 1.7.1 - https://znc.in]
codedmart has joined #nixos
hlolli has quit [Ping timeout: 276 seconds]
jabranham has joined #nixos
Soo_Slow has joined #nixos
inquisitiv3 has joined #nixos
<jabranham> ivan: thanks for responding yesterday about my gpu failing. I didn't get your responses until just now because my gpu crashed :-( anyway, long story short is that after a very thorough cleaning, everything seems to be working today. Hopefully that was all that was needed.
<asymmetric> hi! is there a way to enable fonts in a shell.nix?
<asymmetric> i have a program that can't display special unicode when i use nix-shell --pure
<asymmetric> but it can without --pure, cause it's using my system fonts
<Netsu> oh, got it, dune required to `git commit` on patch phase, lol.
Tucky has quit [Quit: WeeChat 2.5]
dansho has joined #nixos
<samueldr> haven't verified it still rowks
<samueldr> if it still works*
<samueldr> but I used something like that in the past to get fonts working in a pure shell for a process that needed them
andreas303 has quit [Remote host closed the connection]
<exarkun> What's a good way to get the environment vars that are set by the gnucash wrapper set in an additional wrapper for another program?
<asymmetric> samueldr: hmm didn't work
<asymmetric> i'm supposed to add the FONTCONFIG_FILE attribute to the shell.nix right? removing the enclosing {} i mean
<samueldr> right, left a lot to work out to the user :)
<samueldr> your shell.nix is likely to make a derivation, either through mkDerviation or mkShell
leotaku has quit [Quit: ZNC 1.7.3 - https://znc.in]
<exarkun> I tried this, <https://gist.github.com/exarkun/b122eeef7323ba32d2ac86f6e0fdfbfe>, but the resulting python doesn't have the env vars set
<samueldr> that FONTCONFIG_FILE attribute will end up being set as an environment variable
<{^_^}> [nix] @edolstra merged pull request #2974 → checkStoreName: give more precise/verbose error information → https://git.io/fjo3h
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjKMW
<samueldr> asymmetric: updated the gist with a verified to work example
<samueldr> (filled in more details)
<samueldr> it sets the right environment variable
<samueldr> though, maybe your software doesn't use fontconfig and that would make it not work, but the environment variable ends up set in my test shell
andreas303 has joined #nixos
h30 has quit [Ping timeout: 244 seconds]
Drakonis has quit [Ping timeout: 264 seconds]
Drakonis has joined #nixos
sindrip has joined #nixos
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
h30 has joined #nixos
knupfer has joined #nixos
trevorriles has joined #nixos
leotaku has joined #nixos
bakakuna has quit [Ping timeout: 252 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
Soo_Slow has quit [Remote host closed the connection]
emptyflask has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
emptyflask has quit [Quit: WeeChat 2.4]
<codedmart> If I have my normal 19.03 channel and added an unstable channel that I can use for certain packages. How can I write a nix file that everything I reference in it is using the unstable channel? Ie on the top you have `{ gtk3, glib, ...}` then the rest of the derivation.
<codedmart> If I am working the correctly and makes sense.
Supersonic has quit [Ping timeout: 258 seconds]
<asymmetric> samueldr: i see, the software not using fontconfig might be the problem
<Gopal[m]> so I was curious if I could do this in Nix:
<Gopal[m]> I'm on a ZFS Native encryption setup where I login at boot (dropbear) to load they key of the ZFS pool. Thing is Dropbear's host key keeps changing so I need to add `boot.initrd.network.ssh.hostECDSAKey = /path/to/key;` to my configuration. Since that key needs to exist, I would need to manually generate
<asymmetric> do you know how to find out?
emptyflask has joined #nixos
jabranham has quit [Ping timeout: 244 seconds]
<Gopal[m]> Is it possible to do `hostECDSAKey = ${some command generating the key and returning the path}` ?
<Gopal[m]> or if I do it with the shell, is it possible to do `hostECDSAKey = /this/path || /that/path` ?
<dweller> Gopal[m]: just copy that key to initramfs with boot initrd.extraUtilsCommands
<dweller> boot.initrd.extraUtilsCommands
Supersonic has joined #nixos
Fellows has quit [Ping timeout: 260 seconds]
<Gopal[m]> can't seem to find that attribute
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d98a165de78 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Ping timeout: 258 seconds]
adamt has quit [Ping timeout: 244 seconds]
endformationage has joined #nixos
hellrazor has quit [Ping timeout: 268 seconds]
lux3 has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
devalot has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kalbasit merged pull request #64108 → pet: 0.3.4 -> 0.3.5 → https://git.io/fjKaj
<{^_^}> [nixpkgs] @kalbasit pushed commit from @r-ryantm to master « pet: 0.3.4 -> 0.3.5 (#64108) »: https://git.io/fjKDo
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
xavierm02 has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d98a165de78 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
xavierm02 has joined #nixos
veske has quit [Ping timeout: 245 seconds]
<asymmetric> is it normal that `nix-env -qa nodePackages -f .` returns no results in the nixpkgs dir?
orivej has quit [Ping timeout: 246 seconds]
emptyflask has quit [Quit: WeeChat 2.4]
<Gopal[m]> what is the nix equivalent of bash's $() ?
<Gopal[m]> like: `echo $(echo foo)`
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
orivej has joined #nixos
<aveltras> any idea why the following snippet would not work for the sound keys ?
Ariakenom has quit [Quit: Leaving]
<aveltras> the commands entered in terminal work
<aveltras> but not the keyboard shortcut
<aveltras> im on xmonad
lambda-11235 has joined #nixos
nikivi has joined #nixos
emptyflask has joined #nixos
bakakuna has joined #nixos
<asymmetric> i'm trying to install the tree-sitter npm package but i can't even find it with nix-env or "nix search"
<{^_^}> [nixpkgs] @veprbl opened pull request #64144 → arrow-cpp: add fixDarwinDylibNames → https://git.io/fjKDS
alp has quit [Ping timeout: 264 seconds]
alp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64145 → python37Packages.pyrsistent: 0.14.11 -> 0.15.2 → https://git.io/fjKDd
<asymmetric> generally, can someone show me how to nix-build a node package from a local clone of nixpkgs?
TheGamingBarrel has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #64075 → [19.03] irssi: 1.1.2 -> 1.1.3 → https://git.io/fjKuF
<{^_^}> [nixpkgs] @alyssais pushed to release-19.03 « irssi: 1.1.2 -> 1.1.3 »: https://git.io/fjKDF
TheGamingBarrel has quit [Client Quit]
TheGamingBarrel has joined #nixos
daGrevis has quit [Quit: daGrevis]
daGrevis has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<lordcirth> What's a good, simple error monitoring tool that works well with NixOS/NixOps?
trevorriles has joined #nixos
veske has joined #nixos
fendor has joined #nixos
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64146 → python37Packages.pytesseract: 0.2.6 -> 0.2.7 → https://git.io/fjKyI
<{^_^}> [nixpkgs] @volth opened pull request #64147 → xfce4-13: 4.14pre1 -> 4.14pre2 → https://git.io/fjKyt
Lears has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2779 → build: add exit code for hash and check mismatches → https://git.io/fjOae
<{^_^}> [nix] @edolstra pushed 7 commits to master: https://git.io/fjKyW
veske has quit [Quit: This computer has gone to sleep]
veske has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #64102 → osinfo-db: 20190504 -> 20190611 → https://git.io/fjKaz
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « osinfo-db: 20190504 -> 20190611 »: https://git.io/fjKy4
arjen-jonathan has quit [Ping timeout: 244 seconds]
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64148 → python37Packages.pytest-django: 3.4.8 -> 3.5.1 → https://git.io/fjKyR
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64149 → python37Packages.python-jsonrpc-server: 0.1.2 -> 0.2.0 → https://git.io/fjKya
Czen has quit [Remote host closed the connection]
alpounet has joined #nixos
orivej has joined #nixos
alp has quit [Ping timeout: 252 seconds]
sigmundv has quit [Ping timeout: 245 seconds]
Drakonis has quit [Ping timeout: 264 seconds]
Netsu has quit [Ping timeout: 260 seconds]
wfranzini has quit [Remote host closed the connection]
Drakonis has joined #nixos
<devalot> lordcirth: The key being "simple"? I've been using Prometheus and netdata. Prometheus is anything but simple. netdata is awesome for performance monitoring but Prometheus is much better for reporting application errors.
nschoe has joined #nixos
Xal has quit [Ping timeout: 245 seconds]
Xal has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<TheGamingBarrel> Netdata is being weird for me, systemctl status shows it working perfectly but it doesn't try to run anything on port 19999 and all the other listening ports don't do anything /shrug
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64150 → python37Packages.virtual-display: 0.2.3 -> 0.2.4 → https://git.io/fjKyM
<TheGamingBarrel> Works perfectly in docker, though so I can handle that for now
<dweller> Gopal[m]: im not sure if its documented
<lordcirth> devalot, does NixOS have options you can set in configuration.nix to set either up?
MmeQuignon has joined #nixos
jbgi has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #64151 → Httpd extra subservices → https://git.io/fjKyH
v88m has quit [Ping timeout: 258 seconds]
knupfer has joined #nixos
<jbgi> can I have a variable (or argument) whose name contains a dot?
mexisme_ has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.4]
<TheGamingBarrel> lordcirth yeah it does, can see them all here https://nixos.org/nixos/options.html#prometheus.
Miyu-chan has quit [Quit: WeeChat 2.4]
arjen-jonathan has quit [Ping timeout: 244 seconds]
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64152 → python37Packages.qtpy: 1.7.1 -> 1.8.0 → https://git.io/fjKyb
mexisme_ has quit [Ping timeout: 272 seconds]
<dminuoso> Whats the appropriate place to execute xmodmap to set up a Multi_key for XCompose?
<{^_^}> [nixpkgs] @Lassulus merged pull request #60952 → redeclipse: init at 1.6.0 → https://git.io/fjKyh
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/fjKyj
<Gopal[m]> dweller: worked around it
<Gopal[m]> thanks :)
Czen has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #64144 → arrow-cpp: add fixDarwinDylibNames → https://git.io/fjKDS
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjKSJ
rfold has joined #nixos
rajivr___ has quit [Quit: Connection closed for inactivity]
asheshambasta has quit [Remote host closed the connection]
<lordcirth> TheGamingBarrel, cool, thanks
kvaster has joined #nixos
Drakonis has quit [Ping timeout: 250 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
Athas has joined #nixos
<Athas> How come the gcc NixOS makes available by default is so sold? (7.4)
<lordcirth> Athas, because bumping gcc can be involved, I would guess?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/859bc7b65a7 (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
alpounet has quit [Remote host closed the connection]
fusion809 has quit [Remote host closed the connection]
alpounet has joined #nixos
erasmas has joined #nixos
kvaster has left #nixos ["Konversation terminated!"]
<samueldr> Athas (and lordcirth) https://github.com/NixOS/nixpkgs/pull/63132
<{^_^}> #63132 (by vcunat, 2 weeks ago, open): [WIP] Build nixpkgs with gcc 8 by default
<Athas> Hm. Is it practical to switch my command line gcc, or will it cause ABI trouble? (I also don't want to recompile the world.)
<samueldr> there should not be ABI troubles AFAIK
<Athas> I don't much care which compiler has been used for my nixpkgs, but GCC 7.4 is crashing on my code!
chris___ has joined #nixos
<chris___> nix-channel --update is taking forever on my side seemingly randomly. Is it maybe related to the cloudflare outage? Is there a way I can get around it?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/859bc7b65a7 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<samueldr> chris___: we do not rely on cloudflare
stigo has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64153 → python37Packages.robotframework-seleniumlibrary: 3.2.0 -> 3.3.1 → https://git.io/fjKSr
alpounet has quit [Ping timeout: 252 seconds]
stigo has joined #nixos
<chris___> samueldr: Well thats good to hear! It eventually resolved - took a while though - a minute?
<TheGamingBarrel> Works fine for me chris___ on both my NAS and my personal laptop
<samueldr> not 100% positive for the channels, it might be fastly, it might be the redirect from the nixos.org site, it may be amazon (depending where it failed)
<samueldr> it might be that an edge server was a bit swamped
MmeQuignon has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #64085 → Additional vim plugin names → https://git.io/fjKgZ
<{^_^}> [nixpkgs] @kalbasit pushed 20 commits to master: https://git.io/fjKSi
inquisitiv3 has quit [Remote host closed the connection]
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
inquisitiv3 has joined #nixos
ilmu has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
asheshambasta_m has joined #nixos
<TheGamingBarrel> join #nixops
<TheGamingBarrel> Oops
_rvl has quit [Quit: ZNC 1.7.3 - https://znc.in]
_rvl has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64154 → python37Packages.sabyenc: 3.3.5 -> 3.3.6 → https://git.io/fjKS9
inquisitiv3 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @veprbl pushed to release-19.03 « arrow-cpp: add fixDarwinDylibNames »: https://git.io/fjKSQ
<jbgi> ~
<jbgi> ~
<jbgi> A
<jbgi> ~
Henson has joined #nixos
<Henson> hi everyone, I'm trying to run a nix-shell with a the old gcc49 compiler. However when I run nix shell, even with something like "nix-shell --pure -p which" it ends up putting a bunch of things in the environment, include gcc version 7 which I don't want. I thought --pure was supposed to be a clean environment with nothing. How can I get adjust this behaviour?
trevorriles has joined #nixos
<samueldr> it's pure when compared to the calling shell's environment; but by default it adds stdenv which has a compielr
<samueldr> compiler*
<samueldr> not sure about the best approach to get a shell without a compiler, and added packages using -p
<{^_^}> [nix-mode] @matthewbauer merged pull request #86 → SMIE: parse paths enclosed in angle brackets (e.g. <nixpkgs>) correctly → https://git.io/fjKCj
<{^_^}> [nix-mode] @matthewbauer pushed 4 commits to master: https://git.io/fjK9f
<samueldr> Henson: here's an example which uses a shell.nix, mkShell and overrides stdenv for the NoCC variant https://gist.github.com/samueldr/903bd09b74a5ef580ffac112b822d50c
<samueldr> still has *some* stuff in the stdenv though
* Henson tries it
amakthel has joined #nixos
<{^_^}> [nixops] @PsyanticY opened pull request #1175 → AWS: CMK resource definition → https://git.io/fjK9T
<Henson> samueldr: thanks, that seemed to work!
<samueldr> you're welcome; I don't know how you would reduce that even more, though it might be a "fun" project :)
alp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64155 → python37Packages.snakeviz: 2.0.0 -> 2.0.1 → https://git.io/fjK9W
knupfer has quit [Ping timeout: 250 seconds]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #64156 → yder: init at 1.4.5 → https://git.io/fjK98
amakthel has quit [Ping timeout: 252 seconds]
Soo_Slow has joined #nixos
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #64157 → buildPerlPackage: recognize "#!perl" as shebang → https://git.io/fjK92
asheshambasta_m has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64159 → python37Packages.statsmodels: 0.9.0 -> 0.10.0 → https://git.io/fjK9i
<gchristensen> ryantm: I am sometimes taken aback by how good r- is, thank you a lot for putting the work in and doing it
Neo-- has quit [Ping timeout: 268 seconds]
cjpbirkbeck has joined #nixos
karetsu has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64160 → python37Packages.telethon: 1.6.2 -> 1.8.0 → https://git.io/fjK9d
ThatDocsLady_ has quit [Quit: Leaving]
<boeg> Hey guys, I'm using nix on macos for development environments using nix-shell, and was wondering; is there a "best" way to use python and python packages not in the nix package repository on a nix environment? I see lots of different recommendations using pipenv, virtualenv, and then installing via pip, but they all seem a bit iffy, especially because then you have to load a nix env and then inside load a (python) virtual
<boeg> environment and they aren't necessarily tied to each other, so existing the nix env doesn't necessarily exit the (python) virtual environment.
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @ryantm merged pull request #64140 → python37Packages.luftdaten: 0.5.0 -> 0.6.1 → https://git.io/fjKXg
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjK9A
qqlq has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64154 → python37Packages.sabyenc: 3.3.5 -> 3.3.6 → https://git.io/fjKS9
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.sabyenc: 3.3.5 -> 3.3.6 »: https://git.io/fjK9j
qqlq_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64150 → python37Packages.virtual-display: 0.2.3 -> 0.2.4 → https://git.io/fjKyM
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.virtual-display: 0.2.3 -> 0.2.4 »: https://git.io/fjKHe
cjpbirkbeck has quit [Quit: Quitting now.]
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64123 → python37Packages.cherrypy: 18.1.1 -> 18.1.2 → https://git.io/fjKK3
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.cherrypy: 18.1.1 -> 18.1.2 »: https://git.io/fjKHJ
jnovak has joined #nixos
qqlq has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #64122 → python37Packages.braintree: 3.54.0 -> 3.55.0 → https://git.io/fjKoK
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.braintree: 3.54.0 -> 3.55.0 »: https://git.io/fjKHU
stranger___ has joined #nixos
<stranger___> what do you think of this change? #63024
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63024 (by gnidorah, 2 weeks ago, open): midisheetmusic: always bring timidity dependency
<{^_^}> [nixpkgs] @FRidh merged pull request #64125 → python37Packages.cmd2: 0.9.13 -> 0.9.14 → https://git.io/fjKKK
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.cmd2: 0.9.13 -> 0.9.14 »: https://git.io/fjKHT
<adisbladis> boeg: There are a few solutions for this.. I'm partial to using direnv to bridge that gap.
<{^_^}> [nixpkgs] @FRidh merged pull request #64117 → pyotherside: 1.5.6 -> 1.5.8 → https://git.io/fjKrY
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « pyotherside: 1.5.6 -> 1.5.8 »: https://git.io/fjKH3
<{^_^}> [nixpkgs] @FRidh merged pull request #64139 → python37Packages.libversion: 1.1.3 -> 1.1.4 → https://git.io/fjKX4
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.libversion: 1.1.3 -> 1.1.4 »: https://git.io/fjKHs
<{^_^}> [nixpkgs] @FRidh merged pull request #64146 → python37Packages.pytesseract: 0.2.6 -> 0.2.7 → https://git.io/fjKyI
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.pytesseract: 0.2.6 -> 0.2.7 »: https://git.io/fjKHG
jnovak has quit [Client Quit]
<boeg> boeg: I'm using direnv to use nix-shell, but do you suggest activating both nix-shell and a virtual environment with direnv?
<adisbladis> boeg: Yes exactly.
<{^_^}> [nixpkgs] @FRidh merged pull request #64107 → pdfpc: 4.3.2 -> 4.3.4 → https://git.io/fjKaF
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « pdfpc: 4.3.2 -> 4.3.4 »: https://git.io/fjKHZ
<{^_^}> [nixpkgs] @FRidh merged pull request #64074 → lldpd: 1.0.3 -> 1.0.4 → https://git.io/fjKuS
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « lldpd: 1.0.3 -> 1.0.4 »: https://git.io/fjKHn
<adisbladis> You have some docs how to achieve that here https://github.com/direnv/direnv/wiki/Python
<{^_^}> [nixpkgs] @FRidh merged pull request #64080 → mc: 4.8.22 -> 4.8.23 → https://git.io/fjKzB
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « mc: 4.8.22 -> 4.8.23 »: https://git.io/fjKHc
<{^_^}> [nixpkgs] @FRidh merged pull request #64066 → libpqxx: 6.4.4 -> 6.4.5 → https://git.io/fjKEh
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « libpqxx: 6.4.4 -> 6.4.5 »: https://git.io/fjKHC
<boeg> adisbladis: Hmm, how do I make sure the virtual environment only places stuff where nix can control it? So it's "contained" inside the nix environment?
<{^_^}> [nixpkgs] @FRidh merged pull request #64065 → libhandy: 0.0.9 -> 0.0.10 → https://git.io/fjKEX
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « libhandy: 0.0.9 -> 0.0.10 »: https://git.io/fjKHW
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #64058 → latte-dock: 0.8.8 -> 0.8.9 → https://git.io/fjK0K
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « latte-dock: 0.8.8 -> 0.8.9 »: https://git.io/fjKHl
<mdash> boeg: when pypi2nix works I strongly recommend using that
<boeg> adisbladis: or is that not a problem?
Jackneill has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #64053 → klavaro: 3.07 -> 3.08 → https://git.io/fjKRj
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « klavaro: 3.07 -> 3.08 »: https://git.io/fjKH4
<boeg> mdash: it doesn't work?
<{^_^}> [nixpkgs] @FRidh merged pull request #64079 → matio: 1.5.15 -> 1.5.16 → https://git.io/fjKzC
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « matio: 1.5.15 -> 1.5.16 »: https://git.io/fjKHE
<adisbladis> boeg: You dont pretty much... Before I've used a hash of the nix environment and derived virtualenv names from that so that a given virtualenv is only valid for that exact nix-shell
chris___ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #64062 → libcouchbase: 2.10.3 -> 2.10.4 → https://git.io/fjKEG
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « libcouchbase: 2.10.3 -> 2.10.4 »: https://git.io/fjKHg
jbgi has quit [Ping timeout: 246 seconds]
<boeg> adisbladis: how would one do that for example?
<adisbladis> boeg: I recently started using poetry and now I don't really bother with it.. Though I probably should.
<mdash> boeg: There are a few dependencies that pypi2nix can't handle, but most of the time it's been the ideal solution
<adisbladis> Also don't use _any_ python packages from nix when using virtualenv
<adisbladis> Then you're gonna have a bad time
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64161 → python37Packages.tomlkit: 0.5.3 -> 0.5.4 → https://git.io/fjKHw
<{^_^}> [nixpkgs] @FRidh merged pull request #64042 → groonga: 9.0.3 -> 9.0.4 → https://git.io/fjK4T
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « groonga: 9.0.3 -> 9.0.4 »: https://git.io/fjKHr
* adisbladis never had much luck with pypi2nix
<{^_^}> [nixpkgs] @FRidh merged pull request #64020 → flatpak-builder: 1.0.7 -> 1.0.8 → https://git.io/fjKnH
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « flatpak-builder: 1.0.7 -> 1.0.8 »: https://git.io/fjKHo
<{^_^}> [nixpkgs] @FRidh merged pull request #64006 → dhcpcd: 7.2.2 -> 7.2.3 → https://git.io/fjK34
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « dhcpcd: 7.2.2 -> 7.2.3 »: https://git.io/fjKHK
<mdash> it used to work great for me, before python community decided to complicate packaging even further
<boeg> mdash: alright
<{^_^}> [nixpkgs] @FRidh merged pull request #64004 → dehydrated: 0.6.2 -> 0.6.5 → https://git.io/fjK3Z
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « dehydrated: 0.6.2 -> 0.6.5 »: https://git.io/fjKH6
<boeg> adisbladis: so you are using poetry instead of virtualenv now?
lunik14 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #63998 → cimg: 2.6.5 -> 2.6.6 → https://git.io/fjKYy
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « cimg: 2.6.5 -> 2.6.6 »: https://git.io/fjKHi
<adisbladis> boeg: No poetry is still using virtualenv behind the scenes.
<{^_^}> [nixpkgs] @FRidh merged pull request #64012 → ecasound: 2.9.1 -> 2.9.2 → https://git.io/fjKsu
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « ecasound: 2.9.1 -> 2.9.2 »: https://git.io/fjKHP
<boeg> adisbladis: sure - so nix-shell plus poetry?
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/859bc7b65a7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixpkgs] @FRidh merged pull request #63978 → mod_wsgi: 4.6.6 -> 4.6.7 → https://git.io/fjKta
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « mod_wsgi: 4.6.6 -> 4.6.7 »: https://git.io/fjKHM
lunik1 has quit [Ping timeout: 272 seconds]
<adisbladis> boeg: This is the madness I was doing before with pipenv http://ix.io/1Nxk
<boeg> thanks, and damn
<adisbladis> boeg: And now http://ix.io/1Nxm
noudle has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64162 → python37Packages.twilio: 6.28.0 -> 6.29.0 → https://git.io/fjKHH
<adisbladis> (and if I have any issues related to dynamic linking or similar things in the virtualenv I just delete it)
<boeg> adisbladis: looks a lot cleaner
mddawley has joined #nixos
<mddawley> Hello
<boeg> adisbladis: I should try that
<adisbladis> boeg: So far I absolutely love poetry :)
<adisbladis> It's as well designed as can be expected for a python package manager
alp has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @veprbl pushed to release-18.09 « arrow-cpp: add fixDarwinDylibNames »: https://git.io/fjKH7
ym555 has joined #nixos
<boeg> adisbladis: never heard about it until now, but giving it a try with nix-shell right now
stepcut_ has joined #nixos
jbgi has joined #nixos
stepcut has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @ericnorris opened pull request #64163 → smimesign: init at v0.0.13 → https://git.io/fjKQU
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64164 → python37Packages.vega: 2.1.0 -> 2.3.2 → https://git.io/fjKQt
inquisitiv3 has joined #nixos
TheGamingBarrel has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @eadwu opened pull request #64165 → nvidia_x11.settings.libXNVCtrl: set OUTPUTDIR for build → https://git.io/fjKQG
<{^_^}> [nixpkgs] @magenbluten opened pull request #64166 → suricata: init at 4.1.4 → https://git.io/fjKQc
ddellacosta has joined #nixos
Drakonis has joined #nixos
<gentauro> bestest news ever !!! rycee sharing the <3 -> https://bornhack.dk/bornhack-2019/program/nixos-a-functional-gnulinux-distro/
<gentauro> srhb: it's gonna be gewd !!!
sindrip has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64168 → python37Packages.xarray: 0.12.1 -> 0.12.2 → https://git.io/fjKQ2
Okinan has quit [Quit: Konversation terminated!]
Netsu has joined #nixos
<Netsu> hi
selfsymmetric-pa has joined #nixos
<Netsu> I have `src = cleanSourceWith { filter = p: t: baseName p != "forbidden"; src = otherPkg.outPath };` in derivation
<Netsu> and it return error: string cannot refer to other paths
<Netsu> what exactly I doing wrong here, any suggestion?
blumenkranz has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64169 → python37Packages.yamllint: 1.15.0 -> 1.16.0 → https://git.io/fjKQK
<blumenkranz> Hello. Does somebody know how does NixOS package signing work? I mean, does Nix check whether packages are signed by Hydra, or is it vulnerable to MITM at some point of the upgrade process? I recall reading about this some time ago, but I can't for the life of me find it now
mexisme_ has joined #nixos
gyroninja___ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64170 → python37Packages.zconfig: 3.4.0 -> 3.5.0 → https://git.io/fjKQS
<simpson> blumenkranz: Your Nix is configured with Hydra's key. Hydra signs everything it builds with that key. Nix won't install packages built by others without a signature like Hydra's.
<blumenkranz> simpson: Nice. Thank you!
gyroninja___ has joined #nixos
alp has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3a285895517 (from 60 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9f9806d63d4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e6fe2df74ff (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<gchristensen> all of the bumps
cjpbirkbeck has quit [Quit: Quitting now.]
cjpbirkbeck has joined #nixos
TheGamingBarrel has joined #nixos
knupfer has joined #nixos
qqlq_ has quit [Ping timeout: 268 seconds]
qqlq has joined #nixos
Okinan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64171 → qmmp: 1.3.2 -> 1.3.3 → https://git.io/fjK7q
chris___ has joined #nixos
polman has quit [Ping timeout: 244 seconds]
polmaan has quit [Ping timeout: 248 seconds]
polmaan has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e6fe2df74ff (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
o1lo01ol1o has joined #nixos
polman has joined #nixos
Netsu has quit [Ping timeout: 260 seconds]
lunik144 has joined #nixos
jb55 has quit [Remote host closed the connection]
lunik14 has quit [Ping timeout: 272 seconds]
jb55 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
mddawley has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64172 → qutebrowser: 1.6.2 -> 1.6.3 → https://git.io/fjK7w
v88m has joined #nixos
<exarkun> Any pointers on why this doesn't give me a python wrapper that sets XDG_... etc? https://gist.github.com/exarkun/b122eeef7323ba32d2ac86f6e0fdfbfe
psyanticy has quit [Quit: Connection closed for inactivity]
leothrix has quit [Quit: ZNC 1.7.3 - https://znc.in]
leothrix has joined #nixos
<mdash> exarkun: I get 'makeWrapper doesn't understand the arg'
<mdash> exarkun: what's supposed to set $PERL5LIB
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
<mdash> or GSETTINGS_SCHEMA_PATH for that matter
qqlq_ has joined #nixos
lunik144 has quit [Ping timeout: 244 seconds]
qqlq has quit [Ping timeout: 264 seconds]
lunik144 has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #64174 → knot-resolver: fix LUA_{PATH,CPATH} → https://git.io/fjK7j
andreas303 has quit [Remote host closed the connection]
lacesz has joined #nixos
tmaekawa has joined #nixos
andreas303 has joined #nixos
<Thra11> If I change only the name of a dependency, does the hash change?
lambda-11235 has quit [Quit: Bye]
o1lo01ol1o has joined #nixos
<andi-> ,locate arm-elf-objdump
<{^_^}> Couldn't find in any packages
<andi-> :'(
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
arjen-jonathan has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
o1lo01ol1o has quit [Remote host closed the connection]
ilmu has quit [Ping timeout: 258 seconds]
knupfer has joined #nixos
Jackneill has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64175 → reaper: 5.978 -> 5.979 → https://git.io/fjK5I
tmaekawa has quit [Quit: tmaekawa]
stranger___ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64180 → react-native-debugger: 0.9.8 -> 0.9.10 → https://git.io/fjK5t
bakakuna has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @tadfisher closed pull request #63739 → plata-theme: 0.8.3 -> 0.8.6 → https://git.io/fjrT9
lacesz has quit [Remote host closed the connection]
endformationage has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @tadfisher opened pull request #64186 → plata-theme: 0.8.3 -> 0.8.7 → https://git.io/fjK5O
o1lo01ol1o has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64189 → rednotebook: 2.8 -> 2.11.1 → https://git.io/fjK53
lacesz has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
endformationage has joined #nixos
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eraserhd> Any nix-y reason I should get "wrong ELF type"?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64190 → renpy: 7.2.2 -> 7.3.0 → https://git.io/fjK5C
<{^_^}> [nixpkgs] @bachp opened pull request #64191 → plex: 1.16.0.1226 -> 1.16.1.1291 → https://git.io/fjK5l
<{^_^}> [nixpkgs] @jabranham opened pull request #64192 → R: Update CRAN and bioconductor packages → https://git.io/fjK54
Soo_Slow has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
ris has joined #nixos
<samueldr> eraserhd: might be fine, it's autopatchelfhook trying to patch any elf
<samueldr> it might be stumbling into things that aren't
<samueldr> in most cases it's fine to ignore
<Henson> I just discovered something interesting. I'm trying to use a library from a really old nixpkgs commit, and it depends on the "curl" program. However this derivation is so old that the URL to download the curl source no longer exists. Does that mean it's impossible to use these derivations? You can't fake out a derivation that can no longer be built, and any change to the old curl derivation...
<Henson> would break its hash and thus all the hashes of dependent programs. So you'd have to fork the nixpkgs at that point and edit the curl derivation, right?
<samueldr> Henson: if you have the archive (e.g. tar.gz) it could be done, considering it's likely using a fixed output derivation for the source input
Ariakenom has quit [Quit: Leaving]
<samueldr> and it's also possible that this particular fixed output is already on the cache.nixos.org cache
<Henson> samueldr: it doesn't appear to be, because it's trying to build it. It's from back in 2014.
knupfer has quit [Ping timeout: 252 seconds]
<alienpirate5> I'm trying to write a nix build file for my program that uses meson and requires gcc9, but when I run `nix-build` it runs meson and meson detects gcc 7 only. I am using `gcc9Stdenv.mkDerivation`, what could be causing this issue?
lacesz has quit [Remote host closed the connection]
<infinisil> Henson: You could probably override curl to a newer version
Drakonis has quit [Ping timeout: 252 seconds]
<eraserhd> samueldr: ah, I see. Unfortunately, it's erroring on all built objects suddenly
<{^_^}> [nixpkgs] @timokau opened pull request #64193 → sage: 8.8 -> 8.9.beta0 → https://git.io/fjK52
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @gloaming opened pull request #64194 → maintainers: add gloaming → https://git.io/fjK5o
Drakonis has joined #nixos
gyroninja___ has quit [Ping timeout: 245 seconds]
gyroninja___ has joined #nixos
karetsu has joined #nixos
mthst has joined #nixos
sindrip has joined #nixos
Netsu has joined #nixos
<eraserhd> Aha, plan9port is using gcc as a linker, and NIX_LDFLAGS passes -rpath instead of -Wl,-rpath...
qqlq_ has quit [Quit: ZNC 1.7.4 - https://znc.in]
<karetsu> why doesn't nix-shell inherit my system's LOCALE?
mexisme_ has quit [Read error: Connection reset by peer]
<Netsu> > a string that refers to a store path cannot be appended to a path
<{^_^}> undefined variable 'that' at (string):255:10
<Netsu> ^^^why so?
<Netsu> trying to src = /.. + someDerivation.out
<immae> Netsu: I don’t understand what you’re trying to do?
<immae> How is "src = /.. + someDerivation.out" different from just "src = someDerivation.out"
rprije has joined #nixos
<cransom> "/fullpathhere/${something.out}" is valid.
<Netsu> difference in type: /.. + str is path
<Netsu> (builtins.toPath (import ./default.nix {}).outPath) # => "/nix/store/..."
<Netsu> but
Drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<Netsu> /.. + (builtins.toPath (import ./default.nix {}).outPath) # => error: a string that refers to a store path cannot be appended to a path, at (string):1:1
<Netsu> /.. + "/bin" # => /bin
<cransom> are you literally trying to add a "/.." ?
<Netsu> yeah
<gchristensen> why?
<immae> I still don’t understand why you’re trying to do that Netsu
<Netsu> to transform string to path
<gchristensen> something.out is a path already
<gchristensen> in fact, `src = someDerivation;` is all you need to do
arjen-jonathan has quit [Ping timeout: 252 seconds]
<Netsu> I try to `src = lib.cleanSourceWith { filter = p: t: true; src = drv.out; }
<Netsu> but getting such error
<Netsu> I need refer to other_derivation.out and filter it.
<Netsu> .out is not a path. It's a set of derivation. And .outPath is string, not a path.
<Netsu> isnt't it?
<gchristensen> a `someDerivation` automatically becomes the type you need
<gchristensen> I don't believe you can use cleaneSourceWith on a build result, that is intended to be used with, like, `src = ./.`
<gchristensen> what do you need to "clean"?
<Netsu> gchristensen: trying to build several stages of CI by https://nixos.wiki/wiki/Import_From_Derivation
<gchristensen> why?
<Netsu> so I change sources on each step, and then build it
<gchristensen> what you're asking to do is very strange
wuji[m] has joined #nixos
<Netsu> gchristensen: well... because I need some metainformation from sources, and doing some preprocessing first to build the package.
<Netsu> gchristensen: why so? Just replace templates in sources, put proper version in placeholders, and then forward that sourced to next derivation to build.
<Netsu> I use nixpkgs as a build environment
<Netsu> is there better way to do it?
<gchristensen> anyway, no need to use cleanSourceWith
lambda-11235 has joined #nixos
Guest41737 has quit [Quit: WeeChat 2.4]
<gchristensen> if you need to clean the result of a build, runCommand could do it
<gchristensen> with some `rm` or whatever
<gchristensen> cleanSourceWith is for when you haven't already copied stuff in to the store
chris___ has quit [Quit: Lost terminal]
<Netsu> gchristensen: so there's some fundamental difference between source directories and directories in store, right?
<gchristensen> only in very specific scenarios
<gchristensen> and cleanSourceWith is maybe the _only_ scenario where this difference matters
<Netsu> expected that I can have custom src for new derivation from out of previous one
<gchristensen> IFD is typically not wanted though
<gchristensen> so
<gchristensen> I very much recommend against what you're doing
<Netsu> I do not using IFD in repo, just for CI stages
<gchristensen> yes, I don't understand why, and I recommend against it, even for CI stages, though I'm not sure what that means exactly
<Netsu> ok, thanks, I'll try to rewrite with simply `rm`, thank you
<pie__> does nix-hash automatically put something in the store?
<{^_^}> [nixpkgs] @flokli opened pull request #64195 → scikits-odes: init at 2.4.0 → https://git.io/fjKdY
<{^_^}> [nixpkgs] @vcunat pushed commit from @gloaming to master « maintainers: add gloaming »: https://git.io/fjKdG
blumenkranz has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
sindrip has quit [Ping timeout: 260 seconds]
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #64194 → maintainers: add gloaming → https://git.io/fjK5o
<{^_^}> [nixpkgs] @fgaz opened pull request #64196 → zaz: init at 1.0.0 → https://git.io/fjKdC
<{^_^}> [nixpkgs] @fgaz opened pull request #64197 → toppler: init at 1.1.6 → https://git.io/fjKdW
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ddellacosta has quit [Ping timeout: 258 seconds]
<alienpirate5> I'm trying to write a nix build file for my program that uses meson and requires gcc9, but when I run nix-build it runs meson and meson detects gcc 7 only. I am using gcc9Stdenv.mkDerivation, what could be causing this issue?
<m1cr0man> Hi folks. Having an issue with acme.PreliminiarySelfsigned. It doesn't seem to create the preliminary certs and I can't start my web server. I looked at the nix config for acme and it's supposed to create some systemd targets but I can't see them either
freeman42x has quit [Ping timeout: 252 seconds]
rfold has quit [Ping timeout: 272 seconds]
<m1cr0man> actually..there could be a bigger issue at play on my box, since networking.nameservers seems to have no effect on the resolv.conf too
<{^_^}> [nixpkgs] @bjornfor merged pull request #64171 → qmmp: 1.3.2 -> 1.3.3 → https://git.io/fjK7q
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « qmmp: 1.3.2 -> 1.3.3 »: https://git.io/fjKdV
ris has quit [Remote host closed the connection]
qyliss has quit [Quit: bye]
qyliss^work has quit [Quit: bye]
qyliss has joined #nixos
<TheGamingBarrel> Got back home from work? :P
karetsu has quit [Quit: WeeChat 2.4]
qyliss^work has joined #nixos
qyliss has quit [Remote host closed the connection]
qyliss^work has quit [Remote host closed the connection]
qyliss^work has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64198 → riemann: 0.3.2 -> 0.3.3 → https://git.io/fjKdy
qyliss has joined #nixos
v88m has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @leo60228 closed pull request #53771 → Fix Numpy on PyPy → https://git.io/fhZSw
o1lo01ol1o has joined #nixos
<{^_^}> [nix-mode] @conao3 opened pull request #87 → Fix package dependency → https://git.io/fjKdd
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @thorstenweber83 opened pull request #64199 → nixos/mysql: fix mysql test after #63862 → https://git.io/fjKFe
<{^_^}> [nixpkgs] @leo60228 opened pull request #64200 → Fix Numpy on PyPy → https://git.io/fjKFv
qyliss has quit [Quit: bye]
qyliss^work has quit [Quit: bye]
<{^_^}> [nixpkgs] @gloaming opened pull request #64201 → ocl-icd: 2.2.10 -> 2.2.12 and move to GitHub → https://git.io/fjKFT
qyliss^work has joined #nixos
qyliss has joined #nixos
erasmas has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64202 → sassc: 3.6.0 -> 3.6.1 → https://git.io/fjKFI
oldandwise has joined #nixos
<oldandwise> how do I install `gcov` in nixos ?
<gchristensen> typically you'd get that inside a nix-shell (automatically)
<oldandwise> how?
MmeQuignon has quit [Ping timeout: 245 seconds]
<gchristensen> for example, `nix-shell -p hello` will have gcov
MmeQuignon has joined #nixos
<exarkun> mdash: Hm! I dunno. Maybe some perl thing from the gnucash expression that I didn't copy.
<exarkun> mdash: I ignored that part because I couldn't seem to get the wrapper to even try to set anything.
<oldandwise> gchristensen: thanks
<{^_^}> [nixpkgs] @AerialX opened pull request #64203 → msp430GccSupport: 1.206 -> 1.207 → https://git.io/fjKFs
stigo has quit [Remote host closed the connection]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
civodul has quit [Ping timeout: 252 seconds]
joehh has quit [Ping timeout: 246 seconds]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @malob opened pull request #64204 → Add node package → https://git.io/fjKFw
noudle has quit []
<{^_^}> [nixpkgs] @marsam merged pull request #63778 → pythonPackages.python-dotenv: 0.10.2 -> 0.10.3 → https://git.io/fjrzF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjKFo
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/e6fe2df74ff (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5a7ab1963a9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @ajs124 opened pull request #64205 → transgui: 5.0.1-svn-r988 -> 5.17.0 → https://git.io/fjKFD
thc202 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64206 → skrooge: 2.19.1 -> 2.20.0 → https://git.io/fjKFS
stigo has joined #nixos
sheeldotme has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #64202 → sassc: 3.6.0 -> 3.6.1 → https://git.io/fjKFI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjKFb
TheGamingBarrel has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64207 → smtube: 18.11.0 -> 19.6.0 → https://git.io/fjKFN
<{^_^}> [nixpkgs] @marsam merged pull request #64164 → python37Packages.vega: 2.1.0 -> 2.3.2 → https://git.io/fjKQt
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjKFA
TheGamingBarrel has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #64153 → python37Packages.robotframework-seleniumlibrary: 3.2.0 -> 3.3.1 → https://git.io/fjKSr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjKFx