gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || 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
fresheyeball has quit [Ping timeout: 240 seconds]
seanparsons has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
kmicklas has quit [Ping timeout: 255 seconds]
gm152 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38714 → lr: 1.2 -> 1.3 → https://git.io/vxb2V
<krey> is it possible to use nix repl to run a script with arguments?
<{^_^}> [nixpkgs] @matthewbauer pushed to master « Revert "Merge pull request #28029 from cstrahan/hardening-fix" »: https://git.io/vxb2K
<krey> I noticed the --arg parameter, but can't seem to figure out how to use it
chessai has quit [Remote host closed the connection]
<infinisil> krey: what kind of script?
phdoerfler has quit [Quit: Leaving.]
<infinisil> krey: import path/to/file.nix { configdir = "foobar"; }
<yorick> running into a nix bug where the to-be-built numbers are flipping between two numbers and nothing is being done
<krey> infinisil: I guess I'm trying to run it as a shell script?
<petersjt014[m]> anyone know how do I add a network interface? I have a vps with an ipv6 address (add within the control panel) and I can't seem to find anything for detecting it on nixos, except for an `interfaceMonitor` option that doesn't appear to exist anymore
<krey> infinisil: I will make the function return a string at some point
<infinisil> krey: A shell script? Nix can't be "run", nix can only evaluate
<krey> infinisil: OK, so imagine that my function just returns a string
<krey> infinisil: is it possible to run it with nix repl
<krey> infinisil: and write that string to stdout?
<infinisil> you mean interpret the string as a bash script?
<ottidmes> krey: You would want nix-instantiate for that
<krey> ottidmes: expression does not evaluate to a derivation or a set of those
<krey> ottidmes: but I think this is what I want
<ottidmes> krey: nix-instantiate --eval --expr '1 + 2'
<infinisil> Ahh I get it now, yeah that's no shell script at all, that's just nix
<ottidmes> krey: nix-instantiate --eval --expr 'import ./foo.nix { foo = "bar"; }' gives "foobar" where foo.nix contains: { foo }: "foo${foo}"
<krey> so I tried nix-instantiate --eval nixpath.nix --argstr configdir "."
<krey> ottidmes: ah, got it, thanks
<ottidmes> krey: nix-instantiate --eval --expr 'import ./foo.nix' --argstr foo bar gives "foobar", that works too
<acowley> Huh, how do the --arg and --argstr options for nix repl work?
<rotaerk> if I used the -K flag for nix-build, is the tmp directory *eventually* going to be cleaned up, or do I need to do it explicitly
day|flip has joined #nixos
<rotaerk> acowley, achirkin worked around that one issue by adding cabal flags to let me turn off the foreign imports for 1.1 functions (since we only have vulkan-loader 1.0 currently)
<krey> acowley: yeah, I wonder
<rotaerk> but I'm determined to figure out why the hell that error happens in the first place, because it doesn't happen with all the examples
<acowley> rotaerk: I saw the comment, they're really going above and beyond!
<rotaerk> I feel like he *shouldn't* have to have done that
<rotaerk> err shouldn't have had to *
<acowley> rotaerk: Yeah, it's weird. My mental model of what was happening was wrong.
<acowley> I guess I hit that error building triangles, but not the vulkan-api package itself.
<rotaerk> building vulkan-api itself works fine. building vulkan-examples (but only for examples 05 and 06) triggers that error
<acowley> In my head, the error was when building vulkan-api, which would be consistent with some linker stage resolving the foreign imports.
<rotaerk> yea, it's simply not clear why it *cares* about that particular foreign import, for those two example executables
fresheyeball has joined #nixos
<rotaerk> I even tried to make example 01 look as much like example 05 as I could (short of replacing its entire source code), and it just kept building
<acowley> I haven't really fiddled with it. It's not just that example 05 imports Graphics.Vulkan.Ext.VK_KHR_swapchain?
<rotaerk> nope, that's one of the things I added to example 01
<rotaerk> and it still built
<rotaerk> I even added a call to one of the methods from that particular module
<acowley> Wow
<rotaerk> so weird
ottidmes has quit [Ping timeout: 260 seconds]
blankhart has joined #nixos
<acowley> One day nixos-unstable will advance and we'll get vulkan-loader 1.1
<acowley> Hopefully
<acowley> :P
<rotaerk> :P
<acowley> Vulkan really is incredibly wordy
<rotaerk> hmm, is there some way to see the output of the build phase of a nix derivation, rather than the out folder from the install phase?
<rotaerk> I want to see the result of --ddump-simpl --ddump-to-file
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/434490a4b47 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<rotaerk> but that's not copied over to the out folder
jperras has joined #nixos
silver_ has joined #nixos
<zybell_> could you run the build piped to `tee -a $out/somefile`? tee is extra buildInput from coreutils or busybox
<rotaerk> I'm not sure how I would do that
silver has quit [Ping timeout: 260 seconds]
<zybell_> How is the build run now?
<rotaerk> nix-build
<rotaerk> though with --ddump-simpl it displays to stdout, so I guess I could just redirect to a file, myself...
<rotaerk> (as in, without --ddump-to-file)
jperras has quit [Ping timeout: 260 seconds]
<rotaerk> yea, got it
<rotaerk> acowley, oh!
<rotaerk> it's because he's using TH to compile the GLSL ... at compile time
<achambe> does building nixos vms/isos work from non nixos nix installs?
<rotaerk> so the process of compilation requires it to load vulkan-loader
<acowley> rotaerk: Good sleuthing!
<rotaerk> :P
fresheyeball has quit [Ping timeout: 256 seconds]
<krey> is it possible to change my NIX_PATH without bad things happening to me and my loved ones every time?
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cc95cbed4a2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<yorick> krey: yes, just prepend to it
spear2 has joined #nixos
<krey> yorick: thanks, that's a lot better than what I'm doing
<infinisil> I just have nixpkgs=/path/to/nixpkgs on my Path:P
thc202 has quit [Ping timeout: 260 seconds]
<krey> infinisil: where's your nixos-config?
<infinisil> Using nixops, don't need that
<infinisil> I'm also considering just setting `NIX_PATH=/cfg`, because at /cfg/nixpkgs is my nixpkgs, and there's more useful stuff in /cfg
fresheyeball has joined #nixos
<krey> how can I get the directory my file lives in?
<infinisil> ./.
<krey> infinisil: magical
<infinisil> truly
<yorick> krey: I have a wrapper around nixos-rebuild that sets NIX_PATh
day|flip has quit [Remote host closed the connection]
fresheyeball has quit [Ping timeout: 240 seconds]
<krey> yorick: can I see?
cnu- has quit [Ping timeout: 265 seconds]
acarrico has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm has joined #nixos
krey has quit [Remote host closed the connection]
krey has joined #nixos
fresheyeball has joined #nixos
ryanartecona has joined #nixos
mizu_no_oto has joined #nixos
jperras has joined #nixos
mizu_no_oto has quit [Client Quit]
jluttine has quit [Ping timeout: 264 seconds]
acarrico has quit [Ping timeout: 256 seconds]
Arcaelyx_ is now known as Arcaelyx
nuncanada has quit [Read error: Connection reset by peer]
astrofog has quit [Quit: Quite]
jluttine has joined #nixos
acarrico has joined #nixos
platinum_ has joined #nixos
manu245 has quit [Ping timeout: 260 seconds]
jrolfs__ has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
hakujin has joined #nixos
<hakujin> hmm. I updated to nix 2.0 and now my `$NIX_PATH` points to `/nix/var/nix/profiles/per-user/root/channels`, meaning if I `nix-channel --add https://nixos.org/channels/nixpkgs-unstable` as my normal user I get duplicate nixpkgs warnings
<hakujin> what is correct here?
<hakujin> (on darwin)
jrolfs__ has quit [Ping timeout: 264 seconds]
markus1199 has joined #nixos
<krey> hakujin: no idea about darwin
jrolfs_ has quit [Ping timeout: 264 seconds]
<krey> what does nix-channel --list give you?
<hakujin> krey: by default (as freshly installed) nothing
<hakujin> but nix commands work, which was confusing to me
markus1189 has quit [Ping timeout: 268 seconds]
<hakujin> there is a nixpkgs symlink in that ^ root profile
sigmundv__ has quit [Ping timeout: 268 seconds]
<krey> hakujin: sorry, I don't know enough about darwin, and can't reproduce on nixos
<hakujin> krey: no worries. what is your `echo $NIX_PATH` as a non-root user?
jrolfs_ has joined #nixos
<krey> hakujin: they're the same for me
<hakujin> `/nix/var/nix/profiles/per-user/root/channels`?
<krey> yep, it's in there
xcmw has quit [Ping timeout: 268 seconds]
<krey> the rest of it is really messed up
<hakujin> lol
<hakujin> alright, thanks
<krey> I didn't know it looked like this until you asked me
detran` has joined #nixos
silver_ has quit [Read error: Connection reset by peer]
jrolfs_ has quit [Ping timeout: 260 seconds]
ryanartecona has quit [Quit: ryanartecona]
detran` has quit [Ping timeout: 265 seconds]
hakujin has quit [Ping timeout: 260 seconds]
seafood has joined #nixos
<seafood> Hey peeps, I love nixpkgs. I really do. Deterministic builds, once you get them working are _incredible_.
<seafood> But do you find that it is hard to manage a large Nix environment? I certainly do. Upgrading packages can take me hours, if not days.
circ-user-KrZJE has joined #nixos
<seafood> Just wanted to get a sense from the community how big a problem this is.
<seafood> And whether there are any ways to make it better.
<seafood> I find debugging Nix expressions to be quite hard. I often find myself grepping through the nixpkgs repo desperately looking for the patches I need so I can just copy-paste it somewhere else.
circ-user-KrZJE has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @adisbladis pushed to master « kdeconnect: 1.2.1 -> 1.3.0 »: https://git.io/vxb6z
<seafood> Reading, and understanding, other people’s code can sometimes be hard too
<{^_^}> [nixpkgs] @matthewbauer opened pull request #38715 → Build more commands from Apple's system_cmds → https://git.io/vxb6a
<petersjt014[m]> I stick most of my packages in my config file and everything's mostly fine from there. only problem I have is that my updates are dogshit slow cuz <1GB ram
<petersjt014[m]> I still can't write config files from scratch, but I at least haven't needed to yet
<petersjt014[m]> I've even gotten nix packages install on windows with wsl. it runs pretty slow because windows' sym/hardlinks are implemented with despair and regret, but other than that it worked on the first try
circ-user-kKgYE has joined #nixos
<circ-user-kKgYE> \nick ushering
acarrico has quit [Ping timeout: 260 seconds]
circ-user-kKgYE is now known as ushering
ushering has left #nixos [#nixos]
<petersjt014[m]> it'd help to know what kind of issues you come across
ryanartecona has joined #nixos
<petersjt014[m]> also are my messages showing up? I might've joined the wrong bridge, not sure
ray_ has joined #nixos
nuncanada has joined #nixos
nuncanada has quit [Remote host closed the connection]
<krey> o/ petersjt014[m]
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
<petersjt014[m]> aight cool
jrolfs_ has joined #nixos
hakujin has joined #nixos
freeman42x]NixOS has joined #nixos
winsome has joined #nixos
ray_ has quit [Ping timeout: 260 seconds]
hakujin has quit [Ping timeout: 256 seconds]
jrolfs_ has quit [Ping timeout: 256 seconds]
platinum_ has quit [Quit: Page closed]
platinum__ has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
Tobba has quit [Ping timeout: 264 seconds]
sanscoeur has joined #nixos
<seafood> petersjt014[m]: No, your messages are showing up. I was just AFK
<seafood> The Nix environment I’m managing has a lot of Haskell packages. It’s rather large.
<infinisil> seafood: Are these private packages? Not ones from hackage?
<seafood> The ones from Hackage.
<seafood> So, what I find is that when I try to upgrade to a newer Hackage LTS but used an old version of nixpkgs that things don’t work well.
<seafood> Things just break at random.
<infinisil> Well why are you doing this when nixpkgs does it for you?
<seafood> I always need to be on the bleeding edge of nixpkgs.
<infinisil> Ah right it's lts
<seafood> Yeah, this is tricky.
justan0theruser has joined #nixos
<infinisil> But hackage2nix is on github, i imagine it should work pretty well with nightly stackage
<seafood> We are using some packages that aren’t in Stackage in the nightlys.
<seafood> Those are always a bitch to get working.
justanotheruser has quit [Ping timeout: 255 seconds]
<seafood> But in general, the main problem is that if you do a deep override of just one package you lose the benefit of the Hydra caches and then, boom, things take a long time to build (sometimes hours).
<seafood> Waiting two hours to have just one little thing break, and having that happen multiple times, it pretty darn disheartening.
<infinisil> you can also just use stack for development
<infinisil> And then stack2nix to get a nix-build
Tobba has joined #nixos
<infinisil> seafood: Can really recommend stack2nix
<seafood> infinisil: Cool. I’ve only used cabal2nix
platinum__ has quit [Quit: Page closed]
Lisanna has joined #nixos
<Lisanna> What does "waiting for children" mean?
<Lisanna> does it mean literal unix process children
<infinisil> yup
<Lisanna> hrmph
<Lisanna> well that's not very descriptive <_<
<buhman> what other children would be valid to wait for?
<Lisanna> buhman idk, "children" can be a generic term
<infinisil> Lisanna: If you wanna go hunting: https://github.com/NixOS/nix/blob/master/src/libstore/build.cc#L4083
<Lisanna> Yeah, I'm reading it
<infinisil> long live open source \o/
<krey> why can't toFile cannot refer to derivation outputs?
<infinisil> krey: it's an evaluation time thing, and you can't (normally) build stuff during evaluation
<infinisil> krey: use something like pkgs.writeText instead
<infinisil> gonna go sleep now though, see yall
<krey> infinisil: thx, night
srdqty has quit [Quit: WeeChat 1.9.1]
srdqty has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
jrolfs_ has joined #nixos
ray_ has joined #nixos
ray_ is now known as ushering
hakujin has joined #nixos
ushering has quit [Client Quit]
srdqty has quit [Ping timeout: 264 seconds]
<fearlessKim[m]> since some time I have thiskind of error `unable to access 'https://bitbucket.org/vimcommunity/vim-pi/': Protocol "https" not supported or disabled in libcurl`. I am not sure why, looking at git log I couldn't find anything relevant ?
<Lisanna> why does nix trash my build if $out has the wrong permissions rather than just fixing it?
srdqty has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
Tobba has quit [Ping timeout: 260 seconds]
schoppenhauer has quit [Ping timeout: 255 seconds]
Lisanna has quit [Remote host closed the connection]
<achambe> sigh, Lisanna the comment explains right there
<achambe> you linked the reason why
gm152 has quit [Quit: Lost terminal]
schoppenhauer has joined #nixos
pxc has quit [Quit: WeeChat 2.0]
Tobba has joined #nixos
<{^_^}> [nixpkgs] @ChengCat opened pull request #38717 → racket: fix LD_LIBRARY_PATH → https://git.io/vxb1Q
<krey> is it possible to edit a file in the nix store?
<krey> (am root)
detran` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38718 → lldpd: 0.9.9 -> 1.0.1 → https://git.io/vxbMI
hakujin has joined #nixos
srdqty has quit [Ping timeout: 265 seconds]
<ryantm> krey: Why do you want to?
<krey> ryantm: trying to debug a package that isn't doing my bidding
jrolfs_ has quit [Ping timeout: 264 seconds]
srdqty has joined #nixos
<ryantm> krey: Why can't you edit the derivation expressions?
detran` has quit [Ping timeout: 260 seconds]
<ryantm> krey: or use overriding? https://nixos.org/nixpkgs/manual/#sec-overrides
hakujin has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38719 → libbson: 1.9.3 -> 1.9.4 → https://git.io/vxbMB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38720 → ipmiutil: 3.0.8 -> 3.0.9 → https://git.io/vxbMw
blankhart has quit [Quit: WeeChat 1.9.1]
<achambe> Is there an official nix expression style guide?
hakujin has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
<ryantm> achambe: I haven't heard of one. Searching the nix-devel mailing list for "style guide" comes up empty.
Rusty1_ has quit [Quit: Konversation terminated!]
hakujin has joined #nixos
<achambe> ryantm: thanks for looking
hakujin has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #nixos
Guanin has quit [Ping timeout: 256 seconds]
<cstrahan> Is there a document that describes how to build/install a multi-user setup of Nix on Linux?
jrolfs_ has joined #nixos
<cstrahan> I see install-multi-user.sh in the repo, but I don't know if I need to do anything special before running that.
ma27 has joined #nixos
<{^_^}> [nixpkgs] @AJChapman opened pull request #38722 → python-docx: init at 0.8.6 → https://git.io/vxbyO
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38474 → tt-rss: 2018-01-05 -> 2018-04-05 → https://git.io/vxy1G
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxbys
<{^_^}> → fd79c269 by @Nadrieril: tt-rss: 2018-01-05 -> 2018-04-05
<{^_^}> → 79cd1b5d by @matthewbauer: Merge pull request #38474 from Nadrieril/update-ttrss
Guanin has joined #nixos
rauno has joined #nixos
hamishmack has quit [Quit: hamishmack]
card[m] has joined #nixos
ma27 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vxby2
<{^_^}> → 2c81bc11 by @ryantm: pigz: 2.3.4 -> 2.4
<{^_^}> → 11db1186 by @matthewbauer: pigz: fix on darwin
<{^_^}> → 0c70c408 by @matthewbauer: Merge branch 'auto-update/pigz'
<{^_^}> [nixpkgs] @matthewbauer closed pull request #36668 → pigz: 2.3.4 -> 2.4 → https://git.io/vApNM
<card[m]> hi, i was trying to build eta recently and apparently the derivation for haskell.packages.ghc7103.Cabal_1_24_2_0 is broken
<card[m]> something about cabal not understanding the profiling-detail flag it's passed,,, not really sure how to fix it unfortunately
<card[m]> do you guys know what the path for its derivation in the nixpkgs git repo is ? ^^
jrolfs_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38334 → prometheus: 2.1.0 -> 2.2.1 → https://git.io/vxiUI
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vxbyD
<{^_^}> → cd9b6a56 by @mbode: prometheus: 2.1.0 -> 2.2.1
<{^_^}> → b34d6f90 by @mbode: prometheus: actually run tests
<{^_^}> → 2f018d7e by @matthewbauer: Merge pull request #38334 from mbode/prometheus_2_2_1
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38723 → krita: 4.0.0 -> 4.0.1 → https://git.io/vxbyQ
hakujin has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
mog has quit [Ping timeout: 240 seconds]
shikiryogy has joined #nixos
<shikiryogy> Hi guys, there is no sound as of upgrading to 18.03. I enabled sound via "sound.enable", I also enabled pulseaudio, but still no sound whatsoever
Myrl-saki has joined #nixos
FRidh has joined #nixos
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #38724 → pythonPackages.jupyterlab: 0.4.1 -> 0.31.12 → https://git.io/vxbS4
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38725 → apache-jena-fuseki: 3.6.0 -> 3.7.0 → https://git.io/vxbS0
<{^_^}> [nixpkgs] @FRidh closed pull request #38724 → pythonPackages.jupyterlab: 0.4.1 -> 0.31.12 → https://git.io/vxbS4
hakujin has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to staging: https://git.io/vxbSw
<{^_^}> → 636c6344 by @zimbatm: pythonPackages.jupyterlab_launcher: init at 0.10.5
<{^_^}> → 878ca5b6 by @zimbatm: python3Packages.jupyterlab: 0.4.1 -> 0.31.12
<{^_^}> → 2e18f166 by @zimbatm: Update default.nix
<{^_^}> [nixpkgs] @FRidh merged pull request #38566 → Jupyterlab 0.31.12 → https://git.io/vxQU8
iyzsong has joined #nixos
hakujin has quit [Ping timeout: 264 seconds]
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #38707 → ncmpc: 0.29 -> 0.30 → https://git.io/vxbE8
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vxbS5
<{^_^}> → a0fb3817 by R. RyanTM: ncmpc: 0.29 -> 0.30
<{^_^}> → 92e643c9 by @adisbladis: Merge pull request #38707 from r-ryantm/auto-update/ncmpc
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6c064e6b1f3 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jrolfs_ has quit [Ping timeout: 268 seconds]
leothrix has quit [Quit: ZNC 1.6.6 - http://znc.in]
shabius has joined #nixos
leothrix has joined #nixos
Ariakenom has joined #nixos
detran` has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #38703 → offlineimap: 7.1.5 -> 7.2.0 → https://git.io/vxbCe
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vxb9M
<{^_^}> → 6e066027 by R. RyanTM: offlineimap: 7.1.5 -> 7.2.0
<{^_^}> → d9dc680c by @adisbladis: Merge pull request #38703 from r-ryantm/auto-update/offlineimap
hakujin has joined #nixos
klntsky has quit [Ping timeout: 268 seconds]
klntsky has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38726 → hwdata: 0.310 -> 0.311 → https://git.io/vxb95
detran` has quit [Ping timeout: 265 seconds]
hakujin has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38728 → grpc: 1.10.0 -> 1.10.1 → https://git.io/vxbHT
klntsky has quit [Remote host closed the connection]
<MichaelRaskin> achambe: ryantm: There is section 13 of Nixpkgs manual
mog has joined #nixos
<achambe> MichaelRaskin: nah, I mainly meant things like whitespace, indentation, camelCase etc.
<achambe> and tips about factoring code into functions
<MichaelRaskin> Note it does have a paragraph on naming
deepfire has quit [Ping timeout: 264 seconds]
<MichaelRaskin> Functions are something that we still pretend doesn't happen too often in the leaf packages. Which is a naive lie, but oh well
hakujin has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38729 → groonga: 8.0.0 -> 8.0.1 → https://git.io/vxbHV
deepfire has joined #nixos
hamishmack has joined #nixos
hotfuzz_ has joined #nixos
vidbina has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
Guest17535 has joined #nixos
hotfuzz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38329 → darwin.opencflite: fix build → https://git.io/vx6Ne
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxbH9
<{^_^}> → d1dfe27a by @knedlsepp: darwin.opencflite: fix build
<{^_^}> → 15c1cd24 by @matthewbauer: Merge pull request #38329 from knedlsepp/fix-darwin.opencflite
winem_ has joined #nixos
<neonfuz> anyone know how to set up fingerprint sensor properly on nixos?
atu has joined #nixos
asuryawanshi has joined #nixos
<neonfuz> I did services.fprintd.enable; and enrolled with fprintd-enroll
<neonfuz> but idk how to make it default to auth with IE logging in and running sudo
<neonfuz> Back on fedora I had it use fingerprint sensor for anything that used password really, that's how I'd like it
xAFFE has joined #nixos
<neonfuz> I see security.pam.services.<name?>.fprintAuth, but idk what I'd put for <name?>...
Guest17535 has quit [Ping timeout: 276 seconds]
matklad has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
<achambe> hmm, im trying to make a python venv as a derivation and my build command succeeds in my shell, but in the builder errors with a message about ascii encoding
knupfer has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38730 → fox_1_6: 1.6.56 -> 1.6.57 → https://git.io/vxbQu
asuryawanshi has joined #nixos
hakujin has joined #nixos
Ariakenom has quit [Quit: Leaving]
vaninwagen has joined #nixos
periklis has joined #nixos
hakujin has quit [Ping timeout: 264 seconds]
<vaibhavsagar> achambe: do you need to set the locale explicitly maybe?
<achambe> vaibhavsagar: I thought it was something like that, though not sure exactly what i need to set
<vaibhavsagar> try sticking `LANG = "en_US.UTF-8";` in your mkDerivation
zybell_ has quit [Read error: Connection reset by peer]
periklis has quit [Ping timeout: 240 seconds]
m3lt has joined #nixos
<FRidh> and include glibcLocales
atu has quit [Ping timeout: 260 seconds]
jensens has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38731 → flatbuffers: 1.8.0 -> 1.9.0 → https://git.io/vxb7B
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38732 → gdbm: 1.14 -> 1.14.1 → https://git.io/vxb7u
atu has joined #nixos
m3lt has quit [Ping timeout: 240 seconds]
hakujin has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38734 → fail2ban: 0.10.2 -> 0.10.3.1 → https://git.io/vxb5k
hakujin has quit [Ping timeout: 256 seconds]
zybell_ has joined #nixos
cfricke has joined #nixos
wangoe has joined #nixos
coot has joined #nixos
vidbina has quit [Ping timeout: 245 seconds]
<achambe> vaibhavsagar: FRidh both of your fixes were needed together
<achambe> thanks so much!
<achambe> I was realling banging my head
cruxeternus has quit [Ping timeout: 264 seconds]
cruxeternus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38735 → chrony: 3.2 -> 3.3 → https://git.io/vxbdv
<achambe> its neat that venv's work based on path so they fit just fine into the nix store
freebird_ has joined #nixos
<LnL> I should figure out how they mess with sys.prefix
<LnL> then I could replace my hacks with a proper nix wrapper
<freebird_> Hello, I'm trying since a couple of hours to rebuild an iso which is able to boot with rEFInd. I can make it with other isos. But for NixOS the ISO does not boot. Can I post my mkisofs oneliner here and ask for help?
<freebird_> I can create ISOs with other distros I mean
<achambe> sure
<achambe> in a pastebin or something if its long?
thc202 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38736 → dbus-glib: 0.108 -> 0.110 → https://git.io/vxbdy
joko has joined #nixos
<freebird_> I can burn bootable Arch ISOs, but I cannot create bootable NixOS ISO for my MacBook. It is possible I know.. Thank you advance! :)
<fearlessKim[m]> any trick to add channels from configuration.nix ?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38720 → ipmiutil: 3.0.8 -> 3.0.9 → https://git.io/vxbMw
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxbFf
<{^_^}> → a1c7d095 by R. RyanTM: ipmiutil: 3.0.8 -> 3.0.9
<{^_^}> → efc3b5ec by @7c6f434c: Merge pull request #38720 from r-ryantm/auto-update/ipmiutil
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38725 → apache-jena-fuseki: 3.6.0 -> 3.7.0 → https://git.io/vxbS0
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxbFJ
<{^_^}> → edf31cf5 by R. RyanTM: apache-jena-fuseki: 3.6.0 -> 3.7.0
matklad has quit [Remote host closed the connection]
<{^_^}> → 4ee2ac64 by @7c6f434c: Merge pull request #38725 from r-ryantm/auto-update/apache-jena-fuseki
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38737 → efibootmgr: 15 -> 16 → https://git.io/vxbFq
<{^_^}> [nixpkgs] @mguentner opened pull request #38738 → i3pystatus: 3.35 -> unstable → https://git.io/vxbFc
<manveru> fearlessKim[m]: what do you mean with adding?
hakujin has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « git: revert "2.16.2 -> 2.17.0" »: https://git.io/vxbFy
knupfer has quit [Ping timeout: 265 seconds]
gmarmstrong has joined #nixos
hakujin has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38739 → copyq: 3.3.0 -> 3.3.1 → https://git.io/vxbbG
__Sander__ has joined #nixos
orivej has joined #nixos
mmercier has joined #nixos
Jetien has joined #nixos
jrolfs_ has quit [Ping timeout: 268 seconds]
detran` has joined #nixos
jackdk has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38740 → cytoscape: 3.6.0 -> 3.6.1 → https://git.io/vxbNq
detran` has quit [Ping timeout: 240 seconds]
<{^_^}> [cabal2nix] @peti pushed to master « persistent-sqlite: link the package against the system sqlite library »: https://git.io/vxbNc
<freebird_> Help for rebuilding an ISO for my MacBook is very appreciated: https://0bin.net/paste/bgX39Me2VM5uhcvz#w7I72aZYDVQsiqBWqWeH52scKVYLuUFjfpifRPNGxET I'll be somewhere now and will look later if someone has a solution. :)
<neonfuz> fprintd-enroll lets me enroll a new fingerprint, and acts like it succeeded, but then fprintd-list doesn't show any enrolled prints...
<neonfuz> I think it writes to /var/lib/fprintd by default but can't maybe?
phdoerfler has joined #nixos
<sphalerite> freebird_: nixos images are built using nix. Why do you need to build your own?
ma27 has joined #nixos
ma27 has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38741 → di: 4.44 -> 4.45 → https://git.io/vxbNd
klntsky has joined #nixos
phdoerfler has quit [Quit: Leaving.]
phdoerfler has joined #nixos
<fearlessKim[m]> manveru: I just reinstalled nixos and to prevent huge rebuilds while hacking on nixpkgs, I pin some big packages to a stable channel, like stable.libreoffice . Noew that I've reinstalled I have to do nix-channel --add manually and I wish to automate that from configuration.nix
<{^_^}> [nixpkgs] @dotlambda merged pull request #38739 → copyq: 3.3.0 -> 3.3.1 → https://git.io/vxbbG
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « copyq: 3.3.0 -> 3.3.1 (#38739) »: https://git.io/vxbA4
periklis has joined #nixos
<manveru> i guess you could set `nix.nixPath`
phdoerfler has quit [Client Quit]
<LnL> then you loose channel history
mmercier has quit [Ping timeout: 255 seconds]
phdoerfler has joined #nixos
binarin has joined #nixos
periklis has quit [Ping timeout: 264 seconds]
phdoerfler has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38742 → alsaTools: 1.1.5 -> 1.1.6 → https://git.io/vxbAx
mmercier has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #38714 → lr: 1.2 -> 1.3 → https://git.io/vxb2V
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « lr: 1.2 -> 1.3 (#38714) »: https://git.io/vxbpm
ThatDocsLady has joined #nixos
rosa has joined #nixos
<seafood> Who knows something about GC here?
<{^_^}> [nixpkgs] @dotlambda merged pull request #38700 → smtube: 18.1.0 -> 18.3.0 → https://git.io/vxbT5
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « smtube: 18.1.0 -> 18.3.0 (#38700) »: https://git.io/vxbpD
<sphalerite> !doesanyoneuse
<{^_^}> Don't ask if anyone uses software xyz, just ask your specific question. This helps solve your problem quicker, and allows people who haven't used xyz but may still be able to help you to do so.
<sphalerite> seafood: same applies ^ just ask your actual question
<seafood> What gets garbage collected exactly? Anything that is not a run-time dependency? Or anything that is not a build dependency?
<seafood> This is not that clear in the manual: https://nixos.org/nix/manual/#sec-garbage-collection
<sphalerite> it depends on the keep-drvs and keep-outputs options. By default, only runtime dependencies (paths referenced by the output) will be kept
<sphalerite> but if you have keep-drvs and keep-outputs set to true, it will keep anything that's referenced by derivation files (i.e. build inputs) as well
hakujin has joined #nixos
<sphalerite> keep-drvs is true by default iirc
<seafood> sphalerite: Who has edit access to the Nix manual?
<{^_^}> [nixpkgs] @dotlambda merged pull request #38681 → home-assistant: 0.65.5 -> 0.66.1 → https://git.io/vxFeA
<{^_^}> [nixpkgs] @dotlambda pushed to staging « home-assistant: 0.65.5 -> 0.66.1 (#38681) »: https://git.io/vxbhw
<seafood> Can whoever that is, make this clearer?
<seafood> It will just take a sentence or two.
<sphalerite> seafood: you can make a PR
<seafood> sphalerite: I will add it to me TODO list.
<seafood> *my
<vaibhavsagar> I wouldn't expect it to take very long to do if it's just a sentence or two :)
<seafood> vaibhavsagar: Indeed.
<freebird_> sphalerite: Because the normal iso does not boot on my Mac nor with rEFInd.
<sphalerite> freebird_: how are you trying to boot it and how does it fail?
seafood has quit [Quit: seafood]
<{^_^}> [nixpkgs] @dotlambda pushed to master « python3.pkgs.pyhomematic: 0.1.40 -> 0.1.41 »: https://git.io/vxbhd
hakujin has quit [Ping timeout: 240 seconds]
<freebird_> I've posted accidentally the wrong oneliner. Without the extra "-no-emul-boot" NixOS live will boot successfully. Could this be an option to make the ISOs in the future usable for more systems?
phdoerfler has joined #nixos
<sphalerite> freebird_: again, you haven't explained how you tried to make it work and how it failed to work.
<sphalerite> what medium did you try to boot from (USB stick, CD)? How did you put the image on the medium? How did you try to boot it?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38743 → altcoins.bitcoin-abc: 0.16.2 -> 0.17.0 → https://git.io/vxbjn
<freebird_> sphalerite: I'm not starring on the chat, sorry. Please give me time to answer.
<freebird_> and time to re-test. Thank you!
phdoerfler has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38744 → certbot: 0.22.2 -> 0.23.0 → https://git.io/vxbjg
Tobba has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38745 → alsaPlugins: 1.1.5 -> 1.1.6 → https://git.io/vxNef
Tobba has joined #nixos
iyzsong has quit [Ping timeout: 264 seconds]
ma27 has joined #nixos
seafood has joined #nixos
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38746 → burp: 2.1.30 -> 2.1.32 → https://git.io/vxNe6
hakujin has joined #nixos
rosa has quit [Quit: rosa]
hakujin has quit [Ping timeout: 265 seconds]
jrolfs_ has quit [Ping timeout: 265 seconds]
jrolfs_ has joined #nixos
humanoyd has joined #nixos
<mkaito> anyone here run Plex Media Server? Is transcoding working for you? I see this over and over in the logs: https://gist.github.com/mkaito/db0d43789ca1c45249cabd1c0db91bca
mog has quit [Ping timeout: 256 seconds]
mog has joined #nixos
Tobba_ has joined #nixos
rosa has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38747 → cbatticon: 1.6.7 -> 1.6.8 → https://git.io/vxNfI
Myrl-sak1 has joined #nixos
<{^_^}> [nixpkgs] @waern closed pull request #38689 → nixos/acme: Service should not fail when no renewal is necessary → https://git.io/vxFWy
ardfard has joined #nixos
rosa has quit [Client Quit]
Tobba has quit [Ping timeout: 264 seconds]
rosa has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/vxNfg
<{^_^}> → 531e1eb1 by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}> → d10a7f0b by @peti: LTS Haskell 11.4
<{^_^}> → 120a7ffb by @peti: hackage-db: update snapshot
jrolfs_ has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
jrolfs_ has joined #nixos
rosa has quit [Quit: rosa]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38749 → alsaOss: 1.0.28 -> 1.1.6 → https://git.io/vxNJJ
hakujin has quit [Ping timeout: 265 seconds]
binarin has quit [Remote host closed the connection]
cfricke has quit [Ping timeout: 240 seconds]
TweyII has joined #nixos
jrolfs_ has quit [Ping timeout: 264 seconds]
<mkaito> I've found the problem. A binary that Plex appears to download from somewhere (obviously) hasn't been patched to have the correct interpreter. Can `patchelf` be run in a service preStart or something?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38750 → asunder: 2.9.2 -> 2.9.3 → https://git.io/vxNJx
<kuri0> how do I find the dependencies of a package ?
<freebird_> sphalerite: The original iso is not bootable under Mac OS. Rebuilding with iso-level 2 is successfull. Creating the iso with iso-level 3 results in an undetectable iso instead. Here you can see how I have rebuilt the iso: https://0bin.net/paste/RXTrEoIxx8lTomXk#Wplo0-jlk1XRcRhw/r21Rm3/n4V5ygzp1cBhJOIgiXQ
<kuri0> nix-store --query doesn't seem to return everything for gimp since if i make a sandbox with only access to those files it gives library errors
<{^_^}> [nix] @edolstra pushed to master « Fix #2057 »: https://git.io/vxNUL
rosa has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #38751 → jmol: init at 14.29.12 → https://git.io/vxNUY
<freebird_> For those who have old hardware or other booting problems with the DVD.
boxscape has joined #nixos
<boxscape> hm, I could've sworn that typing `nix-shell -p nixos.ipython --command ipython3' worked a couple of days ago, but now it says `undefined variable 'nixos''. Am I just misremembering?
sigmundv__ has joined #nixos
<freebird_> ...you could add my mkisofs oneliner into the manual if peopla have problems with the DVD iso.
<freebird_> It is seldom, but for old Macs helpfull.
<LnL> boxscape: just nix-shell -p ipython
<{^_^}> [nixpkgs] @Mic92 opened pull request #38753 → radare2: 2.4.0 -> 2.5.0 → https://git.io/vxNUu
<{^_^}> [nix] @edolstra pushed 35 commits to 2.0-maintenance: https://git.io/vxNUo
<{^_^}> → 3b9eb538 by @lheckemann: Fix #1762
<{^_^}> → af81bb78 by @edolstra: Doh
<{^_^}> → 741a9e9e by @edolstra: Fix example in release notes
<{^_^}> [nix] @edolstra pushed to master « Remove non-existant fedora27i386 »: https://git.io/vxNUi
<boxscape> LnL: thanks, that didn't quite work either, but it did make me realize that the problem is that ipython is in python3Packages
hakujin has joined #nixos
<LnL> ah yeah, might not be exposed toplevel
rosa has quit [Quit: rosa]
detran` has joined #nixos
lewo has quit [Ping timeout: 255 seconds]
hakujin has quit [Ping timeout: 260 seconds]
mmercier has quit [Ping timeout: 264 seconds]
binarin has joined #nixos
klntsky has quit [Ping timeout: 268 seconds]
MP2E has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau opened pull request #38754 → gap: 4r8p3 -> 4r8p10 → https://git.io/vxNTW
detran` has quit [Ping timeout: 260 seconds]
gmarmstrong has quit [Ping timeout: 260 seconds]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #38695 → strace: 4.21 -> 4.22 → https://git.io/vxF97
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxNkf
<{^_^}> → eea252a1 by R. RyanTM: strace: 4.21 -> 4.22
<{^_^}> → 0252e6ca by @Mic92: Merge pull request #38695 from r-ryantm/auto-update/strace
tmaekawa has joined #nixos
kerrhau has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #38755 → lrcalc: init at 1.2 → https://git.io/vxNk2
Asmadeus has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38717 → racket: fix LD_LIBRARY_PATH → https://git.io/vxb1Q
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vxNkw
<{^_^}> → 6016d370 by @ChengCat: racket: fix LD_LIBRARY_PATH
<{^_^}> → 4f03a0ca by @yegortimoshenko: Merge pull request #38717 from ChengCat/local
hakujin has joined #nixos
ottidmes has joined #nixos
<freebird_> I do not find dhcpcd in my nixos DVD. Is this normal?
ma27 has quit [Ping timeout: 255 seconds]
atu has quit [Ping timeout: 255 seconds]
hakujin has quit [Ping timeout: 240 seconds]
ma27 has joined #nixos
rauno has quit [Ping timeout: 276 seconds]
atu has joined #nixos
phdoerfler has joined #nixos
freebird_ has quit [Quit: Page closed]
fendor has joined #nixos
ditadi has joined #nixos
phdoerfler has quit [Client Quit]
ma27 has quit [Ping timeout: 268 seconds]
phdoerfler has joined #nixos
Asmadeus has joined #nixos
ardfard_ has joined #nixos
lewo has joined #nixos
ardfard has quit [Ping timeout: 256 seconds]
NinjaTrappeur has quit [Changing host]
NinjaTrappeur has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @timokau opened pull request #38756 → palp: init at 2.1 → https://git.io/vxNLa
rauno has joined #nixos
atu has quit [Ping timeout: 260 seconds]
ma27 has joined #nixos
atu has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #38757 → conan: 1.1.1 -> 1.2.3 → https://git.io/vxNLi
simukis has joined #nixos
hakujin has joined #nixos
ardfard_ has quit [Remote host closed the connection]
coot has quit [Quit: coot]
phdoerfler has quit [Quit: Leaving.]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
hakujin has quit [Ping timeout: 260 seconds]
<fendor> what windowing system is nixos using? X11 or already wayland?
<MasseR> which one you want to use
<fendor> additional information: on gnome.
ardfard has joined #nixos
<fendor> I heard, freeglut has a problem with wayland, so I wanna know if I am using wayland
<{^_^}> [nixpkgs] @mdorman opened pull request #38759 → Semi-automated emacs package updates → https://git.io/vxNtR
Lears has quit [Remote host closed the connection]
c0ffee152 has joined #nixos
<Taneb> fendor: I think you're probably not
<fendor> Taneb, yeah, dont think so either
goibhniu has joined #nixos
<Taneb> Although, nixos.org suggests that the gnome3 package is GNOME 3.26, and Wikipedia suggests that GNOME 3.22 onwards default to Wayland, so don't trust me
phdoerfler has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to master « nix-review: 0.1.0 -> 0.1.2 »: https://git.io/vxNqU
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38753 → radare2: 2.4.0 -> 2.5.0 → https://git.io/vxNUu
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxNqq
<{^_^}> → 309b4831 by @Mic92: radare2: 2.4.0 -> 2.5.0
<Mic92> Does somebody know how far are we away from native browser support on wayland? Is it something planned in the next three month or will it take longer?
<{^_^}> → 53a317b8 by @7c6f434c: Merge pull request #38753 from Mic92/radare2
<Mic92> This is one of my two personal blockers that hold me back from considering wayland.
MercurialAlchemi has joined #nixos
<fendor> Taneb, the normal commands are all telling me I am using X11
ardfard has quit [Remote host closed the connection]
atu has quit [Ping timeout: 264 seconds]
<fendor> hehe, ok, then how can i change my windowing system to wayland? :D
Lears has joined #nixos
ardfard has joined #nixos
__Sander__ has quit [Ping timeout: 260 seconds]
iyzsong has quit [Ping timeout: 264 seconds]
<Mic92> fendor: not sure, if gnome3 inherits wayland if gdm is started with wayland: https://nixos.org/nixos/options.html#gdm.wayland
<Mic92> ah no, this is the default
<Mic92> but maybe switching to gdm as login manager already make it happen then?
<fendor> i am using gdm,i think
<fendor> yeah, i am using gdm
ardfard has quit [Ping timeout: 255 seconds]
boxscape has quit [Ping timeout: 260 seconds]
Myrl-sak1 has quit [Ping timeout: 240 seconds]
phdoerfler has quit [Quit: Leaving.]
<Mic92> this is ongoing effort then.
mkoenig has joined #nixos
mkoenig_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #38761 → pynac: init at 0.7.19 → https://git.io/vxNma
stumble has joined #nixos
phdoerfler has joined #nixos
zybell_ has quit [Ping timeout: 256 seconds]
<fendor> Mic92, well, then this is probably not the error
<kuri0> I made a Python script to generate AppArmor profiles by only allowing the dependencies and /home but when I use it on GIMP it gives this error : error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory
<kuri0> Which means the dependency list doesn't contain all the needed files
<kuri0> If I give access to only /nix and /home it works but it can access any program's file then
hakujin has joined #nixos
<Mic92> kuri0: maybe not the final solution, but maybe /run/opengl-driver is also missing
<kuri0> Mic92, it works if i only allow /nix so it doesn't need /run
<kuri0> but if i only allow its dependencies in /nix it doesn't
<kuri0> lag
<{^_^}> [nixpkgs] @timokau opened pull request #38762 → m4ri: init at 20140914 → https://git.io/vxNYq
<kuri0> /run/opengl-driver might be required for 3d stuff but GIMP doesn't need it
ardfard has joined #nixos
<Mic92> I suppose you tried to strace it already?
phdoerfler has quit [Quit: Leaving.]
<kuri0> no i didn't
<kuri0> it does access stuff which aren't on the dependency list
<Mic92> how is this computed?
<kuri0> i used this to generate the dependency list nix-store --query --references $(which gimp)
<kuri0> then put it through my python script that turns stuff paths into apparmor allow rules
phdoerfler has joined #nixos
<Mic92> Does it discover plugins in your home's nix profile?
<kuri0> what do you mean by plugins ?
hakujin has quit [Ping timeout: 240 seconds]
phdoerfler has quit [Client Quit]
<Mic92> I know qt loads a lot of plugins from there. I had the intention gtk does not, but maybe gimp finds something there.
<kuri0> Mic92, how can I make those also be in the dependency list then ?
<Mic92> kuri0: no idea
<Mic92> these are impure then.
ardfard has quit [Ping timeout: 240 seconds]
<kuri0> the python script does print " " + line.strip() + "/** rix,\n", for each line
<kuri0> then i paste the output into the apparmor rules
<Mic92> maybe you could add your home profile closure or so?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cc95cbed4a2 (from 13 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<kuri0> add /home to the list of allowed folders ?
<Mic92> I don't think that helps.
<kuri0> what is home profile closure ?
<{^_^}> [nixpkgs] @layus opened pull request #38763 → git: 2.16.2 -> 2.17.0 → https://git.io/vxNYQ
<Mic92> ls -la .nix-profile
Myrl-sak1 has joined #nixos
<Mic92> this is just a meta package wrapping all installed packages
<kuri0> its a symlink
zybell_ has joined #nixos
<Mic92> realpath ~/.nix-profile
<Mic92> is more clear
<Mic92> but it could be also in the system profile
<sphalerite> I can use setterm --blank to change the timeout for the screen to blank on ttys. Is there any more elegant way to do this automatically on boot than just making a systemd service for it? I feel like this is something that systemd-vconsole-setup should actually do, but by the looks of it it doesn't
<Mic92> realpath /run/current-system
<kuri0> that returns the same path
xcmw has joined #nixos
<Mic92> Then you did not use nix-env?
<kuri0> sphalerite, consoleblank=??? kernel parameter ?
<kuri0> Mic92, i installed my packages using nix-env -i after installing nix with the install script
<Mic92> I get different paths for both symlinks
<sphalerite> kuri0: oh yeah, that'll do nicely. Thanks!
<kuri0> Mic92, isn't GIMP only supposed to require stuff in it's dependencies ?
atu has joined #nixos
<Mic92> kuri0: in a perfect world...
<kuri0> lol
<kuri0> stuff like profiles seem to make nix more complex than it should
<Mic92> I don't like nix-env.
<kuri0> Mic92, how do i use nix without it then ?
<sphalerite> or only use nix shell and your system profile
<sphalerite> nix-shell*
<sphalerite> and maybe nix run
<sphalerite> and nix build
<sphalerite> etc
<Mic92> or direnv + nix for development
cfricke has joined #nixos
<Mic92> nix-env mixes different versions of a build. I like to have less variability.
<Mic92> this is more predictable
cfricke has quit [Client Quit]
<kuri0> how do you install nix without these extra tools like nix-env and the build tools ?
cfricke has joined #nixos
<kuri0> since you don't need it on embedded systems
<sphalerite> oh, on non-nixos?
<sphalerite> that's currently not an option
<kuri0> no on nixos
<Mic92> kuri0: nixwrt aims for that
<Mic92> dockerTools also does this
alasi has quit [Quit: Connection closed for inactivity]
<kuri0> also has anyone modified / forked nix so that it works with binaries instead of source packages ?
<Mic92> patchelf fhsUserEnv
<sphalerite> kuri0: nix itself doens't need any changes for it
<sphalerite> but being entirely binary-based kind of defeats the point of nix
<Mic92> once packaged, binaries are actually not to hard to integrate in nix
<kuri0> if the binary cache has every single package thats also ok
<kuri0> sphalerite, that seems to be for stuff like proprietary software.Has anyone done something like Debian where you build a package and then users can install it from your repo ?
<sphalerite> kuri0: binary caches
<kuri0> sphalerite, so then can I remove the compiling tools and use nix ?
<sphalerite> other than that, no. As I said, it sort of defeats the point of nix
<sphalerite> yes, you don't need a compiler on your system if you have nix and only use software that's included in the binary cache
<sphalerite> (s)
<kuri0> do binary cache servers usually have all the packages built ?
<gchristensen> kuri0: you're asking a lot of questions that are pretty weird for nix, I suspect we have an X-Y problem.
<gchristensen> can you describe what problem you're trying to solve, now how you think you'd like nix to behave?
<kuri0> trying to get it to work without these compiler tools
<Mic92> what package?
<kuri0> regular packages like firefox and desktops
<gchristensen> a basic install won't have compiler tools
phdoerfler has joined #nixos
<kuri0> there still are the nix build tools
<kuri0> is there a compile time option or something to disable including those ?
<gchristensen> would you want debian without apt?
<gchristensen> redhat without rpm / yum?
phdoerfler has quit [Client Quit]
<kuri0> lol no
<kuri0> but you don't really need the package building tools unless your making packages
<Mic92> unless you build packages, they are not installed
<gchristensen> Nix is apt or yum
<gchristensen> having Nix installed doesn't mean you have compilers installed
<kuri0> Mic92, the install script does install those tools on Ubuntu
<gchristensen> interesting, it shouldn't, but can you be very specific about which tools you have that Nix brought, that you think you shouldn't have? also, what Nix commands have you run, after installing?
<Mic92> kuri0: nix why-depends nixpkgs.evince nixpkgs.gcc
rauno has quit [Ping timeout: 260 seconds]
<Mic92> if something does it sometimes a bug.
phdoerfler has joined #nixos
<kuri0> gchristensen, installed using install script and then nix-env -i gimp
<LnL> s/sometimes/usually/
Myrl-saki has quit [Quit: WeeChat 2.0]
Myrl-sak1 is now known as Myrl-saki
__Sander__ has joined #nixos
<kuri0> Mic92, how do i remove those tools then ?
phdoerfler has quit [Quit: Leaving.]
c0ffee152 has quit [Quit: Lost terminal]
<srhb> kuri0: If there's a real dependency, you don't, but as said it is probably a bug and should be resolved :)
<srhb> kuri0: Try why-depends as suggested.
dan_b has joined #nixos
telent has joined #nixos
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
<{^_^}> [nixpkgs] @taku0 opened pull request #38765 → flashplayer: 29.0.0.113 -> 29.0.0.140 [Critical security fixes] → https://git.io/vxNG8
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38765 → flashplayer: 29.0.0.113 -> 29.0.0.140 [Critical security fixes] → https://git.io/vxNG8
<{^_^}> → f92dc58c by @taku0: flashplayer: 29.0.0.113 -> 29.0.0.140
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxNGE
<{^_^}> → 896cc084 by @7c6f434c: Merge pull request #38765 from taku0/flashplayer-29.0.0.140
iyzsong has joined #nixos
maingo has quit [Quit: Connection closed for inactivity]
fendor has quit [Ping timeout: 260 seconds]
chimay has joined #nixos
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @jamesthompson closed pull request #30450 → kubectl: init at v1.8.1 → https://git.io/vdM0M
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #38710 → liquibase: 3.5.5 -> 3.6.0 → https://git.io/vxbzt
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vxNZe
<{^_^}> → 3d406695 by R. RyanTM: liquibase: 3.5.5 -> 3.6.0
<{^_^}> → 392874b9 by @NeQuissimus: Merge pull request #38710 from r-ryantm/auto-update/liquibase
phdoerfler has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a63ee3c3567 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
xcmw has quit [Ping timeout: 260 seconds]
phdoerfler has quit [Client Quit]
xcmw has joined #nixos
ditadi has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @davidak opened pull request #38766 → tealdeer: init at 1.0.0 → https://git.io/vxNZS
humanoyd has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed to release-17.09 « Merge pull request #38765 from taku0/flashplayer-29.0.0.140 »: https://git.io/vxNZ5
<{^_^}> [nixpkgs] @7c6f434c pushed to release-18.03 « Merge pull request #38765 from taku0/flashplayer-29.0.0.140 »: https://git.io/vxNZN
ma27 has quit [Ping timeout: 260 seconds]
coot has joined #nixos
ma27 has joined #nixos
MercurialAlchemi has quit [Ping timeout: 276 seconds]
phdoerfler has joined #nixos
MercurialAlchemi has joined #nixos
fendor has joined #nixos
phdoerfler has quit [Client Quit]
phdoerfler has joined #nixos
winsome has quit [Ping timeout: 264 seconds]
phdoerfler has quit [Client Quit]
<fendor> has someone resources to build stack projects via nix?
<srhb> fendor: The manual does.
<srhb> (To the extent that combining Nix and Stack makes sense...)
lord| has quit [Quit: WeeChat 2.1]
<srhb> Which arguably isn't all that much.
<NinjaTrappeur> fendor, yup
<NinjaTrappeur> If you rather use nixpkgs haskellpkgs with the stackage version bounds: https://blog.typeable.io/posts/2017-08-24-stackage2nix.html
<NinjaTrappeur> (not perfect though...)
vdemeester` has quit [Changing host]
vdemeester` has joined #nixos
silver has joined #nixos
<fendor> NinjaTrappeur, thanks, but i want resources to build via nix-build, because i am expierincing troubles with stack
<fendor> i just hoped,there is something better than invoking ghc manually
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #38767 → [WIP] plex: use buildFHSUserEnv → https://git.io/vxNcw
<srhb> stackage2nix is the thing if you really need the bounds from stack.yml
<srhb> Otherwise you can just skip stack completely.
klntsky has joined #nixos
<fendor> srhb, how would i skip it completely? i still need to maintain it, because my team members are using it
<avn> srhb: you are about stack2nix? ;)
<srhb> avn: No, though similar in concept.
zzamboni has joined #nixos
<srhb> fendor: I mean, all methods aside from buildStackProject (I think...) technically skip stack and just build a nix set from whatever stack specifies
<srhb> fendor: Of course, you lose the binary cache completely.
jtojnar has joined #nixos
<fendor> srhb, but is there something better than to manually invoke ghc, including manually resolving dependencies of modules?
<srhb> Everything that has been suggested so far.
atu has quit [Ping timeout: 256 seconds]
<srhb> None of them involve invoking ghc directly.
<fendor> the suggestions so far were stack, using stackage2nix and stack2nix, and buildStackProject. Is the last one using stack?
iyzsong has quit [Ping timeout: 240 seconds]
<srhb> The last one, iirc, just produces the shell.nix for use with the stack --nix backend (eg. external dependencies)
magnetophon has joined #nixos
<fendor> ok, that wont work
<srhb> Yeah, it's not terribly useful in my experience.
<srhb> stackage2nix will, to my understanding, generate nix expressions for the entire stack resolution(?) described by stack.ymlk
<srhb> I don't remember exactly how stack2nix differs.
<fendor> but the yaml defines almost nothing?
<srhb> It does define the resolver, which, when used with Cabal defines the final set.
<srhb> Again, my experience with Stack is limited, so please double check what I'm saying
<NinjaTrappeur> fendor, have you read the link I previously send you
<NinjaTrappeur> *sent
hakujin has joined #nixos
humanoyd has quit [Ping timeout: 256 seconds]
<NinjaTrappeur> srhb, you're right :)
silver has quit [Read error: Connection reset by peer]
<srhb> Great! :-)
<fendor> NinjaTrappeur, i know that link, the problem is that stack exec has some runtime problem, the execution fails for some reason, thats why stack itself doesnt cut it at the moment
Rusty1_ has joined #nixos
<srhb> Neither of them use stack directly! It just generates nix expressions that describe the same package as what stack would build, with the same dependencies etc.
<srhb> Eg. you'll be able to nix-build (generated-nix-file) afterwards.
<NinjaTrappeur> fendor, oO it does not use stack
jensens has quit [Ping timeout: 240 seconds]
<fendor> NinjaTrappeur, you mean when i invoke stack with the --nix flag?
hakujin has quit [Ping timeout: 240 seconds]
<fendor> NinjaTrappeur, ok, the page provides more resources than I recall, maybe it is indeed helpful. However, currently i am using stack and edited the stack.yaml to include the libraries I need, but stack exec fails, probably to some linking issue
<fendor> NinjaTrappeur, thats why I dont actually want to use stack at the moment
xcmw has quit [Ping timeout: 240 seconds]
vaninwagen has quit [Ping timeout: 264 seconds]
<srhb> I feel like we're not getting the point of stackage2nix not relying on stack across properly, or misunderstanding the requirement :P
mmercier has joined #nixos
<fendor> stack2nix generates a nix expression that i can not build :(
Tobba_ has quit [Ping timeout: 240 seconds]
<srhb> stackage2nix /= stack2nix though, but go on?
<NinjaTrappeur> aaah, I get it, stackage2nix/=stack2nix
<NinjaTrappeur> too late :)
<fendor> ill try stackage2nix first :D
<fendor> srhb, stackage2nix seems not to exist 0.o
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to master: https://git.io/vxNlI
<{^_^}> → 4158a327 by @volth: [cpan2nix] perlPackages.TestDir: 1.014 -> 1.16
<{^_^}> → 44cca9a3 by @volth: [cpan2nix] perlPackages.TestEOL: 1.5 -> 2.00
<srhb> fendor: It's not in nixpkgs, if that's what you mean.
<{^_^}> → 5cee938a by @volth: [cpan2nix] perlPackages.TestHarness: 3.33 -> 3.42
<srhb> But it certainly exists.
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5e45362b7b7 (from 39 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<{^_^}> [nixpkgs] @FRidh pushed 78 commits to staging: https://git.io/vxNlm
<{^_^}> → 9fe17b21 by @cstrahan: hardening: fix #18995
<{^_^}> → 9783a677 by @cstrahan: hardening: use lib.toList
<{^_^}> → 0937df46 by @cstrahan: hardening: fix bug/typo
<fendor> srhb, ok, then how can i install it?
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38759 → Semi-automated emacs package updates → https://git.io/vxNtR
<{^_^}> [nixpkgs] @yegortimoshenko pushed 6 commits to master: https://git.io/vxNlO
<{^_^}> → c44cd4c2 by @mdorman: elpa-packages: 2018-04-11
<{^_^}> → 58fb81f3 by @mdorman: org-packages: 2018-04-11
<{^_^}> → e66b6427 by @mdorman: melpa-stable-packages: 2018-04-11
<srhb> fendor: Try checking their docs and see if you get stuck first. :)
<{^_^}> [nixpkgs] @abbradar merged pull request #38723 → krita: 4.0.0 -> 4.0.1 → https://git.io/vxbyQ
<{^_^}> [nixpkgs] @abbradar pushed commit from R. RyanTM to master « krita: 4.0.0 -> 4.0.1 »: https://git.io/vxNlW
<srhb> Hint: Their overlay should get you started.
humanoyd has joined #nixos
alexteves_ has joined #nixos
<fendor> srhb, i dont know wht an overlay is...
<srhb> fendor: They're a way of adding packages/package sets to your nixpkgs https://nixos.org/nixpkgs/manual/#chap-overlays
<srhb> Or modifying existing ones.
<fendor> ah, i see, so, for example, if i want to edit a package, i can add an overlay and add some build flags?
<srhb> That's right. :)
<{^_^}> [nixpkgs] @pSub pushed to release-18.03 « Switch suckless.org URLs to https »: https://git.io/vxNlp
acarrico has joined #nixos
dan_b_ has joined #nixos
telent_ has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « Switch suckless.org URLs to https »: https://git.io/vxN83
<fendor> ah, interesting development, i can use stack, if i set pure: false
telent has quit [Ping timeout: 246 seconds]
dan_b_ has quit [Remote host closed the connection]
telent_ has quit [Remote host closed the connection]
dan_b has quit [Ping timeout: 240 seconds]
nschoe has joined #nixos
<fendor> will someone kill me if i use pure: false?
asuryawanshi has quit [Ping timeout: 245 seconds]
MoreTea2 is now known as MoreTea
Alling has joined #nixos
<Alling> How can I remap PrtSc to "right click" in NixOS?
<Alling> Lenovo ThinkPad X1 Carbon if it matters.
<Alling> Gnome3 if it matters.
spear2 has quit [Ping timeout: 240 seconds]
<unacceptable> That sounds like a bad idea
<srhb> unacceptable: Why?
<srhb> Alling: I think xmodmap can do that.
Ivanych has quit [Ping timeout: 265 seconds]
<unacceptable> srhb: Why would taking a printscr every RMB be a bad idea? Just seems a bit odd
Ivanych has joined #nixos
<makefu> Alling: and you can call xmodmap with the file you created at the startup of your xserver with services.xserver.displayManager.sessionCommands
<srhb> unacceptable: I think you got it the wrong way around :P
<unacceptable> srhb: ohh
<unacceptable> srhb: meh, I still don't get why you'd want to do that
<srhb> unacceptable: Some people juggle geese!
<unacceptable> srhb: unless you have a one button mouse or something weird
<makefu> the problem reminds me of https://xkcd.com/1172/
<srhb> Or have RMB in an awkward location.
* srhb shrugs
<unacceptable> srhb: goose juggling is my favourite pasttime
<unacceptable> makefu: there's always an xkcd
spear2 has joined #nixos
<Alling> makefu: So there's no "built-in" way of doing it in configuration.nix?
<makefu> Alling: not yet
<Alling> srhb: makefu: Also how do I find out the keycode of PrtSc? xev displays no keycode for that particular key.
<{^_^}> [nixpkgs] @pSub pushed to master « farbfeld: 3 -> 4 »: https://git.io/vxNB4
jensens has joined #nixos
<makefu> no keycode? that is not right, i tried and for me the event is keycode 107
<srhb> It's probably being caught by something else
ilyaigpetrov has joined #nixos
<srhb> You might want to try showkey -k from a console instead
mmercier has quit [Ping timeout: 240 seconds]
<NinjaTrappeur> Alling, you can setup this in your global shell conf in your configuration.nix
<NinjaTrappeur> /r/shell/desktop manager. Dunno where this confusion comes from...
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38754 → gap: 4r8p3 -> 4r8p10 → https://git.io/vxNTW
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxNRL
<{^_^}> → 78d5690d by @7c6f434c: Merge pull request #38754 from timokau/gap-4r8p10
<{^_^}> → 6dc28780 by Timo Kaufmann: gap: 4r8p3 -> 4r8p10
xcmw has joined #nixos
<ryantm> I have a Thinkpad (not X1 Carbon) and remapping PrtSc to right click sounds pretty good too. I always accidentally hit it, it's right between right Alt and right Ctrl.
<makefu> ryantm: but with the thinkpad you have a right click button just under the track point (x240 is an exception with their shitty mouse buttons)
<srhb> Only recent generations brought back those buttons, afair.
woo has joined #nixos
<woo> Hi
<srhb> 2014-2016 was pretty horrible key-wise.
<woo> Hey
<woo> Is this psychic chat?
<srhb> Among other things...
<{^_^}> [nixpkgs] @timokau opened pull request #38768 → singular: 3.1.7 -> 4.1.1 → https://git.io/vxN0U
reinhardt has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @smatting opened pull request #38769 → Swap incorrect TheanoWithoutCuda with TheanoWithCuda → https://git.io/vxN0Y
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2569e482904 (from 82 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<Alling> srhb: Thanks, it was 99.
woo has left #nixos [#nixos]
<Alling> ryantm: Yeah, since the damn thing doesn't have a native "right click" button, remapping PrtSc is almost a must.
<{^_^}> [nixpkgs] @abbradar merged pull request #33999 → innoextract: support extraction of multi-file archives → https://git.io/vNRVy
<{^_^}> [nixpkgs] @abbradar pushed 3 commits to master: https://git.io/vxN00
<{^_^}> → 0e23e81c by @peterhoeg: unar: minor cleanups
<{^_^}> → 99483fbc by @peterhoeg: innoextract: support extraction of multi-file archives
<{^_^}> → 2483a0d0 by @abbradar: Merge pull request #33999 from peterhoeg/f/inno
<Alling> NinjaTrappeur: Global shell conf doesn't sound familiar to me.
reinzelmann has quit [Quit: Leaving]
astrofog has joined #nixos
darlan has joined #nixos
jperras has joined #nixos
darlan has quit [Client Quit]
Tobba has joined #nixos
<TweyII> Is it possible to add a binary cache to a derivation that will be used when building that derivation? That seems safe
<gchristensen> no
<TweyII> Is there a reason? Or does it just happen to not be implemented?
<NinjaTrappeur> Alling, I meant desktop manager
<LnL> not sure what you're asking
<gchristensen> well it isn't safe
<NinjaTrappeur> Alling, look for a shell hook where you can put this command
raynold has quit [Quit: Connection closed for inactivity]
wangoe has quit [Quit: WeeChat 1.9.1]
<TweyII> LnL: E.G. mkDerivation { … binary-caches = ["https://my-cool-binary-cache.com"]; … }
<gchristensen> just because you _say_ this NAR is the result of building this thing, there is no way to know for sure.
<LnL> oh, that's definitively not safe
<LnL> assuming you also want to set the signing key
<TweyII> gchristensen: It's true, but that doesn't sound unsafe per se — if I trust the source, would I not also trust the binary cache?
<gchristensen> not necessarily
<srhb> Input vs. output hashing.
deltasquared has joined #nixos
<LnL> ^
<gchristensen> your nix expression is easily auditable, your binary outputs is not
iyzsong has joined #nixos
<TweyII> It's the same authority that gives me both (the expression)
<TweyII> That is true
<deltasquared> hmm, nix v2 huh? will I have to do anything special with the hosted nix install I have here
<srhb> TweyII: Yes, but how do you prove that?
<TweyII> The source is not necessarily auditable, but I guess it should be
aramiscd has quit [Quit: WeeChat 2.0.1]
xcmw has quit [Ping timeout: 245 seconds]
aramiscd has joined #nixos
<LnL> sources are output hash based
xcmw has joined #nixos
<srhb> narIsResultOfDrv(url) = trustedBinaryCache(url) :-)
xy2_ has joined #nixos
stphrolland has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/22f212537f4 (from 61 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
spear2 has quit [Ping timeout: 276 seconds]
astrofog has quit [Ping timeout: 255 seconds]
<LnL> hmm, I just had a weird idea
<Dezgeg> maybe it would be solvable by having an attribute in the derivation specifying what binary caches could be allowed to substitute it
<srhb> No, you can't allow the derivation to do this.
<srhb> You could inject anything anywhere in the dependency tree.
<srhb> (At least, not on a multi user system!)
<Dezgeg> yes, but then the output path would differ, say if the source of the sources did that to say, glibc
<zybell_> If the hash of the drv where based on output?
<LnL> it could if the cache is in trusted-substituters of the host
<srhb> zybell_: Then you could, yes.
<srhb> LnL: But that's the whole issue.
phreedom has quit [Ping timeout: 268 seconds]
<LnL> but yeah, you'd still have to configure that so you could just add it to substituters then
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38770 → bubblewrap: 0.2.0 -> 0.2.1 → https://git.io/vxNz7
<srhb> When we rely on input hashes, users must never be allowed to specify a binary cache because they can claim that any binary blob is indeed the result of any derivation. This is the whole point of the (apparently misnamed) intensional store proposals.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38771 → apktool: 2.3.1 -> 2.3.2 → https://git.io/vxNgL
phreedom has joined #nixos
mmercier has joined #nixos
atu has joined #nixos
<deltasquared> oh cool, I never bothered to see if any of the android tools were in the nixpkgs tree
<{^_^}> [nixpkgs] @r-ryantm opened pull request #38772 → babeld: 1.8.0 -> 1.8.1 → https://git.io/vxNgy
MercurialAlchemi has quit [Ping timeout: 256 seconds]
jtojnar_ has joined #nixos
fuzzy-id has joined #nixos
zzamboni has quit [Quit: Leaving.]
<fuzzy-id> i modified the nix-expression for apache storm (version bump) in nixpkgs and i try to install it user-wide now
<fuzzy-id> but i somehow don't get it
jtojnar has quit [Ping timeout: 268 seconds]
jtojnar_ is now known as jtojnar
atu has quit [Ping timeout: 276 seconds]
<fuzzy-id> ha, just got it! never mind!
dweller has quit [Remote host closed the connection]
<srhb> Masterful rubberducking by #nixos
freeman42x]NixOS has quit [Remote host closed the connection]
iyzsong has quit [Ping timeout: 256 seconds]
freeman42x]NixOS has joined #nixos
zzamboni has joined #nixos
<deltasquared> srhb: on IRC, no-one can see you nod sagely and not say anything
xcmw has quit [Ping timeout: 240 seconds]
zzamboni has quit [Ping timeout: 240 seconds]
dvim has quit [Quit: WeeChat 2.1]
fuzzy-id has quit [Ping timeout: 240 seconds]
atu has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #38696 → rust: drop obsolete patch (now included in upstream sources) → https://git.io/vxFQ0
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/vxNwF
<{^_^}> → f09a0a8e by @pbogdan: rust: drop obsolete patch (now included in upstream sources)
<{^_^}> → 3de85fbe by @jtojnar: Merge pull request #38696 from pbogdan/rust-drop-patch
<{^_^}> [nixpkgs] @bandresen opened pull request #38773 → zfs.autoSnapshot: make `frequent` run every 15 mins → https://git.io/vxNri
hakujin has joined #nixos
dweller has joined #nixos
shikiryogy has quit [Quit: Leaving]
dweller has quit [Client Quit]
jperras has quit [Ping timeout: 256 seconds]
hakujin has quit [Ping timeout: 264 seconds]
dweller has joined #nixos
nuncanada has joined #nixos
<benny> https://git.io/vxNri has no reviewer assigned and borg failed to eval but I think that's unrelated to the PR
<srhb> benny: Some commit broke evaluation of master, it's already being looked into. :)
bjorngi has quit [Quit: WeeChat 1.7-dev]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38773 → zfs.autoSnapshot: make `frequent` run every 15 mins → https://git.io/vxNri
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vxNKD
<{^_^}> → 96f10e7e by @bandresen: zfs.autoSnapshot: make `frequent` run every 15 mins
<{^_^}> → 9a9c38ee by @yegortimoshenko: Merge pull request #38773 from bandresen/zfsAutoSnapshot
<benny> YegorTimoshenko[: thanks!
xAFFE has left #nixos ["Rechner geht in den Ruhezustand"]
atu has quit [Ping timeout: 268 seconds]
deltasquared has left #nixos ["my internets, no!"]
robstr has joined #nixos
chimay has quit [Quit: WeeChat 2.1]
jperras has joined #nixos
sanscoeur has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38670 → dit: init at 0.4 → https://git.io/vxdWz
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vxNiV
<{^_^}> → 67206c90 by @davidak: dit: init at 0.4
<{^_^}> → c625dbe8 by @yegortimoshenko: Merge pull request #38670 from davidak/dit
<{^_^}> [nixpkgs] @abbradar opened pull request #38775 → murmur service: log to journald by default → https://git.io/vxNiK
<TweyII> srhb: Hm, okay
<TweyII> Thanks
<srhb> (It would be really cool though :P)
<srhb> One day! If deterministic builds ever happen.
<{^_^}> [nixpkgs] @layus opened pull request #38776 → gap-minimal: fix ofBorg evaluation → https://git.io/vxNiN
Myrl-saki has quit [Remote host closed the connection]
Myrl-saki has joined #nixos
hakujin has joined #nixos
<krey> when I install a C++ library, how do I find it?
<TweyII> Yeah, at my company we have some Nix expressions to build our products, and so far I've been able to pin nixpkgs et cetera so that our only build dependency is Nix itself. But now we're building some propriety software that I can't submit to nixpkgs, but we'd like it cached
<{^_^}> [nixpkgs] @grahamc merged pull request #38776 → gap-minimal: fix ofBorg evaluation → https://git.io/vxNiN
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vxNPR
<{^_^}> → b7dbff3a by @layus: gap-minimal: fix ofBorg evaluation
<{^_^}> → 9b8668c7 by @grahamc: Merge pull request #38776 from layus/fix-eval
<symphorien> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<srhb> TweyII: I usually solve this with a hydra that just caches both upstream and whatever proprietary libraries.
<symphorien> krey: ^ see the bot above
<srhb> And make that the trusted cache globally.
<TweyII> Looks like I might have to add another setup step to enable our binary cache
<symphorien> Installing a library does not make sense with nix
<Myrl-saki> joelpet: Remember when we had a convo about drag and drop of URLs? The same happened to me with Emacs and Firefox, and I don't have KDE installed. Maybe a GTK problem, that's even worse..
<krey> symphorien: got it, thanks
<srhb> TweyII: Make a small module that people can just import :)
<srhb> Oh, right, that's NixOS thinking...
<srhb> I always forget. :-)
<TweyII> srhb: Yeah, most people here are not on NixOS
<TweyII> Myself excepted
hakujin has quit [Ping timeout: 255 seconds]
<krey> I think it would be cool if Nix got rid of channels and made it easier to pin commits
__Sander__ has quit [Ping timeout: 260 seconds]
<TweyII> krey: It's pretty easy to pin commits
<joepie91> Myrl-saki: did you mean to highlight me?
<joepie91> :P
<krey> TweyII: yeah, but there could be a utility like nix-channel --update to do it for you
<Myrl-saki> joepie91: Oh shit. Yep
<TweyII> That's true: would be nice
<srhb> krey: I agree, and I've had the same idea as well. channels are a rather confusing abstraction.
<joepie91> Myrl-saki: anyhow, what happened exactly in that case?
<krey> I was talking to tilpner (offline atm) yesterday, and he was walking me through how he wrote such a thing
FRidh has quit [Remote host closed the connection]
<tilpner> Not offline! :)
<krey> oops
<joepie91> lol
<krey> so I wonder how many people how home brew solutions for this
<Myrl-saki> joepie91: I dragged and dropped from the URL bar to my Emacs window, and Emacs, for some reason decided to downalod the web page, if I had shr enabled, it would have even rendered the web page.
<{^_^}> [nixpkgs] @dotlambda merged pull request #38693 → syncplay: 1.5.2 -> 1.5.3 → https://git.io/vxFyQ
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « syncplay: 1.5.2 -> 1.5.3 (#38693) »: https://git.io/vxNXo
<joepie91> Myrl-saki: ah, that is probably emacs' doing then
<benny> speaking of channels, when I try out nixos-unstable kwin segfaults, what's the proper way to debug the environment that is causing this?
<srhb> krey: It's _barely_ brew as we can read json and use nix-prefetch-git to get the relevant bits.
<srhb> krey: I mean, all the bits are there :)
<{^_^}> [nixpkgs] @dotlambda pushed commit from @lsix to master « pythonPackages.libais: 0.16 -> 0.17 (#37876) »: https://git.io/vxNXD
<{^_^}> [nixpkgs] @dotlambda merged pull request #37876 → pythonPackages.libais: 0.16 -> 0.17 → https://git.io/vxEiQ
<Myrl-saki> joepie91: I think it's GTK's. The same can be observed with Firefox->Firefox.
<Myrl-saki> joepie91: That or Firefox + MIME type.
<tilpner> srhb - The interesting part is how to specify such a JSON pin in your configuration.nix, to be used to evaluate your system
<krey> srhb: yeah, but there's extra complication if you're doing it with nixpkgs cos you have to bootstrap yourself somehow (if I understand correctly)
<joepie91> Myrl-saki: hm. if I drag a link from Firefox to my Yakuake, it lets me do 'paste location' which actually pastes the original URL
<joepie91> so evidently it's not universal
<srhb> krey, tilpner: True :)
<srhb> If only fetchGit took a sha256
<Myrl-saki> joepie91: I guess it's Firefox + mime type then.
<joepie91> worth investigating :P
<Myrl-saki> joepie91: Game time though. ; n ;
<Myrl-saki> joepie91: I'll do an strace soon.
<joepie91> Myrl-saki: I have a game suggestion; Find The X11 Code Path
<joepie91> :P
<joepie91> reviews are mixed, though..
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5e45362b7b7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<joepie91> some laud its intricate puzzles and depth, whereas others find that it's too difficult to play within a typical gaming session
<joepie91> :)
nadley has joined #nixos
<Myrl-saki> joepie91: I personally enjoy more "Why Does This Line Exhibit UB?"
stphrolland has quit [Quit: Lost terminal]
<gchristensen> does Nix have any tools for making a "fat script" which has, say, a tarball inside of it, and contains a closure? ideally would be portable for macos
<Myrl-saki> joepie91: Even better, it can be played multiplayer, especially if you're in ##C
<Myrl-saki> joepie91: It's a PvP when in ##C though.
<joepie91> gchristensen: there are tools for self-extracting shell scripts that are packed in nixpkgs
<joepie91> of which I forgot the name
<joepie91> packaged*
<joepie91> Myrl-saki: heh
<tilpner> gchristensen - Like nix-bundle?
uwap_ is now known as uwap
<gchristensen> like nix-bundle, but one which works on macos
<krey> srhb, tilpner, TweyII: some discussion here https://github.com/NixOS/nix/pull/1124
Alling has quit [Ping timeout: 260 seconds]
<garbas> wow, closure size of docker command 1.1GB?
<krey> I wonder if there are any updates
<garbas> wasn't go stuff suppose to be "small"
tmaekawa has joined #nixos
<LnL> euh, does it have references to the compiler?
jtojnar has quit [Quit: jtojnar]
<tilpner> It references gcc and go
tmaekawa has quit [Client Quit]
<LnL> disallowedReferences = [ stdenv.cc go ];
<tilpner> Huh
atu has joined #nixos
<tilpner> Wait, is that a suggestion or a quote?
<LnL> a suggestion :)
jtojnar has joined #nixos
<garbas> LnL: yeah, go and systemd.dev
<garbas> but i must say i find "nix why-depends" really useful
<LnL> yeah
<MoreTea> Hello peepz
<MoreTea> I found this command on the wiki: `gsutil ls -l gs://nixos-images`
<MoreTea> does that bucket contain images manage by the NixOS community, or is it someone's own initiative?
<tilpner> fadenb - ^
<garbas> LnL: does disallowedReferences remove the reference or it will just warn me and fail the build?
mmercier has quit [Quit: mmercier]
<tilpner> I just tried using disallowedReferences, it didn't do either here :/
<LnL> no it will fail the build
ekleog has quit [Quit: WeeChat 2.0]
<LnL> for go stuff you often need to use removeReferencesTo
winem_ has quit [Ping timeout: 260 seconds]
atu has quit [Ping timeout: 256 seconds]
mpcsh has joined #nixos
ekleog has joined #nixos
<garbas> LnL: but then you are just betting that it will work right?
<mpcsh> hey yall, I've been seeing "warning: name collision in input Nix expressions, skipping '/home/mpcsh/.nix-defexpr/channels_root/nixos'" whenever I run any nix-env commands. Anyone know what this is about?
<LnL> as in not break anything?
<garbas> i'm wondering which version is then used to run the checkPhase
<garbas> eg. when are references removed
<LnL> you have to call it yourself
* garbas just did: "grep removeReferencesTo pkgs" and noticed this a pretty standard thing for go packages in nix
<fadenb> tilpner:? I have nothing to do with Google cloud
<garbas> LnL: I see, so probably i need to do this in preCheck phase
<tilpner> fadenb - Oh, did you just migrate stuff from another resource? Your name showed up here https://nixos.wiki/index.php?title=Install_NixOS_on_GCE&action=history
<LnL> garbas: any reason not to do it in the fixup phase, that's where post install patching is usualy done
<garbas> LnL: actually looking at docker-containerd it already does this
<srhb> MoreTea: I believe they are maintained by the NixOps community
<garbas> LnL: it removed (or tries to remove) go from binaries
<fadenb> tilpner: yeah migrated many topics initially when I set up the wiki from internet archive sources
bpa has joined #nixos
<tilpner> Sorry for the ping then :/
Fare has joined #nixos
<{^_^}> [nixpkgs] @shlevy opened pull request #38778 → Add setupcfg2nix and supporting infrastructure → https://git.io/vxNSi
<Fare> Hi. Is there an ocaml-to-nix package converter, just like there is for other languages?
<shlevy> I believe there's opam2nix
<{^_^}> [nixpkgs] @gebner pushed to master « elan: 0.1.0 -> 0.3.0 »: https://git.io/vxNSN
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/22f212537f4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
hakujin has joined #nixos
mpcsh has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vxNHk
<{^_^}> → c3f3bc38 by @matthewbauer: openpam: init at 20170430
<{^_^}> → ec4910d9 by @matthewbauer: openbsm: init at 1.1
<{^_^}> → dd4fd74f by @matthewbauer: system_cmds: build more commands
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38715 → Build more commands from Apple's system_cmds → https://git.io/vxb6a
goibhniu has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @shlevy opened pull request #38779 → Add setupcfg2nix and supporting infrastructure → https://git.io/vxNH8
asuryawanshi has joined #nixos
jrolfs_ has joined #nixos
lonokhov has quit [Quit: Lost terminal]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #38780 → cvxopt: 1.1.7 -> 1.1.9, add optional extensions → https://git.io/vxNQh
<Jetien> Hi, I'm trying to fix a potential bug in pkgs/development/python-modules/Theano/default.nix . The derivation crates a wrapped g++ but it seems to fail to pass on default arguments to the wrapped compiler. You can reproduce the problem like this https://gist.github.com/smatting/d904d1f5b79bbe9cb21b93ce1262b1e7 . Any ideas how to make this work?
MinceR has quit [Ping timeout: 256 seconds]
MinceR has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #38781 → cysignals init → https://git.io/vxN5T
<{^_^}> [nixpkgs] @jtojnar merged pull request #38770 → bubblewrap: 0.2.0 -> 0.2.1 → https://git.io/vxNz7
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « bubblewrap: 0.2.0 -> 0.2.1 (#38770) »: https://git.io/vxN5K
<jtojnar> Jetien: would not CPPFLAGS work?
nschoe has quit [Ping timeout: 240 seconds]
<Jetien> jtojnar: I don't think so. I should mention that the wrapped g++ is not used to build the derivation itself. It exists as the compiler that Theano uses at runtime to compile stuff.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38712 → Unix-tools: Cleanup and more tweaks → https://git.io/vxbgp
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to staging: https://git.io/vxNdm
<{^_^}> → f94c9c54 by @matthewbauer: unix-tools: provide getconf and getent
<{^_^}> → 037e5d86 by @matthewbauer: rabbitmq-server: use provided getconf
<{^_^}> → 70c37889 by @matthewbauer: unix-tools: copy instead of linking
<fadenb> Just dumping this here for others to find: Upgrading NixOS 17.09 to 18.03 might break matrix-synapse startup (even with stateVersion kept at 17.03)
<fadenb> In my case the pre-start script tried to create a new postgreSQL user/role with the same name I was already using ("matrix-synapse" as mentioned in the matrix sqlite to psql guide)
<fadenb> Solution: touch /var/lib/matrix-synapse/db-created
<tilpner> fadenb - Are you using federation? How much CPU/RAM/disk is Synapse eating?
kmicklas has joined #nixos
<fadenb> tilpner: yes, at the moment the whole system is using ~380m memory and almost no CPU at all (that changes drastically when a user joins a large channel)
<tilpner> Oh! That's actually really good
<fadenb> I am running matrix-synapse on a VPS with 2cores and 2gig ram for quite some time now without any real issues. But my active user count is <10 ;)
<tilpner> I joined -dev and linux, and it tortured my 2GB VPS with 99%CPU and 2.6GB use (swap) for just Synapse :/
xcmw has joined #nixos
<tilpner> What's your cache factor?
<{^_^}> [nixpkgs] @timokau opened pull request #38782 → cypari2: init at 1.1.4 → https://git.io/vxNFG
<fadenb> No idea :P let me check
jensens has quit [Ping timeout: 276 seconds]
<fadenb> I can not find any config named similiar to cache factor so it is whatever the default value is?
<tilpner> That would be 0.5
klntsky has quit [Ping timeout: 268 seconds]
<tilpner> Very interesting. I had given up on ever getting a Synapse to coexist with my other processes
sanscoeur has joined #nixos
binarin has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #38783 → pythonPackages.flask-silk: init at 0.2 → https://git.io/vxNFp
<joepie91> fadenb: tilpner: 'swappiness' is the option you're looking for?
jrolfs_ has quit [Ping timeout: 264 seconds]
xcmw has quit [Ping timeout: 245 seconds]
<tilpner> joepie91 - No, it's actually a setting. https://github.com/matrix-org/synapse#help-synapse-eats-all-my-ram
<joepie91> aha
<tilpner> And swappiness doesn't help if the process needs more memory than I have in total (excluding swap)
<{^_^}> [nixpkgs] @timokau opened pull request #38784 → pythonPackages.flask-autoindex: init at 0.6 → https://git.io/vxNbZ
<fadenb> The only time I ever had memory issues with synapse was when purging a large timeframe from the room history. This can be worked around by purging in smaller blocks
<{^_^}> [nixpkgs] @timokau opened pull request #38786 → pythonPackages.flask-babel: init at 0.11.2 → https://git.io/vxNbD
<{^_^}> [nixpkgs] @timokau opened pull request #38787 → pythonPackages.flask-oldsessions: init at 0.10 → https://git.io/vxNNJ
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #38788 → pythonPackages.python-openid: init at 2.2.5 → https://git.io/vxNNG
kgz has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #38789 → pythonPackages.flask-openid: init at 1.2.5 → https://git.io/vxNNr
<{^_^}> [nixpkgs] @gebner pushed to master « elan: add leanchecker proxy »: https://git.io/vxNNQ
<{^_^}> [nixpkgs] @timokau opened pull request #38790 → pythonPackages.fpylll: init at 0.3.0dev → https://git.io/vxNNh
chisui has joined #nixos
Jetien has quit [Ping timeout: 265 seconds]
<MoreTea> Hmm. Apparently one _can_ share disk images on GCE nowadays
<MoreTea> Terraform apparently does not support importing an image by URL.
fendor has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @gnidorah closed pull request #35540 → prosody module: add dataDir option → https://git.io/vAwbR
hihello has joined #nixos
klntsky has joined #nixos
<hihello> The link to https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes "you may want to add yourself to **nixpkgs/lib/maintainers.nix**(broken link) and write something like [ stdenv.lib.maintainers.alice stdenv.lib.maintainers.bob ]" is broken.
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/vxNxw
<{^_^}> → 7413eb8b by @thoughtpolice: nixos/postgresql: remove ancient hack for postgres 8.4
<{^_^}> → 5570fc14 by @thoughtpolice: pg_repack: 1.4.0.1 -> 1.4.2
<jtojnar> kuri0: regarding pantheon, maybe romildo is interested, he packaged various DEs and some elementary apps
<{^_^}> [nixpkgs] @LnL7 opened pull request #38791 → nixos: remove PKG_CONFIG_PATH/PERL5LIB environment variables → https://git.io/vxNxK
knupfer has quit [Ping timeout: 265 seconds]
ryanartecona has quit [Quit: ryanartecona]
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « Add setupcfg2nix and supporting infrastructure »: https://git.io/vxNpS
<{^_^}> [nixpkgs] @shlevy merged pull request #38779 → Add setupcfg2nix and supporting infrastructure → https://git.io/vxNH8
<{^_^}> [nixpkgs] @shlevy pushed 2 commits to master: https://git.io/vxNp9
<{^_^}> → 0901b3e1 by @shlevy: Add setupcfg2nix and supporting infrastructure
<{^_^}> → 216b32f3 by @shlevy: Merge branch 'setupcfg2nix'
ditadi has joined #nixos
<{^_^}> [nixpkgs] @shlevy merged pull request #38778 → Add setupcfg2nix and supporting infrastructure → https://git.io/vxNSi
jperras has quit [Ping timeout: 255 seconds]
raynold has joined #nixos
hotfuzz_ is now known as hotfuzz
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « unix-tools: fixup »: https://git.io/vxNjT
fresheyeball has quit [Ping timeout: 240 seconds]
<srhb> hihello: Thank you :) Care to make an issue for it here or shall I? https://github.com/NixOS/nixpkgs
ditadi has quit [Ping timeout: 264 seconds]
<hihello> srhb: You can go ahead. Not in the sway of contributing... yet :)
<srhb> OK! Even just writing issues is great though! :-)
<{^_^}> [nixpkgs] @vbgl opened pull request #38792 → ocamlPackages.js_of_ocaml-tyxml: init at 3.1.0 → https://git.io/vxAev
jperras has joined #nixos
ryanartecona has joined #nixos
Turion has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed to staging « Revert "Revert "Merge pull request #28029 from cstrahan/hardening-fix"" »: https://git.io/vxAeu
klntsky_ has joined #nixos
asuryawa_ has joined #nixos
klntsky has quit [Remote host closed the connection]
asuryaw__ has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
cnu- has joined #nixos
asuryawanshi has joined #nixos
asuryawa_ has quit [Ping timeout: 255 seconds]
<hihello> Is the top-level/all-packages.nix in any particular order?
<srhb> hihello: "Sort of alphabetical"
asuryawa_ has joined #nixos
<gchristensen> it is vaguely in alphabetical and categorical order, but...
mounty has quit [Ping timeout: 260 seconds]
<gchristensen> well ... let's say that sort of falls over when you get to a zillions lines long
asuryaw__ has quit [Ping timeout: 255 seconds]
<hihello> Gotcha
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/56a49d0aea5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
asuryawanshi has quit [Ping timeout: 260 seconds]
<krey> is there any documentation on packaging something that uses CMake?
hotfuzz has quit [Quit: WeeChat 2.0]
<Ralith> krey: put cmake in buildInputs and it should Just Work 90% of the time
jrolfs_ has quit [Ping timeout: 260 seconds]
<Ralith> nativeBuildInputs if you're being picky, though I'm not totally clear on what the most modern idiom is for that
coot has quit [Quit: coot]
hotfuzz has joined #nixos
jrolfs_ has joined #nixos
<LnL> yeah, nativeBuildInputs and optionally cmakeFlags
Jetien has joined #nixos
Judson1 has joined #nixos
<Ralith> when does using `nativeBuildInputs` matter, anyway?
<krey> Ralith: wow
<Judson1> gchristensen, howdy - sorry if I was taking the darcs thing too far on Twitter
<gchristensen> no you weren't :)
<Judson1> Some of that was "is it good now? maybe someone will say"
<Ralith> also holy shit hurray #28029 finally got merged
<Judson1> Darcs scared me off Haskell for a long time.
<Ralith> C/C++ compilers will no longer silently break debug info for everyone who doesn't know the magic incantation :D :D
Jetien has quit [Ping timeout: 240 seconds]
<thoughtpolice> Ralith: Cross compilation. You want nativeBuildInputs for cross compilation. nativeBuildInputs means cmake will run on the host, but also that it's only there at build time and not a dependency for the resulting closure. You pretty much always want cmake in nativeBuildInputs if you expect you'll use it with a cross compiler
aarvar has quit [Ping timeout: 263 seconds]
asuryawa_ has quit [Remote host closed the connection]
<thoughtpolice> We ran into this a lot at work. Tons of expressions get this wrong, and unfortunately cmake is used in a lot of projects that find their way into the core closure set it seems...
<thoughtpolice> Same with pkg-config
asuryawanshi has joined #nixos
Sonarpulse has joined #nixos
fuzzy-id has joined #nixos
<thoughtpolice> I probably completely fixed cross compilation for 2 dozen packages it otherwise would have worked for by variously moving cmake/pkg-config into nativeBuildInputs
fuzzy-id has left #nixos [#nixos]
<thoughtpolice> That, or setting `doCheck = (hostPlatform != targetPlatform)` or whatever it is.
Judson1 has quit [Ping timeout: 264 seconds]
<krey> Ralith: can you explain what this PR does?
<Ralith> thoughtpolice: hm, I guess I assumed `buildInputs` was copied to `nativeBuildInputs` by default because indeed most packages are broken if not
<Ralith> krey: in short, it causes nixpkgs to no longer stick -O2 at the end of your g++/clang++ invocation
<thoughtpolice> Well it's not two way. Everything in buildInputs can be in nativeBuildInputs -- but not everything in nativeBuildInputs should be in buildInputs
<Ralith> now it sticks it at the start, which is good, because 1. it's the right default and 2. an explicitly supplied -O0 will override it
<{^_^}> [nixpkgs] @timokau opened pull request #38794 → brial: init at 1.2.3 → https://git.io/vxAJ0
<Ralith> thoughtpolice: nix automatically strips unreferenced dependencies, though
knupfer has joined #nixos
<krey> Ralith: I just started using C++ on NixOS. you're saying all my builds are O2 and I don't even know about it?
klntsky_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #38795 → cliquer: init at 1.21 → https://git.io/vxAJD
<thoughtpolice> But it only knows that after a build is done, not before. It must satisfy the dependencies before the build starts. So what will happen is it will try to compile a native armv7 cmake that runs on armv7, because cmake is in your buildInputs and you wanted a cross compiled armv7 "whatever". It says "You must need cmake for armv7 first to run this, so I'll make it". Then it will try to _run it_ and things will go wrong, because how do
<thoughtpolice> you know not to run it? They just said it was a dependency, the fact it's a build tool too is irrelevant
<Ralith> krey: yep!
<symphorien> krey: To opt out you have to export hardeningDisable=all
klntsky_ has joined #nixos
<symphorien> But I usually forget
<Ralith> thoughtpolice: ah, yes
<Ralith> symphorien: just =fortify, actually
<Ralith> krey: you can see why I'm relieved that such an egregious error is finally(!) being corrected
<symphorien> Well other flags break old gcc for example
<Ralith> sucks that it missed 18.03 though
<Ralith> symphorien: I've spent enough time being incandescently frustrated at mysteriously absent debug symbols that it's burned into my brain at this point >_>
<symphorien> Happened to me as well
humanoyd has quit [Quit: WeeChat 2.1]
<symphorien> Gdb telling "value optimized out" with -O0
thblt has quit [Remote host closed the connection]
pkill9 has joined #nixos
thblt has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #38796 → lcalc: init at 1.23 → https://git.io/vxAUq
<krey> I'm really saddenned by the lack of documentation
<krey> I will try to contribute more to the Wiki
asuryawanshi has quit [Ping timeout: 265 seconds]
<krey> Ralith saved me some future hours by mentioning that PR
Judson1 has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #38797 → m4rie: init at 20150908 → https://git.io/vxAkR
<Ralith> you'd consider yourself lucky if it was mere hours
<Ralith> though I imagine the google results are better these days
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/56a49d0aea5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @timokau opened pull request #38798 → flintqs: init at 1.0 → https://git.io/vxAkN
ndrei has joined #nixos
ndrei- has joined #nixos
ndrei_ has joined #nixos
<{^_^}> [nixpkgs] @pbogdan opened pull request #38799 → [17.09] chromium: build with gcc7 → https://git.io/vxAIk
<{^_^}> [nixpkgs] @timokau opened pull request #38800 → planarity: init at 3.0.0.5 → https://git.io/vxAIt
magnetophon has quit [Remote host closed the connection]
coot has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #38801 → wire-desktop: init at 3.0.2816 → https://git.io/vxAIZ
magnetophon has joined #nixos
dvim has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #38802 → rankwidth: init at 0.7 → https://git.io/vxAIr
<{^_^}> [nixpkgs] @shlevy pushed to master « nixUnstable: Reinit at 2.0pre6137_e3cdcf89 »: https://git.io/vxAI1
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « nixUnstable: Reinit at 2.0pre6137_e3cdcf89 »: https://git.io/vxAIS
grumblr has joined #nixos
<hihello> How does one keep up with 10 pr an hour? :)
grumble has quit [Quit: If the earth is round then why are shoes produced flat instead of concave?]
grumblr is now known as grumble
rauno has joined #nixos
MP2E has joined #nixos
<mg-> huh, my urxvt chooses the wrong font after upgrading to 18.03. There hasn't been any font related changes has there?
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
rauno has quit [Ping timeout: 264 seconds]
ilzfsoqtq has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #38803 → rubiks: init at 20070917 → https://git.io/vxALj
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
ryanartecona has quit [Quit: ryanartecona]
hihello has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #38804 → sympow: init at 1.018.1 → https://git.io/vxAta
<{^_^}> [nixpkgs] @timokau opened pull request #38805 → zn_poly: init at 0.9 → https://git.io/vxAtF
uvowcfwqh has joined #nixos
ilzfsoqtq has quit [Remote host closed the connection]
ndrei_ has quit [Remote host closed the connection]
uvowcfwqh has quit [Remote host closed the connection]
ndrei has quit [Remote host closed the connection]
ndrei- has quit [Remote host closed the connection]
ottidmes has quit [Quit: WeeChat 2.0]
acarrico has quit [Ping timeout: 260 seconds]
vaninwagen has joined #nixos
ndrei has joined #nixos
rauno has joined #nixos
<cransom> i have a binary cache that was handing out unsigned nars for a short time. i fixed that, but on my client machine now, it's still complaining that the file is unsigned (but it is) and there's no traffic to the cache when it keeps claiming the sig path doesn't exist. i nuked ~/.cache/nix . is there another one hiding somewhere for the nix daemon?
nmikhailov has quit [Quit: Bye bye]
<srhb> cransom: ~ being /root ?
ndrei has quit [Remote host closed the connection]
ryanartecona has joined #nixos
<cransom> ugh. ~ was the running user. i didn't think of root, just ~nixbld. root cache purged. fixed.
<cransom> that seems off to me. i wouldnt' expect the nix-daemon to be actively using /root
<srhb> cransom: No, it's weird.
ryanartecona has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 265 seconds]
m3lt has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to master « nix-plugins: 3.0.1 -> 4.0.1 »: https://git.io/vxAmc
atu1 has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « nix-plugins: Backport 4.x series »: https://git.io/vxAmb
mounty has joined #nixos
BlessJah has quit [Quit: Reconnecting]
BlessJah has joined #nixos
jensens has joined #nixos
leotaku has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to release-17.09: https://git.io/vxAYA
<{^_^}> → 152a6d0c by @pbogdan: chromium: build with gcc7
<{^_^}> → e984f9e4 by @7c6f434c: Merge pull request #38799 from pbogdan/chromium-gcc7
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38799 → [17.09] chromium: build with gcc7 → https://git.io/vxAIk
zybell_ has quit [Ping timeout: 265 seconds]
sigmundv__ has quit [Ping timeout: 255 seconds]
AntonLatukha[m] has joined #nixos
telent has joined #nixos
dan_b has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « unix-tools: fixup hexdump »: https://git.io/vxA3G
zybell_ has joined #nixos
thblt has quit [Ping timeout: 268 seconds]
<srhb> What happens if I specify a builder that itself has a number of remote builders defined? Will it distribute or only hit that one builder?
robstr has quit [Quit: WeeChat 1.9.1]
jensens has quit [Ping timeout: 256 seconds]
coot has quit [Quit: coot]
rauno has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8667719f304 (from 68 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c86c9b202e4 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @magnetophon opened pull request #38806 → dragonfly-reverb: init at 0.9.0 → https://git.io/vxAs0
endformationage has joined #nixos
guest____ has joined #nixos
jensens has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2e04c58f676 (from 43 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
pie__ has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to release-18.03: https://git.io/vxAGd
<{^_^}> → 1299a0b5 by @dtzWill: numpy: 1.14.0 -> 1.14.2
<{^_^}> → 9e8aa535 by @dtzWill: openblas: don't build w/openmp on musl
<{^_^}> → f300713f by @dtzWill: numpy: fix on musl
<{^_^}> [nixpkgs] @jtojnar pushed to master « haskellPackages.lzma: fix outdated patch »: https://git.io/vxAGj
boxscape has joined #nixos
pie_ has joined #nixos
pie__ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @maximedenes opened pull request #38807 → pythonPackages.macpack: init at 1.0.3 → https://git.io/vxAZ2
Myrl-saki has quit [Quit: WeeChat 1.6]
seafood has quit [Quit: seafood]
<boxscape> I have a question about one of the nix pills. In https://nixos.org/nixos/nix-pills/generic-builders.html , the first example has `inherit binutils-unwrapped' in the .nix file, but then binutils_unwrapped (notice the underscore) in the builder. That can't work, right? The problem is, using binutils-unwrapped in the builder doesn't work either, as far as I can tell, because it looks like - can't be in variable names in bash. Is this si
<boxscape> something?
<boxscape> (I solved it by writing `binutils_unwrapped = binutils-unwrapped' in the nix file, but still would like to know if $
<boxscape> I'm just misunderstanding)
Myrl-saki has joined #nixos
Shados_ has joined #nixos
teozkr_ has joined #nixos
ajmccluskey_ has joined #nixos
ZaraChimera has quit [Quit: ZNC - https://znc.in]
Guest37084_ has joined #nixos
pchiusano_ has joined #nixos
akl_ has joined #nixos
smola_ has joined #nixos
gridaphobe_ has joined #nixos
angerman_ has joined #nixos
thoughtpolice_ has joined #nixos
rizary_ has joined #nixos
coot has joined #nixos
acarrico has joined #nixos
ncl28 has joined #nixos
hakujin has quit [Ping timeout: 260 seconds]
coot has quit [Client Quit]
jonafato has joined #nixos
maurer1 has joined #nixos
hydraz_ has joined #nixos
MichaelRaskin has joined #nixos
<maurer1> My nixos machine is receiving only an ipv6 address from a router. My phone receives both ipv4 and ipv6, so I don't believe it's the router
<maurer1> well, not exclusively the router anyways
<maurer1> This also does not happen on all routers, at home, I receive an ipv4 address
<maurer1> any ideas of what to do to troubleshoot this?
ngerstle[m] has quit [*.net *.split]
peterbat[m] has quit [*.net *.split]
dpc has quit [*.net *.split]
EB[m] has quit [*.net *.split]
enick_598 has quit [*.net *.split]
M-bbigras has quit [*.net *.split]
peel[m] has quit [*.net *.split]
benkolera has quit [*.net *.split]
equalunique[m] has quit [*.net *.split]
florianjacob has quit [*.net *.split]
scott has quit [*.net *.split]
mankyKitty[m] has quit [*.net *.split]
retrry[m] has quit [*.net *.split]
lluchs has quit [*.net *.split]
indefini has quit [*.net *.split]
chatnowvvv[m] has quit [*.net *.split]
jasom has quit [*.net *.split]
danielrf has quit [*.net *.split]
fearlessKim[m] has quit [*.net *.split]
Vincenzo[m] has quit [*.net *.split]
johnnydread[m] has quit [*.net *.split]
aniketd[m] has quit [*.net *.split]
NickHu has quit [*.net *.split]
thunker[m] has quit [*.net *.split]
ipj[m] has quit [*.net *.split]
petersjt014[m] has quit [*.net *.split]
saschaveres[m] has quit [*.net *.split]
abbafei[m] has quit [*.net *.split]
amiloradovsky[m] has quit [*.net *.split]
nixo[m] has quit [*.net *.split]
wervenyt[m] has quit [*.net *.split]
Barnabas[m] has quit [*.net *.split]
moosh_vectra[m] has quit [*.net *.split]
WilliamHamilton has quit [*.net *.split]
bkchr[m] has quit [*.net *.split]
puffnfresh has quit [*.net *.split]
necronian has quit [*.net *.split]
adisbladis[m] has quit [*.net *.split]
rummik has quit [*.net *.split]
hydraz has quit [*.net *.split]
teozkr has quit [*.net *.split]
akl has quit [*.net *.split]
Shados has quit [*.net *.split]
ajmccluskey has quit [*.net *.split]
angerman has quit [*.net *.split]
rizary has quit [*.net *.split]
gridaphobe has quit [*.net *.split]
Guest37084 has quit [*.net *.split]
smola has quit [*.net *.split]
pchiusano has quit [*.net *.split]
thoughtpolice has quit [*.net *.split]
jaeckel has quit [*.net *.split]
greymalkin has quit [*.net *.split]
ncl28_ has quit [*.net *.split]
jonafato- has quit [*.net *.split]
suvash_away has quit [*.net *.split]
akl_ is now known as akl
Guest37084_ is now known as Guest37084
teozkr_ is now known as teozkr
smola_ is now known as smola
rizary_ is now known as rizary
gridaphobe_ is now known as gridaphobe
thoughtpolice_ is now known as thoughtpolice
ajmccluskey_ is now known as ajmccluskey
pchiusano_ is now known as pchiusano
jaeckel has joined #nixos
angerman_ is now known as angerman
hydraz_ has quit [Changing host]
hydraz_ has joined #nixos
jasom has joined #nixos
hydraz_ is now known as hydraz
lluchs has joined #nixos
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rummik has joined #nixos
<krey> boxscape: attributes of the derivation become environment variables
greymalkin has joined #nixos
<krey> boxscape: I'm not sure what happens if the attributes name isn't a valid bash variable name
<krey> boxscape: but you can play around with it
Xal has quit [Ping timeout: 240 seconds]
<boxscape> hm, okay
ipj[m] has joined #nixos
retrry[m] has joined #nixos
NickHu has joined #nixos
fearlessKim[m] has joined #nixos
thunker[m] has joined #nixos
aniketd[m] has joined #nixos
Vincenzo[m] has joined #nixos
bsima has quit [Ping timeout: 240 seconds]
nixo[m] has joined #nixos
petersjt014[m] has joined #nixos
saschaveres[m] has joined #nixos
danielrf has joined #nixos
abbafei[m] has joined #nixos
johnnydread[m] has joined #nixos
EB[m] has joined #nixos
ngerstle[m] has joined #nixos
peel[m] has joined #nixos
silver_hook has quit [Ping timeout: 260 seconds]
amiloradovsky[m] has joined #nixos
dpc has joined #nixos
bkchr[m] has joined #nixos
scott has joined #nixos
Barnabas[m] has joined #nixos
<pie_> ugh
<pie_> i just upgraded firefox
necronian has joined #nixos
wervenyt[m] has joined #nixos
adisbladis[m] has joined #nixos
<pie_> the new ui....whyyyy
M-bbigras has joined #nixos
benkolera has joined #nixos
mankyKitty[m] has joined #nixos
puffnfresh has joined #nixos
WilliamHamilton has joined #nixos
indefini has joined #nixos
<infinisil> pie_: Which version?
enick_598 has joined #nixos
chatnowvvv[m] has joined #nixos
peterbat[m] has joined #nixos
moosh_vectra[m] has joined #nixos
<pie_> i went from 55 to 59 apparently
florianjacob has joined #nixos
<pie_> also noscript doesnt work with keyboard shortcuts anymore?
<infinisil> Well you can customize a lot
equalunique[m] has joined #nixos
bsima has joined #nixos
<pie_> yeah but i dont want this flat shiny stuff :/
ryanartecona has joined #nixos
<pie_> and i dont want to deal with custimizing it either heh
<pie_> oh well
silver_hook has joined #nixos
silver_hook has quit [Changing host]
silver_hook has joined #nixos
<pie_> also looks like tree style tabs is choking on ?processing my tabs?, i just installed it
* pie_ sighs
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #38809 → handbrake: rm FDK codec → https://git.io/vxAce
Xal has joined #nixos
<boxscape> looks like the environment contains a variable called "binutils-unwrapped" anyway, even though I'm not sure how you would define or use that in bash directly...
knupfer has quit [Remote host closed the connection]
Turion has quit [Remote host closed the connection]
<krey> boxscape: looks like env will set it for you, but it won't work from bash
<boxscape> I see, thanks
<boxscape> guess I'll open a pull request to change that...
pie__ has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
ThatPako has joined #nixos
<ThatPako> Any idea why a derivation for a pypi package gives me `Permission denied: '/homeless-shelter'` although the code doesn't reference that path anywhere?
<krey> ThatPako: yes
bpa has quit [Remote host closed the connection]
<krey> ThatPako: have you tried export HOME=$TMP ?
<ThatPako> Where?
<krey> installPhase, I guess?
<krey> not sure
<boxscape> ThatPako: fyi, that's the HOME nix assumes if a derivation hasn't been given one, as far as I understand
<ThatPako> oh, I see
alex__ has joined #nixos
<alex__> hello
<krey> boxscape: oh lol
alex__ is now known as apeyroux
<ThatPako> ohh, I see why the error appears. in the __init__.py it tries to write to `~/.config/`
ThatPako has quit [Quit: Lost terminal]
cfricke has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @timokau opened pull request #38810 → giac: enable checks, separate outputs → https://git.io/vxACa
krey has quit [Ping timeout: 240 seconds]
thblt has joined #nixos
thblt has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 276 seconds]
thblt has joined #nixos
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #38811 → handbrake: switch to libav_12 → https://git.io/vxACQ
<guest____> hello. i'm fighting with compiling openbios (bios for virtual machines). outside nix, i would create a cross compiler for bare metal and use it. on nix, i tried. i had to modify nixpkgs, create my own cross-system, and now, i have a problem (cross ?)-compiling the libc. see the paste https://pastebin.com/9Pb8623H for nixpkgs changes, .nix files, and errors with glibc/musl/uclibc. can you help please?
jperras has joined #nixos
<Myrl-saki> pie__: The newer tree style tabs is buggy as fhell.
<pie__> its really slow too for rearranging apparently...
<pie__> Myrl-saki, what do i do? :(
<pie__> restarting firefox resulted in the tabs at least getting loaded though
<pie__> Myrl-saki, is there another addon that actually works well?
atu1 has quit [Quit: WeeChat 2.0]
<pie__> theres no search function afaict so i dont even knoww how im supposed to start organizing my 2000 tabs
<Myrl-saki> pie__: Good luck trying to have any tabs persist through a firefox restart.
<maurer1> My NixOS system is getting only an ipv6 address from a router. My phone gets an ipv4 as well. Any troubleshooting ideas?
<Myrl-saki> pie__: Anyways, open Add-ons.
<pie__> Myrl-saki, oh dear? why re: restart
<{^_^}> [nixpkgs] @timokau opened pull request #38812 → maxima: add various fixes, re-add ecl support → https://git.io/vxAW6
<Myrl-saki> pie__: Then check Tree Style Tabs' preferences.
<pie__> (tbh i just kill firefox and use "restore my session")
boxscape has quit [Ping timeout: 260 seconds]
<infinisil> I've never had firefox purge my tabs, it's always recoverable
<Myrl-saki> pie__: Scroll down and see "Optimize tree restoration with cache"
<Myrl-saki> pie__: Tip at the bottom says to toggle it when things die. And well, toggle it when things die.
<Myrl-saki> pie__: I wish I learned that a month or two ago.
<pie__> apparently this firefox is supposed to be faster. its slower. but maybe its TST
<Myrl-saki> pie__: Yeah, TST is weirder now, because it's more "abstracted"
<Myrl-saki> pie__: The original TST actually took control of Firefox's rendering.
<Myrl-saki> pie__: At least that's how I understood it.
<pie__> is there a way "name" an "empty" tree parent?
<pie__> or something
<pie__> god
* pie__ cries internally
<pie__> i update firefox and my world explodes
<Myrl-saki> pie__: You also use TST as a bookmarking system, don't you?
<pie__> no i just installed it for the first time
<Myrl-saki> pie__: How the hell did you manage with 2000 tabs before you had TST?
acarrico has quit [Ping timeout: 264 seconds]
<pie__> you can search tabs with %
<pie__> alternatively, "i didnt"
<pie__> i guess tabs are the new email :P
<pie__> but thats a tangent: right now: how do i unfuck my world
<Myrl-saki> pie__: Anyways, that's all the advice I can give. Just good luck.
<pie__> ok
<pie__> thanks anyway
* pie__ sighs
<pie__> i was so hopeful..
simukis has quit [Ping timeout: 264 seconds]
<pie__> it would take literally a day to rearrange this just because TST is so slow
<zybell_> Hello guest, because youre cross-compiling you should lookup the difference between nativeBuildInputs
<zybell_> and buildInputs
<guest____> zybell_: ok, you're right. however, i don't think it will help to create the cross compiler
nixer has joined #nixos
<nixer> How can I calculate the narinfo hash (was hoping it is possible from the drv or ouptut path hashes)?
acarrico has joined #nixos
<LnL> no you can't, you'd need to build it yourself to know that
<LnL> (if it's bit-for-bit reproducable)
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e984f9e48e1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<zybell_> It may help make your .nix right.
<nixer> LnL: Then how does the binary substituter know which narinfo to look up? Or can I calculate the .nar.xz hash?
<symphorien> guest____: your paste does not tell which derivation fails to build
<symphorien> is it openbios or a dependency ?
<zybell_> So that it works
<guest____> symphorien: NIX_PATH=/path/to/modified/nixpkgs nix-build -A openbios. for example, when trying to use glibc, that's the package nix-build-glibc-2.26-131-powerpc-unknown-linux-gnu.drv
<LnL> nixer: the way substitutes work is very simple
<LnL> nixer: /nix/store/s3n1r6jj0mf0dylr9ivs4inrqy9vp8j1-hello-2.10 -> https://cache.nixos.org/s3n1r6jj0mf0dylr9ivs4inrqy9vp8j1.narinfo
<nixer> LnL: Ah perfect, just what I needed.
<LnL> it's just a lookup of the store path basically
<guest____> symphorien: both musl and uclib don't work during the gcc compilation dance (final stage iirc)
Jetien has joined #nixos
MP2E has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dotlambda merged pull request #38300 → bepasty: make it a package again → https://git.io/vx6tR
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxA8h
<{^_^}> → 9a182f57 by lassulus: bepasty: make it a package again
<{^_^}> → 4889d79b by @dotlambda: Merge pull request #38300 from Lassulus/bepasty-package
kragniz has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #38813 → dashing: init at 2018-02-15 → https://git.io/vxA4I
jensens has quit [Ping timeout: 256 seconds]
spear2 has joined #nixos
<symphorien> guest____: maybe try importing patches from other distributions. A quick look has not been very fruitful given you error message, but for example see: https://sources.debian.org/src/glibc/2.27-3/debian/patches/powerpc/
ma27 has quit [Ping timeout: 245 seconds]
<symphorien> it seems that you have a somewhat working compiler -- at least it can compile itself, so it suggests the problem is not nix but just that arch specific patches lack. But I am no expert
<guest____> symphorien: any idea where i should plug it? pkgs/development/compilers/gcc/7/default.nix?
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
<symphorien> if you problem is compiling glibc, more in glibc's file
<guest____> anyway, thanks for your help
<guest____> i'll try to continue
infinisil has joined #nixos
<guest____> (for musl: https://pastebin.com/GJNjvML0)
infinisil has quit [Client Quit]
infinisil has joined #nixos
apeyroux has quit [Quit: leaving]
infinisil has quit [Client Quit]
krey has joined #nixos
infinisil has joined #nixos
<{^_^}> [nix-pills] @JakobBruenker opened pull request #64 → Change pill 04 to reflect that floating point number now exist → https://git.io/vxABp
maurer1 has quit [Quit: WeeChat 1.6]
lord| has joined #nixos
<zybell_> including a glibc header in a musl build sounds somewhat incompatible to me.
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nixos
ryanartecona has quit [Client Quit]
jtojnar_ has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
tertle||eltret has joined #nixos
jtojnar_ has quit [Remote host closed the connection]
matklad has joined #nixos
jtojnar has joined #nixos
hiratara has quit [Ping timeout: 265 seconds]
vaninwagen has quit [Ping timeout: 246 seconds]
Ariakenom has quit [Read error: Connection reset by peer]
hiratara has joined #nixos
<symphorien> guest____: googling for you musl gcc failure: https://github.com/leo-yuriev/ReOpenLDAP/issues/123#issuecomment-290008312
<{^_^}> [nix-pills] @Ericson2314 merged pull request #64 → Change pill 04 to reflect that floating point numbers now exist → https://git.io/vxABp
<{^_^}> [nix-pills] @Ericson2314 pushed commit from @JakobBruenker to master « change pill 04 to reflect that floating point number now exist »: https://git.io/vxA0o
<symphorien> guest____: you might also ask Sonarpulse, he seems online and knows a lot about cross compilation
<Sonarpulse> hi
Mateon3 has joined #nixos
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
ryanartecona has joined #nixos
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
<zybell_> guest____:including a glibc header in a musl build sounds somewhat incompatible to me.
hamishmack has quit [Quit: hamishmack]
ryanartecona has quit [Ping timeout: 240 seconds]
<gchristensen> ryantm: ping
<kandinski> I'm struggling to install flake8 (python linting program) for python 2.7. I have python27Packages.flake8 in my /etc/nixos/configuration.nix and I have rebuilt and switched, but it isn't available.
<gchristensen> dotlambda: pin
<gchristensen> g
<symphorien> kandinski: nix-env -iA nixos.python27Packages.flake8 works for me
acarrico has quit [Ping timeout: 240 seconds]
<symphorien> can you paste what you did ?
<kandinski> symphorien: I'm on unstable, may be that's it.
<symphorien> no idea. I am on 18.03
<kandinski> symphorien: yes, I can see it as a program on the shell, but I can't import it as a library on python, even if I open a new shell.
<symphorien> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<symphorien> ^ kandinski
<kandinski> symphorien: thanks!
<ekleog> dotlambda: hi! just bumped my production release-18.03, and il looks like https://github.com/NixOS/nixpkgs/pull/38000#issuecomment-377349200 broke dovecot's deliver executable (at least in my setup): “Panic: file message-address.c: line 147 (parse_angle_addr): assertion failed: (*ctx->parser.data == '<')”. Was there an important fix to backport there?
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @primeos pushed to master « android-studio,android-studio-preview: 3.1.0.16 -> 3.1.1.0 »: https://git.io/vxAuT
<ekleog> (or would it be maybe possible to revert the backport?)
Fare has quit [Ping timeout: 276 seconds]
<{^_^}> [nix-pills] @Ericson2314 merged pull request #46 → Remove unthrown error from function argument set example → https://git.io/vxAuK
<{^_^}> [nix-pills] @Ericson2314 pushed to master « Redefine `mul` to disambiguate »: https://git.io/vxAu6
<gchristensen> !m Sonarpulse
<[0__0]> You're doing good work, Sonarpulse!
<Sonarpulse> :)
<gchristensen> ekleog: do you run a mailserver on nixos?
<ekleog> gchristensen: I do, for my family and myself :)
c0ffee152 has joined #nixos
jrolfs has joined #nixos
<ekleog> (back soon, looks like some state wasn't cleanly rolled-back when running the switch --rollback, so going to reboot instead of spending too much time with the mailserver down)
ekleog has quit [Quit: back soon]
ekleog has joined #nixos
{^_^} has quit [Ping timeout: 260 seconds]
<ekleog> ok SO
<ekleog> dovecot apparently breaks the ABI at every patch-level update
<ekleog> and even rebooting didn't get rid of the “lda: Fatal: Couldn't load required plugin /etc/dovecot/modules/lib90_sieve_plugin.so: Module is for different ABI version 2.3.ABIv0(2.3.0.1) (we have 2.3.ABIv1(2.3.1))”
<ekleog> so that's some impurity somewhere :(
ryanartecona has joined #nixos
<gchristensen> oh my word
hiratara has quit [Quit: ZNC - http://znc.in]
<ekleog> well, at least that breaks only sieve, I can live with that until the dovecot issue is fixed
hiratara has joined #nixos
<ekleog> hmm actually it doesn't even break sieve?
<ekleog> meh, so I guess it's not that bad, but this may be good to know for the next backport of even a patch-level dovecot update :p
hamishmack has joined #nixos
<ekleog> just a red message in the logs every ~15 seconds, all is well :D
<kandinski> !libraries
<kandinski> !library
MP2E has joined #nixos
<kandinski> symphorien: if it's not abusing your patience, do you mind explaining to me how I can run spacemacs so it can see flake8 as a module so the linting can proceed?
xy2_ has quit [Ping timeout: 240 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
kragniz is now known as kgz
jperras has quit [Ping timeout: 265 seconds]
matklad has quit [Remote host closed the connection]
<ekleog> oh I just got why there was this red message in the logs :( apparently opensmtpd retries the same delivery-command, which means it retries with the updated-dovecot's deliver
<ekleog> so messages enqueued while the mailserver was down aren't getting unqueued
jperras has joined #nixos
<yorick> I would like a filtersource that deletes subdirs that end up empty after filtersource
<samueldr> kandinski: https://nixos.wiki/wiki/FAQ/Libraries is the page the bot would've linked :)
c0ffee152 has quit [Ping timeout: 256 seconds]
c0ffee152 has joined #nixos
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
ghostyyy has joined #nixos
michalrus has joined #nixos
ghostyy has quit [Read error: Connection reset by peer]
sanscoeur has quit [Ping timeout: 264 seconds]
michalrus has left #nixos [#nixos]
pie__ has quit [Remote host closed the connection]
Rusty1_ has joined #nixos
pie__ has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko pushed to master « xfce4-13: fix build (propagatedNativeBuildInputs) »: https://git.io/vxAal
brodul has quit [Ping timeout: 256 seconds]
brodul has joined #nixos
telent has quit [Ping timeout: 256 seconds]
dan_b has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 7 commits to master: https://git.io/vxAVm
<{^_^}> → 9a575366 by @jtojnar: girara: 0.2.8 → 0.2.9
<{^_^}> → 5d62f72b by @jtojnar: zathura_core: 0.3.8 → 0.3.9
<{^_^}> → 19608d87 by @jtojnar: zathura_pdf_poppler: 0.2.8 → 0.2.9
<{^_^}> [nixpkgs] @jtojnar merged pull request #37932 → zathura: update → https://git.io/vxgu4
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/vxAwO
<{^_^}> → 6a1198de by @jtojnar: pythonPackages.mutagen: move to a separate file
<{^_^}> → 53fc399b by @jtojnar: pythonPackages.mutagen: 1.36 → 1.40.0
<{^_^}> → d2ce3a9b by @jtojnar: quodlibet: 3.9.1 → 4.0.2
<{^_^}> [nixpkgs] @pbogdan opened pull request #38815 → avidemux: fix build with glibc 2.27 → https://git.io/vxAwn
<{^_^}> [nixpkgs] @Ekleog opened pull request #38816 → dovecot module: test dovecot's LDA → https://git.io/vxAwc
<{^_^}> [nixpkgs] @jtojnar merged pull request #38122 → quodlibet: 3.9.1 → 4.0.2 → https://git.io/vxrbe
jrolfs has quit [Ping timeout: 240 seconds]
m3lt has quit [Ping timeout: 260 seconds]
alexteves_ has quit [Ping timeout: 276 seconds]
pie__ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
<{^_^}> [nix-pills] @Ericson2314 opened pull request #66 → Pill 20: Use `command -v` instead of `which` → https://git.io/vxAwd
ericsagnes has quit [Ping timeout: 265 seconds]
<pie_> Myrl-saki, new firefox also loads pages very slowly for me :/
moth_ has joined #nixos
<pie_> nevermind...disabled TST...its caused by TST
<moth_> if i'm on the unstable channel, why would nixos still be building krita 4.0.0 instead of krita 4.0.1 when i do nixos-rebuild switch --upgrade?
<pie_> moth_, have you updated your channel? does the channel even have the newer version?
pkill9 has quit [Quit: WeeChat 2.0.1]
<{^_^}> [nixpkgs] @jtojnar pushed 57 commits to staging: https://git.io/vxArc
<{^_^}> → 99483fbc by @peterhoeg: innoextract: support extraction of multi-file archives
<{^_^}> → 0e23e81c by @peterhoeg: unar: minor cleanups
<{^_^}> → 9a182f57 by lassulus: bepasty: make it a package again
<moth_> I've done nix-channel --update, and I think it does? Unless I'm confused and master branch on git is not the same thing as unstable
seafood has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
justanotherus3r has joined #nixos
Jetien has quit [Ping timeout: 240 seconds]
justan0theruser has quit [Ping timeout: 268 seconds]
sigmundv__ has joined #nixos
jtojnar_ has joined #nixos
<jtojnar_> moth_: it is not
<jtojnar_> moth_: unstable gets bumped when hydra builds enough of packages and tests pass
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ is now known as jtojnar