sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
dftxbs3e has quit [Ping timeout: 250 seconds]
<maralorn> Works like a charm.
<jackdk> \o/
camsbury has joined #nixos
<camsbury> hey
<camsbury> hey all - having issues with CuDNN in a nix-shell. I'm using `tensorflowWithCuda` and `Keras`, and I'm getting the error in the following paste
<camsbury> imports are working fine, just happens when I go to actually train the model
<{^_^}> [nixpkgs] @danbst opened pull request #65245 → nixos/postgresql: support 0750 for data directory → https://git.io/fjM1q
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___laika has joined #nixos
<{^_^}> [nixpkgs] @danbst closed pull request #46670 → nginx, postgresql: give corresponding groups permission to read → https://git.io/fAXGB
ilikeheaps has quit [Ping timeout: 248 seconds]
___laika has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @zyradyl opened pull request #65246 → zsh-powerlevel10k init at 2019-07-21 → https://git.io/fjM1O
johnny101 has joined #nixos
alex`` has quit [Ping timeout: 244 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #nixos
Xyliton has joined #nixos
<Xyliton> Greetings! Has anyone had luck using lutris on NixOS running a 64-bit wine prefix?
<Xyliton> I've been trying to do that but it seems like the `wine` binary is 32-bit and it won't let me run that on my 64-bit NixOS install
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
seppellll has joined #nixos
shiver has quit [Ping timeout: 245 seconds]
hyper_ch has quit [Ping timeout: 272 seconds]
kim0 has quit [Quit: Connection closed for inactivity]
camsbury has quit [Remote host closed the connection]
seppellll has quit [Ping timeout: 246 seconds]
<ivan> Xyliton: are you using the hardened profile on nixos?
liberiga has joined #nixos
<Xyliton> ivan: I don't think so, no. At least I don't remember enabling anything like that.
<ivan> I think you can just make a 32-bit wine prefix then
<Xyliton> I need a 64-bit prefix though
seppellll has joined #nixos
<ivan> this may have been fixed in master recently https://github.com/NixOS/nixpkgs/pull/63817
<{^_^}> #63817 (by ambrop72, 3 weeks ago, merged): wine: Set WINELOADER in wrapper, wrap also wine64.
shiver has joined #nixos
ilikeheaps has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
<Xyliton> ivan: how long would it take for this fix to be available on 19.03?
ilikeheaps has quit [Ping timeout: 245 seconds]
<kalbasit> how to access a member of a set from a variable without doing this `"pythonPackages.${pythonPackage}"`? Where `pythonPackages = python37Packages` and `pythonPackage = "aria"`.
<kalbasit> s/"pythonPackages.${pythonPackage}"/pythonPackages."${pythonPackage}"
<{^_^}> [nixpkgs] @romildo merged pull request #65193 → tint2: 16.6.1 -> 16.7 → https://git.io/fjM0l
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/fjM1o
<jackdk> kalbasit: builtins.getAddr?
<{^_^}> [nixpkgs] @NeQuissimus pushed 7 commits to master: https://git.io/fjM1K
<kalbasit> jackdk: that's it! Thanks!
jasongrossman has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.03: https://git.io/fjM16
<ivan> Xyliton: someone would have to backport it
psy3497 has joined #nixos
shomodj has joined #nixos
SovereignBleak has quit [Quit: Connection closed for inactivity]
mexisme_ has quit [Ping timeout: 248 seconds]
<mog> anyone using firejail on firefox? since firefox 68 it runs really poorly
<day|flip> mmm. I only had firefox froze on me once since the 68 update
<iqubic> How hard is it to set up multi-monitor support for EXWM?
<iqubic> If there aren't any EXWM users here, then I guess this isn't the right place for my question
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
mexisme_ has joined #nixos
andgate has joined #nixos
alex`` has quit [Ping timeout: 244 seconds]
jluttine has quit [Ping timeout: 246 seconds]
alex`` has joined #nixos
ottidmes has quit [Ping timeout: 245 seconds]
lovesegfault has joined #nixos
jb55 has quit [Ping timeout: 260 seconds]
Forkk has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1851d52633a (from 53 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<Notkea[m]> is it possible to copy files between VMs in NixOS tests?
<Notkea[m]> nevermind, it's possible, I missed the relevant line in the docs
jluttine has joined #nixos
fusion809 has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #65247 → openjdk: enable bootstrapping on ARM → https://git.io/fjMMI
seppellll_ has joined #nixos
seppellll has quit [Ping timeout: 258 seconds]
<emily> do (call)Cabal2nix packages get built with optimization by default?
Xyliton has quit [Quit: Lost terminal]
abathur has joined #nixos
<clever> emily: i dont think nix sets any special flags, so its the defaults for cabal (and it will obey the ghc-options: in the cabal file)
<emily> right, I also forget what the default is for cabal and don't know whether nixpkgs itself tweaks that
<emily> and there doesn't seem to be a convenient cabal2nix flag for plumbing -O in so wanted to check before I start getting into the weeds ^^;
<clever> emily: you can also use normal haskell.lib.overrideCabal and configureFlags to pass any flag `cabal configure` accepts
selfsymmetric-mu has quit [Ping timeout: 248 seconds]
seppellll_ has quit [Ping timeout: 244 seconds]
seppellll has joined #nixos
seppellll has quit [Client Quit]
hyper_ch has joined #nixos
andgate has quit [Ping timeout: 260 seconds]
wucke13 has quit [Quit: ZNC 1.7.3 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.3 - https://znc.in]
qubasa_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
layus has quit [Quit: ZNC 1.7.3 - https://znc.in]
qubasa has joined #nixos
layus has joined #nixos
wucke13 has joined #nixos
mumuluxi has joined #nixos
andi- has quit [Read error: Connection reset by peer]
andi- has joined #nixos
Guanin has quit [Remote host closed the connection]
stepcut has joined #nixos
hyper_ch has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1851d52633a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mexisme_ has quit [Ping timeout: 245 seconds]
englishm has quit [Excess Flood]
hyper_ch has joined #nixos
selfsymmetric-mu has joined #nixos
englishm has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
englishm has quit [Excess Flood]
monotux has quit [Quit: WeeChat 2.4]
monotux has joined #nixos
MinceR_ has joined #nixos
jluttine has joined #nixos
domogled has joined #nixos
MinceR has quit [Ping timeout: 268 seconds]
lovesegfault has quit [Ping timeout: 264 seconds]
slack1256 has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
mexisme_ has joined #nixos
ilikeheaps has joined #nixos
domogled has quit [Quit: domogled]
jasongrossman has joined #nixos
doyougnu has quit [Ping timeout: 250 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65248 → deepin: use qt5.mkDerivation where needed, cleanup wrappers → https://git.io/fjMMy
<iqubic> Is there anything special I need to do to get a multi-moniter set-up working?
<clever> iqubic: i just plugged it in and enabled it in xfce4-display-settings
<iqubic> I'm using EXWM. That means I'll need a different set-up.
<day|flip> xrandr?
<day|flip> or better yet. you could try arandr
<iqubic> There's some info on it here: https://github.com/ch11ng/exwm/wiki#randr-multi-screen
<iqubic> But I don't understand that.
<iqubic> Also, that seems to require having things plugged in at the time that I start the X Server.
<clever> iqubic: with xrandr and xfce, hotplug is fine
hio has quit [Quit: Connection closed for inactivity]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<iqubic> I'm not using XFCE.
<Ralith> if you're not comfortable writing elisp to configure your window manager, maybe you shouldn't use a window manager that requires you to write elisp to configure it
stepcut has quit [Ping timeout: 245 seconds]
mrCyborg has quit [Quit: The Lounge - https://thelounge.github.io]
mrCyborg has joined #nixos
alex`` has quit [Ping timeout: 246 seconds]
alex`` has joined #nixos
___laika has joined #nixos
___laika has quit [Ping timeout: 268 seconds]
detran has joined #nixos
<iqubic> I'm comfortable writing ELisp. It's just, I don't know what sort of ELisp I need.
<iqubic> Specifically, I have no idea when the exwm-randr-screen-change-hook is called.
vmandela has joined #nixos
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<iqubic> Actually, reading through the documentation is the way to best understand this.
abathur has quit [Ping timeout: 246 seconds]
<Ralith> it's almost like it's there for a reason :p
likivik has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
Havvy has joined #nixos
<iqubic> Yeah. I love that I can just pull up documentation for anything in emacs.
<iqubic> Also, I just found out that "M-x man" exists to pull up the man page of any command and put it into a buffer. Makes it real nice to search for a specific feature I want.
<likivik> Greetings! New nixos user here. Can anybody help me with nvidia (prime, dynamic) drivers and steam games? I followed instructions on Nvidia and Steam pages from wiki, did rebuild and reboot. Trying to start steam with primerun.sh from terminal - results in 'Fatal Server error: (EE) No screens found. Would appreciate and all help!
<iqubic> Can you start steam by just running it from the command line?
<iqubic> like enter "steam" into the command line and see what happens?
<likivik> yes, i can
mexisme_ has quit [Ping timeout: 246 seconds]
<iqubic> So why do you need primerun.sh?
<likivik> it starts fine, but i'm pretty sure it uses intel video to start games.
<likivik> That's the part I'm trying to fix.
mb^ has quit []
nst^ has joined #nixos
<iqubic> What makes you so sure it's using Intel?
<likivik> I'm not sure how to properly check, actually( But mostly because games don't start if i put primerun.sh %command% in Steam's SET LAUNCH OPTIONS... (as per https://support.steampowered.com/kb_article.php?ref=6316-GJKC-7437)
<day|flip> make me wonder if your running both intel and nouveau
fragamus has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
<day|flip> likivik: what kernel are you running?
<likivik> tried with stable 4.19 and now with 5.1.18
palo1 has joined #nixos
<day|flip> from services.xserver.videoDrivers = [ "nvidia" ]; to services.xserver.videoDrivers = [ "nvidiaBeta" ];?
b has quit [Ping timeout: 272 seconds]
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
<likivik> Oh, maybe I didn't write it but I have muxless/non-MXM Optimus card, so I believe that doesn't apply? I'm using the Nvidia PRIME section of https://nixos.wiki/wiki/Nvidia
gerschtli has quit [Quit: WeeChat 2.4]
gerschtli has joined #nixos
zupo has joined #nixos
zupo has quit [Client Quit]
<likivik> also $ lspci -v shows something weird: 0a:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev ff) (prog-if ff) DeviceName: NVIDIA GeForce GT 840M !!! Unknown header type 7f Kernel modules: nvidiafb, nouveau
zupo has joined #nixos
<day|flip> maybe you can try blacklisting nouveau at boot: boot.kernelParams = [ "nouveau.modeset=0" ];
iqubic has quit [Remote host closed the connection]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<day|flip> ill brb
day|flip has quit [Quit: ERC (IRC client for Emacs 26.1)]
<likivik> Thank you, was just trying to figure out how to do it with nix:)
fragamus has joined #nixos
fragamus has quit [Client Quit]
day|flip has joined #nixos
Church- has quit [Ping timeout: 248 seconds]
likivik has quit [Ping timeout: 260 seconds]
likivik56 has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
Mateon1 has quit [Remote host closed the connection]
FireFly has quit [Quit: Goodbye]
FireFly has joined #nixos
Xal has quit [Ping timeout: 245 seconds]
Mateon1 has joined #nixos
Xal has joined #nixos
slack1256 has quit [Remote host closed the connection]
ar1a has quit [Quit: ZNC 1.6.6+deb1 - http://znc.in]
ar1a has joined #nixos
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #65232 → phpPackages.mailparse: 3.0.2 -> 3.0.3 → https://git.io/fjMoV
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjMDs
likivik56 has quit [Remote host closed the connection]
jasongrossman has joined #nixos
rsoeldner has joined #nixos
alex`` has quit [Ping timeout: 258 seconds]
alex`` has joined #nixos
sellout- has joined #nixos
iqubic has joined #nixos
ilikeheaps has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @domenkozar pushed to master « Add antora »: https://git.io/fjMDz
<ar1a> can someone direct me to where `patches` are applied in the derivation building process? curious as to how it does it 😄
hyper_ch2 has joined #nixos
sellout- has quit [Ping timeout: 248 seconds]
jasongrossman has quit [Ping timeout: 245 seconds]
mexisme_ has quit [Ping timeout: 264 seconds]
<ar1a> infinisil: thanks!
bahamas has joined #nixos
<bahamas> if nix replaces the use case of docker-compose, is there a way to handle services with it (without using nixos, that is)?
<{^_^}> [nixpkgs] @max-wittig opened pull request #65249 → gitlab-runner: 12.0.2 -> 12.1.0 → https://git.io/fjMD6
Drakonis has quit [Quit: WeeChat 2.4]
hmpffff has joined #nixos
mexisme_ has joined #nixos
<dminuoso> bahamas: nix does not really replace the use of docker-compose. it's a sort of orthogonal tool
hmpffff has quit [Quit: nchrrrr…]
cfricke has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
<bahamas> dminuoso: ok. then I'll have to find a workaround
bakakuna has joined #nixos
bakakuna has quit [Remote host closed the connection]
gyroninja__ has quit [Quit: WeeChat 2.5]
johnw has quit [Ping timeout: 245 seconds]
Jackneill has joined #nixos
bakakuna has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
ar1a has quit []
ar1a has joined #nixos
carlosdagos has quit [Read error: Connection reset by peer]
aszlig has joined #nixos
carlosdagos has joined #nixos
Garbanzo has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed to staging-next « dee: fix build »: https://git.io/fjMyf
<Izorkin> etu: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/php-packages.nix#L496 options - assert (pkgs.config.php.zts or false); not correct work. How to fix?
bakakuna has quit [Read error: Connection reset by peer]
FRidh has joined #nixos
bakakuna has joined #nixos
bakakuna has quit [Remote host closed the connection]
ar1a has quit [Quit: Updating details, brb]
ar1a has joined #nixos
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « Revert "strip setup hook: Strip using --strip-unneeded instead of --strip-debug." »: https://git.io/fjMyL
shachaf has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65196 → fxlinuxprint: init at 1.1.2-1 → https://git.io/fjM05
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjMyt
bakakuna has quit [Client Quit]
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @bkchr to master « kdeconnect: Fix build »: https://git.io/fjMyY
<{^_^}> [nixpkgs] @FRidh merged pull request #65228 → kdeconnect: Fix build → https://git.io/fjMwg
ottidmes has joined #nixos
ar1a has quit [Changing host]
ar1a has joined #nixos
ar1a has joined #nixos
bakakuna has quit [Client Quit]
ericsagnes has quit [Ping timeout: 276 seconds]
bahamas has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peterhoeg reopened pull request #34250 → sensu-check-wmiplus: init at 1.63 → https://git.io/vNitZ
abbiya has joined #nixos
ris has quit [Ping timeout: 276 seconds]
bakakuna has joined #nixos
ar1a is now known as aria
aria is now known as ar1a
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #64327 → elisa: 0.3.0 -> 0.4.2 → https://git.io/fj6iF
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to release-19.03: https://git.io/fjMyc
ar1a is now known as aria
mvnetbiz_ has quit [Read error: Connection reset by peer]
bakakuna has quit [Remote host closed the connection]
m0rphism has joined #nixos
aria has quit []
aria has joined #nixos
<{^_^}> [nixpkgs] @delan opened pull request #65250 → fxlinuxprintutil: init at 1.1.1-1 → https://git.io/fjMyB
bakakuna has joined #nixos
bakakuna has quit [Remote host closed the connection]
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @reinhardt opened pull request #65251 → nudoku: added → https://git.io/fjMyP
bahamas has joined #nixos
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
liberiga has quit [Quit: Leaving]
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 276 seconds]
Tucky has joined #nixos
Trpger has joined #nixos
Trpger has left #nixos [#nixos]
___laika has joined #nixos
alex`` has quit [Ping timeout: 244 seconds]
alex`` has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
recj has joined #nixos
day|flip has quit [Quit: ERC (IRC client for Emacs 26.1)]
bahamas has quit [Ping timeout: 246 seconds]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
arahael1 is now known as Arahael
alex`` has quit [Ping timeout: 248 seconds]
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
abbiya has quit [Quit: abbiya]
Shoubit has joined #nixos
jonaswouters has joined #nixos
sb0 has joined #nixos
<Taneb> Can I ask for https://github.com/NixOS/nixpkgs/pull/64785 to be reviewed?
<{^_^}> #64785 (by Taneb, 6 days ago, open): q: init at 1.7.1
<bahamas> does nix automatically download updates if there have been updates to the corresponding channel?
<bahamas> I ran nix-shell and it downloaded some derivations, although I had done a full setup in the past
hyper_ch2 has quit [Remote host closed the connection]
hmpffff has joined #nixos
<teto> bahamas: if your local channel advanced, then nix-shell will fetch the matching derivations yes
hexa- has quit [Ping timeout: 276 seconds]
hmpffff has quit [Client Quit]
<sb0> the pypy3 package has been broken on nixos-unstable for quite some time now, and I don't understand why... anyone knows what is going on?
<bahamas> teto: I have a question about how I should approach pinning. is it safe to just use a stable channel or should I pin that channel to a specific commit as well?
<teto> ,pinning
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
<teto> bahamas: depends what you want, if you don't pin, when you update the channel, you will have to redownload some packages.
<bahamas> teto: how bad is it if I pin? missing security updates would be the biggest issue, right?
<dminuoso> bahamas: You can pin single packages.
<teto> bahamas: yes
<dminuoso> Mmm, something akin to ⌜>= 0.1 && < 0.2⌝ is not trivially possible with how nix works I guess?
<rnhmjoj> is it possible to add new arguments to a package? i'd like to extend a package but the expression is generate by a shell script, so i think i must use .override or something like that
<teto> bahamas: dminuoso has a point. Depends on your motive but you can pin only some packages (I pin the big ones or some packages that are likely to break)
magnetophon has quit [Ping timeout: 244 seconds]
ericsagnes has quit [Ping timeout: 272 seconds]
<teto> dminuoso: python and lua do some checks on package bounds (haskell too ofc)
ottidmes has quit [Quit: WeeChat 2.4]
hyper_ch2 has joined #nixos
<bahamas> teto: so if I just pin the channel, there is still a risk that a security update will break a package
cfricke has quit [Ping timeout: 268 seconds]
<dminuoso> teto: Well yeah but that's not part of nix really. I mean I cant trivially state `I want the latest openssl version in that range` unless there was some meta attribute set openssl_1_0
<dminuoso> bahamas: You dont need to pin the entire channel. You'd rather have a sort of "additional pinned channel" that you can subscribe to for single packages.
___laika has quit [Ping timeout: 268 seconds]
hmpffff has joined #nixos
<dminuoso> bahamas: Think having access to both `nixpkgs` and `nixpkgsAtSomeCommit` floating around. Then you can use nixpkgs.foo and nixpkgsAtSomeCommit.bar
<FRidh> sb0: no maintainer perhaps? I know it's a pain to maintain that package becuse it takes forever tobuild
<dminuoso> In the end a channel is just a big attribute set.
<dminuoso> Or at least its an URL pointing to one.
magnetophon has joined #nixos
<bahamas> dminuoso: well, what I mean is that I don't want the project to rely on the channel that is set as nixpkgs on the machine where I run nix. that's why I want to specify at least the channel in the project
<dminuoso> ,pinning
<dminuoso> bahamas: teto has linked that already
<bahamas> dminuoso: yes, I've already seen that page
<dminuoso> bahamas: A channel is just a way to maintain a nixpkgs set. You can introduce your own nixpkgs unrelated to an outside channel in a pinned manner like this.
<dminuoso> bahamas: If you are really nice, parametrize over it and just have it a default of your derivation
<dminuoso> So that a user can override that pinned nixpkgs if they need to.
<bahamas> my goal right now is to reduce the probability that something will break in the future when I or someone else run nix-build or nix-shell
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fjMS6
<bahamas> it sounds like pinning a specific commit in the channel I'm using is the most conservative approach
veske has joined #nixos
fendor has joined #nixos
hexa- has joined #nixos
<teto> bahamas: if that's your goal, yes pinning the whole thing seems right
cransom has quit [Quit: WeeChat 2.4]
Jackneill has quit [Ping timeout: 246 seconds]
aswanson has quit [Quit: WeeChat 2.4]
ericsagnes has joined #nixos
shomodj has joined #nixos
bahamas has quit [Read error: Connection reset by peer]
Zer0xp has joined #nixos
Jackneill has joined #nixos
bahamas has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65250 → fxlinuxprintutil: init at 1.1.1-1 → https://git.io/fjMyB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjMSp
<{^_^}> [nixpkgs] @zimbatm merged pull request #64983 → Update issue templates → https://git.io/fj1cJ
<{^_^}> [nixpkgs] @zimbatm pushed to master « github: use the new issue template (#64983) »: https://git.io/fjM9v
<{^_^}> [nixpkgs] @zimbatm pushed 0 commits to new-issue-template: https://git.io/fjM9f
<recj> does anyone know a ci for testing that things work with nix-build?
hmpffff has quit [Quit: nchrrrr…]
<teto> recj: I have used hercules-ci with success https://hercules-ci.com/dashboard
hyper_ch2 has quit [Remote host closed the connection]
Jackneill has quit [Ping timeout: 244 seconds]
hmpffff has joined #nixos
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #65253 → brewtarget: init at 2.3.1 → https://git.io/fjM9O
<alexarice[m]> anyone know if there is a convie
<alexarice[m]> convinient method to remove empty lines from strings
<alexarice[m]> convenient
<alexarice[m]> got there eventually
hyper_ch2 has joined #nixos
<yorick> alexarice[m]: sed -i '/^$/d'
<Taneb> x: builtins.filter (l: l == "") (lib.splitString "\n" x)
<alexarice[m]> yorick: was thinking about a nix function, sorry I should have been more specific
<Taneb> Oh, I forgot to merge them back together again
fusion809 has quit [Remote host closed the connection]
<Taneb> So pretend there's a lib.concatStringsSep "\n" in there
<alexarice[m]> Taneb: ah thanks, that is great
Jackneill has joined #nixos
<Taneb> And I think my conditional might be backwards in my filter
SovereignBleak has joined #nixos
<alexarice[m]> just to check on the same note, are strings lists of characters in nix?
<yorick> Taneb: can't you just splitString on \n\n?
fusion809 has joined #nixos
<yorick> alexarice[m]: no, strings are opaque
<alexarice[m]> yorick: how would that help
<yorick> empty lines would match \n\n\
<Taneb> yorick: doesn't work if there's two empty lines in a row
<alexarice[m]> yorick: yes but I want the non empty ones
<yorick> Taneb: hm, right
hyper_ch2 has quit [Remote host closed the connection]
<Taneb> > lib.splitString "\n\n" "hello\n\n\nworld"
<{^_^}> [ <CODE> <CODE> ]
<Taneb> :?
hyper_ch2 has joined #nixos
<yorick> Taneb: lib.fix on that :D
<{^_^}> [nixpkgs] @ar1a opened pull request #65254 → ripgrep: turn withPCRE2 on by default → https://git.io/fjM9W
<aria> hey that's me!
<aria> worldofpeace:
hmpffff has quit [Quit: nchrrrr…]
bahamas has quit [Quit: leaving]
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psy3497 has quit [Ping timeout: 258 seconds]
worldofpeace_ has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
mupf has quit [Quit: WeeChat 2.5]
hyper_ch2 has joined #nixos
<worldofpeace_> lol matrix irc bridge died aria
<aria> oof
<{^_^}> [nixpkgs] @mmahut opened pull request #65255 → haskellPackages.zip-archive: disable tests → https://git.io/fjM9z
<worldofpeace_> aria: if you add the `Motivation for this change` to the commit body we should be good
hmpffff has joined #nixos
<aria> worldofpeace_: i did
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #65255 → haskellPackages.zip-archive: disable tests → https://git.io/fjM9z
<{^_^}> [nixpkgs] @FRidh pushed commit from @mmahut to staging-next « haskellPackages.zip-archive: disable tests »: https://git.io/fjM9r
hyper_ch2 has quit [Remote host closed the connection]
ng0 has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjM96
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65254 → ripgrep: turn withPCRE2 on by default → https://git.io/fjM9W
<marek> can someone ofborg this on darwin for me please? https://github.com/NixOS/nixpkgs/pull/65253
<{^_^}> #65253 (by mmahut, 26 minutes ago, open): brewtarget: init at 2.3.1
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
MmeQuignon has quit [Ping timeout: 272 seconds]
Arahael has quit [Ping timeout: 245 seconds]
nakkle has joined #nixos
o1lo01ol1o has joined #nixos
mupf has joined #nixos
shomodj has joined #nixos
cfricke has joined #nixos
<nakkle> I'm trying to think of a Functor for which I can't reasonably define return and join / bind. Anyone got an example for that?
<nakkle> oops, wrong channel lol
<aria> nakkle: interested in the answer
<aria> lmk pls :D
hyper_ch2 has quit [Remote host closed the connection]
<srhb> nakkle: But, free monads.
mexisme_ has quit [Ping timeout: 252 seconds]
<aria> i never found found a solid resource on free monads :( srhb
<aria> do you know of any?
<srhb> I can't remember, inevitably some arbitrary blog post :P
<jackdk> not free monads specifically, but jle` from #haskell has some good ones on free structures. here's one on the free alternative: https://blog.jle.im/entry/free-alternative-regexp.html
<jackdk> and he has one on using the free group to do an advent of code problem. in coding, it's like you add the minimal amount of structure to get the interface you want
<aria> jackdk: thanks
<jackdk> https://hackage.haskell.org/package/free-5.1.1/docs/src/Control.Monad.Free.html#line-230 is the monad instance for `data Free f a = Pure a | Free (f (Free f a))`, and you can see that the implementation of `(>>=)` requires `fmap`, hence the `Functor` dependency
worldofpeace_ has quit [Quit: worldofpeace_]
<jackdk> further discussion in #nixos-chat or #haskell, I think, but I need to make dinner. Feel free to beep me and I'll check when I get back
Arahael has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nix] @zimbatm closed pull request #2994 → libstore: ssh-ng: forward the default setOptions → https://git.io/fj1BB
cfricke has quit [Quit: WeeChat 2.5]
ericsagnes has quit [Ping timeout: 264 seconds]
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @Tmplt opened pull request #65257 → xst: repo owner neeasade -> gnotclub → https://git.io/fjMHb
<{^_^}> [nixpkgs] @davidtwco opened pull request #65258 → franz: 5.1.0 -> 5.2.0 → https://git.io/fjMHp
<Taneb> Poking around some old Nix code we have and there's stuff like 'import { outPath = ./.; revCount = 0; gitTag = "dirty"; } {}'. Is this form of import documented?
<srhb> Taneb: It's usually related to things that are sometimes hydra inputs.
<gchristensen> right, those are arguments hydra knowshow to pass -- and no, I don't think they are well documented
<Taneb> Ah, that's a shame, I'd like to know more about this
<gchristensen> what would you like to know?
<Taneb> What the intention is behind it, what the attributes mean, are there any other attributes that could be in there, etc
mexisme_ has joined #nixos
<gchristensen> the idea is sometimes you want a build to know where it came from, for example so the manual can say what version of nixpkgs it is for
<{^_^}> [nixpkgs] @abbradar merged pull request #65212 → nixos-test-driver: allow configuration of net frontend and backend → https://git.io/fjMg2
<{^_^}> [nixpkgs] @abbradar pushed commit from @thefloweringash to master « nixos-test-driver: allow configuration of net frontend and backend »: https://git.io/fjMQC
mexisme_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @abbradar opened pull request #65259 → boot tests: restore Perl code injection → https://git.io/fjMQl
<yorick> Taneb: only outPath gets looked at by nix
iyzsong has joined #nixos
alex`` has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
ericsagnes has joined #nixos
johanot has joined #nixos
orivej has joined #nixos
gratto has quit [Ping timeout: 246 seconds]
<Zer0xp> Hey, does anyone here know a script that allows one to toggle between left and right hand mouse usage in NixOS ?
orivej has quit [Ping timeout: 248 seconds]
shomodj_ has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a607a931f6f (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<adisbladis> Zer0xp: That would not be NixOS specific. Something with xmodmap probably.
<adisbladis> Or xinput
<adisbladis> xinput --set-button-map <device-id> 3 2 1
shomodj has quit [Ping timeout: 272 seconds]
<adisbladis> And you'll get device id using `xinput list`
<adisbladis> I haven't tried the above for your hardware obviously, but I'm using something similar to remap some hw keys on my "mouse"
alex``` has joined #nixos
alex`` has quit [Ping timeout: 248 seconds]
shibboleth has joined #nixos
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #nixos
Yaniel has quit [Ping timeout: 246 seconds]
hio has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
Zer0xp has quit [Ping timeout: 245 seconds]
Yaniel has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #65199 → xastir: 2.1.2 -> 2.1.4 → https://git.io/fjMER
<{^_^}> [nixpkgs] @vbgl pushed commit from @r-ryantm to master « xastir: 2.1.2 -> 2.1.4 »: https://git.io/fjM7k
<{^_^}> [nixpkgs] @vbgl merged pull request #64833 → coqPackages.math-classes: 8.8.1 -> 8.9.1 → https://git.io/fjXHN
<{^_^}> [nixpkgs] @vbgl pushed commit from @Zimmi48 to master « coqPackages.math-classes: 8.8.1 -> 8.9.1 »: https://git.io/fjM7I
alex``` has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @abbradar merged pull request #65259 → boot tests: don't use globbing → https://git.io/fjMQl
<{^_^}> [nixpkgs] @abbradar pushed to master « boot tests: don't use globbing »: https://git.io/fjM73
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @abbradar closed pull request #65214 → boot tests: fix globbing in qemu configuration → https://git.io/fjM2v
Soo_Slow has joined #nixos
hyper_ch2 has joined #nixos
orivej has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @abbradar pushed to master « lutris: add multilib dependencies »: https://git.io/fjM7W
<{^_^}> [nixpkgs] @juaningan opened pull request #65260 → python37Packages.pysonos: 0.0.14 -> 0.0.21 → https://git.io/fjM78
gratto has joined #nixos
Thra11 has joined #nixos
tonic1 has joined #nixos
MinceR_ is now known as MinceR
<Ashy> does anyone know how to use the dwarf-fortress themes on nixos?
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @tilpner opened pull request #65262 → python3Packages.PyGithub: 1.36 -> 1.43.8 → https://git.io/fjM7z
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a607a931f6f (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<Ashy> oh the module is quite well documented in it's default.nix
cfricke has joined #nixos
dwdr has joined #nixos
noudle has joined #nixos
<recj> thank you teto
cfricke has quit [Client Quit]
<{^_^}> [nixpkgs] @zimbatm merged pull request #64822 → bundlerUpdateScript: init and use → https://git.io/fjXS8
<{^_^}> [nixpkgs] @zimbatm pushed commit from @nicknovitski to master « bundlerUpdateScript: init and use (#64822) »: https://git.io/fjM7a
<{^_^}> [nixpkgs] @FRidh merged pull request #65027 → pythonPackages.zarr: init at 2.3.2 → https://git.io/fj1M7
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fjM7P
aleph- has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 222 commits to staging-next: https://git.io/fjM7F
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed 228 commits to staging: https://git.io/fjM7b
ottidmes has joined #nixos
srid6390803 has quit [Ping timeout: 272 seconds]
shomodj has joined #nixos
shomodj_ has quit [Ping timeout: 244 seconds]
cfricke has joined #nixos
srid6390803 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
Guest31165 has joined #nixos
ljk has joined #nixos
<{^_^}> [nixpkgs] @cypherpunk2140 opened pull request #65263 → lnd: init at 0.7.0-beta → https://git.io/fjM5s
Neo--- has joined #nixos
Guest31165 has quit [Remote host closed the connection]
virus_dave has joined #nixos
aswanson has joined #nixos
mexisme_ has joined #nixos
sach has quit [Ping timeout: 244 seconds]
<aanderse> so i was running htop in a redhat 7 box which runs on vmware
mexisme_ has quit [Ping timeout: 264 seconds]
<aanderse> i add cpus and ram to the vm using vmware vsphere tool
<aanderse> htop shows new cpus and ram show up automatically
<aanderse> i didn't have to do any of the usual hot plug stuff
noudle has quit []
<aanderse> redhat 7 just magically took care of it
<aanderse> killer feature :D
<aanderse> now i *really* want to know how they did that and port to nixos
<marek> isn't it udev? O_o
<aanderse> redhat 6 didn't do it, nor does debian 9
<aanderse> that is all i know
<aanderse> though a lwn article seems to suggest you are correct :)
<aanderse> Currently, all newly added memory blocks remain in 'offline' state unless
<aanderse> someone onlines them, some linux distributions carry special udev rules
<aanderse> like:
<aanderse> SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online"
<aanderse> :D
<aanderse> as of 19.03 nixos kernel has hotplug support, so it seems like we just need to add the udev rule
fendor_ has joined #nixos
<fendor_> I am trying to build a derivation for a local c project: https://hastebin.com/pitumuqali.bash
<fendor_> in this case the error is that `cp` is not found. which makes sense, I suppose
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #65084 → slack: 3.4.2 -> 4.0.0 → https://git.io/fjMT9
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/fjM58
<{^_^}> [nixpkgs] @teto opened pull request #65264 → python3Packages.pandas: 0.24.2 -> 0.25 → https://git.io/fjM50
<{^_^}> [nixpkgs] @FRidh closed pull request #65264 → python3Packages.pandas: 0.24.2 -> 0.25 → https://git.io/fjM50
seanparsons has quit [Ping timeout: 272 seconds]
bakakuna has joined #nixos
<sphalerite> fendor_: you shouldn't need to define that much stuff
<fendor_> sphalerite, it is also for learning purposes.
seanparsons has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
shibboleth has quit [Quit: shibboleth]
<sphalerite> fendor_: since you're defining your own builder, stdenv isn't getting set up and none of the buildInputs end up in $PATH.
<wangoe[m]> fendor_: Have you tried setting up the PATH in your builder script? See for example: https://nixos.org/nixos/nix-pills/generic-builders.html
ljk has quit [Remote host closed the connection]
<sphalerite> fendor_: if you want to learn about this stuff, it's probably best to follow the nix pills (as wangoe[m] linked :) )
<fendor_> I see, I overlooked the path modification.
<fendor_> I am currently doing it :)
<fendor_> but not too closely, wanted to build my own old c programs
Thra11 has quit [Quit: WeeChat 2.5]
<fendor_> ,locate cp
<{^_^}> Found in packages: calc, dirt, peru, cheat, toybox, arduino, busybox, coreutils, oh-my-zsh, lighttable, arduino_core, gcc-unwrapped, coreutils-full, gcc-arm-embedded, gcc-arm-embedded-5, gcc-arm-embedded-6, gcc-arm-embedded-7, gcc-arm-embedded-4_7, gcc-arm-embedded-4_8, gcc-arm-embedded-4_9
<sphalerite> fendor_: coreutils for the "normal" GNU one, or busybox
<fendor_> what is the difference between buildInputs and inherit?
<sphalerite> buildInputs is just a member of the set
<sphalerite> inherit hello; is equivalent to hello = hello;
<{^_^}> [nixpkgs] @marsam opened pull request #65265 → terraform-lsp: init at 0.0.5 → https://git.io/fjM51
<fendor_> sphalerite, alright, thanks! I think, I am very close to my first workign derivation :)
<fendor_> this works now: https://hastebin.com/rimucivaxe.bash
<fendor_> anything I did wrong?
ericsagnes has quit [Ping timeout: 264 seconds]
<fendor_> or could easily improve?
<maralorn> fendor_: I am not experienced enough to tell. But it looks to me that you have a shell-script there called "build.hs" Isn't that a bit unusual?
<maralorn> Just from the file extension.
<fendor_> that was a typo, it is actually build.sh
mkoenig has quit [Ping timeout: 244 seconds]
<maralorn> Ah, okay.^^ I took it seriously because a lot of haskell projects have a build.hs.^^
<fendor_> yeah, ironically, this project already has a haskell build script, Shake.hs which I also used for experimentation
<{^_^}> [nixpkgs] @marsam opened pull request #65266 → rubocop: 0.72.0 -> 0.73.0 → https://git.io/fjM5p
stepcut has joined #nixos
<{^_^}> [nixpkgs] @abbradar merged pull request #64268 → nixos/nscd: DynamicUser and other cleanups → https://git.io/fj6sy
<{^_^}> [nixpkgs] @abbradar pushed 8 commits to master: https://git.io/fjMdJ
jasongrossman has quit [Ping timeout: 258 seconds]
dansho has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #65138 → python37Packages.nose2: 0.8.0 -> 0.9.1 → https://git.io/fjMn9
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjMdG
johnny101m has quit [Remote host closed the connection]
ericsagnes has joined #nixos
o1lo01ol1o has joined #nixos
monsieurp has joined #nixos
mkoenig has joined #nixos
jmeredith has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/bc4361a540e (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
fendor has quit [Quit: Leaving]
<fendor_> next question, I tried the same with a bit more complex application, I have: https://hastebin.com/fuyoxamolu.bash with the error shown at the bottom. Using `make` in the directory works, but shows the same warnings
srid6390803 has quit [Ping timeout: 272 seconds]
npmccallum has joined #nixos
<fendor_> I have to do a hit and run, sorry, have to go, gonna just ask it again later, ciao
fendor_ has quit [Quit: Leaving]
leothrix has quit [Ping timeout: 245 seconds]
leothrix has joined #nixos
iyzsong has quit [Ping timeout: 264 seconds]
veske has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
veske has quit [Client Quit]
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #65269 → x11docker: v5.4.1 -> v6.0.0 → https://git.io/fjMdF
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vmandela has quit [Quit: Leaving]
cfricke has quit [Quit: WeeChat 2.5]
veske has joined #nixos
xacktm has quit [Ping timeout: 250 seconds]
magnetophon has quit [Ping timeout: 248 seconds]
mkoenig has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
mkoenig has joined #nixos
fragamus has joined #nixos
srid6390803 has joined #nixos
jb55 has joined #nixos
DariusTheMede has joined #nixos
Drakonis has joined #nixos
magnetophon has joined #nixos
mexisme_ has joined #nixos
ericsagnes has quit [Ping timeout: 258 seconds]
mexisme_ has quit [Ping timeout: 252 seconds]
<nilsirl[m]> How do I compile (for development) a package that is already in the nix packages collection?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/62cb4f72282 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
mudri has quit [Ping timeout: 272 seconds]
sigtrm has quit [Read error: Connection reset by peer]
mudri has joined #nixos
sigtrm has joined #nixos
Tucky has quit [Quit: WeeChat 2.5]
<alexarice[m]> nilsirl: I think some packages have dev versions, it depends on the package/language really
<nilsirl[m]> I am trying to contribute to a project but I don't know how to compile it :joyful:
<nilsirl[m]> On other distros to compile it I just run scons
<nilsirl[m]> But on nixos I am not sure how to do it
<infinisil> nilsirl[m]: That's really what nix-shell is made for. Run `nix-shell '<nixpkgs>' -A hello` to get an environment with the deps for hello
<infinisil> `unpackPhase` to unpack the source, the cd into the source directory, `configurePhase` to configure it, then `buildPhase` to build it (which is usually mostly just `make`)
bakakuna has quit [Ping timeout: 252 seconds]
<alexarice[m]> infinisil: beat me to it, though I didn't realise you could pass an attribute into nix-shell, thanks for the info
<{^_^}> [nixpkgs] @fpletz merged pull request #65088 → prometheus-nginx-exporter: switch to official version & general prometheus-exporters cleanup → https://git.io/fjMkF
<{^_^}> [nixpkgs] @fpletz pushed 8 commits to master: https://git.io/fjMFM
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
primeos has quit [Quit: WeeChat 2.4]
<nilsirl[m]> When I run buildPhase it says "no Makefile, doing nothing". This is fine since the project I am working on uses "scons". The thing is that when I run scons (within nix-shell) I get a compile error "In file included from platform/x11/os_x11.h:37:0,
<nilsirl[m]> from platform/x11/godot_x11.cpp:37:
<nilsirl[m]> ./drivers/alsa/audio_driver_alsa.h:38:10: fatal error: alsa/asoundlib.h: No such file or directory"
<nilsirl[m]> infinisil: build tool doesn't resolve the #include.
SovereignBleak has quit [Quit: Connection closed for inactivity]
hmpffff has quit [Quit: nchrrrr…]
<infinisil> Ah, yeah so unfortunately there's no general way to run the *actual* phases. In your case you probably need to call `sconsConfigurePhase` or so
<infinisil> And sconsBuildPhase
PLPD-Bot has quit [Remote host closed the connection]
<infinisil> I think
fragamus has joined #nixos
dhs has joined #nixos
xkapastel has joined #nixos
<infinisil> Actually there might be a general way, but I forgot how to do it
<nilsirl[m]> I have sconsBuildPhase but not sconsConfigurePhase
<nilsirl[m]> And when I run sconsBuildPhase I get the same error as when running scons "normally"
<infinisil> Yeah the configure thing doesn't seme to exist, was just a guess
<nilsirl[m]> Isn't there something I can do with nix-build?
dhs has quit [Remote host closed the connection]
hmpffff has joined #nixos
cia_49 has joined #nixos
dwdr has quit [Ping timeout: 245 seconds]
cia_49 has quit [Remote host closed the connection]
Thra11 has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
nDuff has joined #nixos
nakkle has quit [Ping timeout: 276 seconds]
nakkle has joined #nixos
<vaibhavsagar> is there some way I can prevent overlays in `.config` from being loaded?
<vaibhavsagar> seems very impure to have my expressions be affected by arbitrary file content
noogie has quit [Quit: Lost terminal]
<sauyon> wouldn't configuration.nix be impure by that logic
__Sander__ has quit [Quit: Konversation terminated!]
<nilsirl[m]> infinisil: genericBuild seems to work but I am not sure yet
<nilsirl[m]> infinisil: genericBuild seems to work but I am not sure yet
srid6390803 has quit [Ping timeout: 245 seconds]
<infinisil> nilsirl[m]: Yeah that does work, but it'll do a full build every time
<infinisil> There's no granularity like a configure phase, build phase, etc.
hmpffff has quit [Quit: nchrrrr…]
MmeQuignon has joined #nixos
srid6390803 has joined #nixos
<alexarice[m]> Do emacs packages seem to be broken for anyone else? getting a lot of Error's connecting to github and I get 500 errors when I manually navigate to the links
primeos has joined #nixos
<mkaito> sounds more like a github than an emacs issue to me
<infinisil> alexarice[m]: It's on github's side, I'm having trouble accessing the webpage
srid6390803 has quit [Ping timeout: 268 seconds]
<alexarice[m]> there's nothing wrong with the nix derivation then? I guess I'll wait a bit
<infinisil> emacs packages are kind of the exception because they get fetched from github directly, instead of using cache.nixos.org
<alexarice[m]> I seem to have trouble pushing to github as well, maybe they are having problems
Neo--- has quit [Ping timeout: 264 seconds]
<tilpner> They've been giving me server errors for a few hours too
<tilpner> And now I can't deploy anymore :c
jmeredith has quit [Quit: Connection closed for inactivity]
<infinisil> They are having problems indeed: https://www.githubstatus.com/?
dwdr has joined #nixos
zupo has joined #nixos
<mkaito> yeh github be down
<mkaito> time to switch to sourcehut
srid6390803 has joined #nixos
<averell> is it likely that flakes will be in 19.09?
ilya-fedin has joined #nixos
<c00w> mkaito, I actually use sr.ht and it's pretty good.
<c00w> I wish their pushes were a bit faster
<niksnut> averell: unlikely, that's very soon
<mkaito> all I got from sourcehut is that now I want to do all code review via email but I'm stuck with github
<thoughtpolice> Well, time for everyone to take a coffee break, I suppose.
erasmas has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mkaito> thankfully, git is distributed and doesn't care that the server is down :P
<mkaito> sucks for everyone who has actual process on github, like code review and issues and stuff
orivej has quit [Ping timeout: 245 seconds]
<ar> /36/34
fragamus has quit [Read error: Connection reset by peer]
anon has joined #nixos
anon is now known as Guest94703
chloekek has joined #nixos
<nilsirl[m]> How can I build software I have modified?
<nilsirl[m]> It uses scons as its build system
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/1851d52633a (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<devalot> nilsirl[m]: I believe someone already mentioned you can use nix-shell to get an environment with all the dependencies and then run scons.
<devalot> If you want, you can do something like this in the shell: eval "$buildPhase"
<nilsirl[m]> devalot: I have asked this questions already previously and never had an answer that worked
Guest94703 has quit [Quit: WeeChat 2.4]
Drakonis has quit [Quit: WeeChat 2.4]
<nilsirl[m]> I get an error at line "#include <also/soundlib.h>"
<nilsirl[m]> As well as #include <GL/glx.h>
sauyon has quit [Quit: WeeChat 2.5]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
anon1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65237 → [staging-next] gtk3: don't multiout demos → https://git.io/fjM6A
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging-next: https://git.io/fjMbQ
sauyon has joined #nixos
endformationage has joined #nixos
<DariusTheMede> I have https://gist.github.com/idontgetoutmuch/9d2821e693437754e3ea96f9fe7838df but I get nix-build error: undefined variable 'my-random-fu-multivariate' at /Users/dominic.steinitz/notebooks/cmaes/default.nix:10:33
Drakonis has joined #nixos
drakonis1 has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
<exarkun> is npm in nixpkgs somewhere?
<pbb> it's in nodejs
<clever> drakonis1: what happens with `self.my-random-fu-multivariate
<exarkun> ty
<pbb> you could also use yarn ;)
<DariusTheMede> clever: that was me
Drakonis has quit [Ping timeout: 252 seconds]
<exarkun> idk what yarn is
<DariusTheMede> with `self.my-random-fu-multivariate` I get the same error message
<clever> DariusTheMede: oops, tab complete is sometimes off
<clever> exarkun: a replacement for npm
<exarkun> trying to build somebody's else's software
<pbb> DariusTheMede: look at yarnpkg.com
<exarkun> it wants npm
<clever> exarkun: is it actually running npm, or do the directions just say to run it?
nakkle has quit [Ping timeout: 272 seconds]
<exarkun> it is running npm
<pbb> oh
<pbb> in that case you might actually not be able to use yarn
Drakonis has joined #nixos
jmeredith has joined #nixos
doyougnu has joined #nixos
drakonis1 has quit [Ping timeout: 244 seconds]
<vaibhavsagar> sauyon: no, because `nix-build` doesn't automatically pick it up
<{^_^}> [nixpkgs] @globin merged pull request #65074 → nixos/gitlab: gitlab-workhorse requires exiftool on path → https://git.io/fjMfz
<{^_^}> [nixpkgs] @globin pushed commit from @johanot to master « nixos/gitlab: gitlab-workhorse requires exiftool on path to process uploaded images »: https://git.io/fjMbj
<{^_^}> [nixpkgs] @globin pushed commit from @johanot to release-19.03 « nixos/gitlab: gitlab-workhorse requires exiftool on path to process uploaded images »: https://git.io/fjMNe
<DariusTheMede> clever: vaibhavsagar has sorted me out thanks
<vaibhavsagar> wait what
<vaibhavsagar> oh hi :)
<DariusTheMede> :)
<vaibhavsagar> I'm still upset that overlays in `.config/nixpkgs` are automatically picked up
mexisme_ has joined #nixos
<tilpner> You can prevent that if you care enough
Thra11 has quit [Ping timeout: 268 seconds]
<clever> vaibhavsagar: import <nixpkgs> { overlays = []; };
<vaibhavsagar> how
<vaibhavsagar> oh, but I did do that
<clever> vaibhavsagar: at every place you import nixpkgs?
___laika has joined #nixos
<pbb> The application I am trying to package has dependencies from it's language's packaging system, that is not tracked in nixpkgs (npm, rubygems, maven, rust crates, ...). There is tooling to adapt the dependency definitions from the language's package management system to nix (yarn2nix, bundix, ..), but since the original dependency definitions don't contain usable hashes for all dependencies, or are missing the hashes for git dependencies, these dependency
<pbb> I am looking for the best solution for the following problem that I run into quite a lot:
<pbb> 2) downloading the dependencies during build time with a fixed-output derivation (jd-gui package, rust crates)
<pbb> 1) generating a .nix file describing the dependencies including all needed hashes and including it in the packaging (gemset.nix, yarn.nix)
<pbb> definitions need to be combined with information from the internet. There are multiple solutions that I see being used:
<pbb> Which one is actually more favorable? The first one results in difficult-to-maintain packages and spams nixpkgs with large files, the second one is not strictly pure, and it is kind of working around nix using the fixed-output derivation, I think I read edolstra discouraging it.
shomodj has quit [Ping timeout: 268 seconds]
<clever> vaibhavsagar: i would expect that to work, try putting a syntax error in an overlay from ~/.config/nixpkgs and then paste me the error it gives
mexisme_ has quit [Ping timeout: 276 seconds]
<clever> vaibhavsagar: is it an overlay, or config.nix ?
<{^_^}> [nixpkgs] @globin merged pull request #63900 → nixos/nextcloud: write config to additional config file → https://git.io/fjowZ
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMNL
<vaibhavsagar> clever: an overlay
<infinisil> pbb: The second approach needs IFD to work and is therefore not allowed in nixpkgs
<clever> vaibhavsagar: try the syntax error then, to see how its leaking in
<vaibhavsagar> clever: https://pastebin.com/fhbp2yrq
<vaibhavsagar> I think it's in `pkgs.nix`, so I'll fix that
<pbb> infinisil: I did not say the nix description is generated and then imported. For example the rust tooling just downloads the dependencies using cargo in a fixed-output derivation.
<clever> vaibhavsagar: ah yeah, your `inherit (import <nixpkgs>{}) lib;`
<infinisil> pbb: Ahh like that, I see
<slabity> What is the status of this 'flakes' proposal? I really like the concept and want to move my modules over to using it.
* vaibhavsagar shakes fist at implicit overrides
<pbb> infinisil: The same could be done for npm (or ruby gems with a little hassle)
<clever> vaibhavsagar: that one is broken by the syntax error, but the overlays shouldnt impact other things, so it may be a false alarm, purify it and then see what happens next
MmeQuignon has quit [Ping timeout: 244 seconds]
lambda-11235 has joined #nixos
<infinisil> pbb: Well I prefer the second approach if you can make it as reproducible as possible. With the rust dependency sha256's i remember there being some problems because they weren't entirely deterministic and could therefore change over time
<vaibhavsagar> clever: seems fine after I fixed that
<clever> vaibhavsagar: not sure what the original issue was then, enless your overlays are messing with lib
<vaibhavsagar> clever: DariusTheMede was having an issue getting my notebooks repo working because of his overlays
MmeQuignon has joined #nixos
<pbb> infinisil: but I think there is no consensus on what solution should be preferred? Or is there existing discussion about this topic?
<infinisil> pbb: I don't know of any discussion about this, maybe you can open an issue on this
<pbb> In nixpkgs or in nix? I think it is a general nix thing, but there should probably be a decision on how it will be handled in nixpkgs.
Drakonis has quit [Ping timeout: 250 seconds]
<tilpner> pbb: Right, this is an open problem still
Soo_Slow has quit [Remote host closed the connection]
<lambda-11235> I don't seem to be getting any haskellPackages, is there an obvious reason for this?
<pbb> tilpner: I was aware of the recursive nix discussion, although I don't fully understand all implications. It seems to me like recursive nix can solve the issue in those cases where all hashes are in the lockfile, like yarn.lock without git dependencies, but where hashes are missing the problem is not solved by recursive nix
<pbb> I would also be interested to discuss this at nixcon if anyone else is interested
<tilpner> pbb: Yes, but just gathering all hashes can be done with less space overhead than putting the full expressions into nixpkgs
<clever> pbb: another thing recursive nix can give you is a ccache replacement
<pbb> clever: sounds really cool, I am looking forward to playing with that ^^
<clever> pbb: what if gcc was replaced with a shell script, that would pre-process the c code, and remove all comments (like ccache), then it just did `nix-build gcc.nix --arg source ./foo.c`
<clever> pbb: then if foo.c matches a previously built thing, it builds instantly
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
<pbb> ack
o1lo01ol1o has quit [Remote host closed the connection]
<clever> pbb: nix-shell and nix-build could even share intermediate products!
<pbb> tilpner: I don't fully understand the last thing you wrote
Mrmaxmeier has joined #nixos
<pbb> you mean solution 2) I described earlier or another alternative involving recursive nix?
<tilpner> pbb: It would be a combination of both. You would still run a tool to update the hashes, but the rest of the expression generation can be done later during build. Smaller files, and not as difficult to maintain anymore
<pbb> so where would those hashes be stored and in what format?
<tilpner> pbb: But admittedly that's not an amazing improvement over the current state, it "only" reduces file sizes. I might be missing something too
<pbb> just a smaller format for the same hashes we already have with yarn.nix and gemset.nix?
<tilpner> pbb: Still in nixpkgs, probably per-tool formats
<tilpner> Yes
<pbb> ok I get it now, thanks for explaining :-)
<pbb> of course it would be nice to not need those at all, or for yarn2nix maybe to only store the hashes for git dependencies and generate the rest on the fly from the upstream yarn.lock
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65253 → brewtarget: init at 2.3.1 → https://git.io/fjM9O
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjMNK
<slabity> Does anyone know whether the 'Flakes' RFC is being developed on? I'd like to help contribute if possible
<gchristensen> it is being developed yes
thc202 has quit [Ping timeout: 250 seconds]
<gchristensen> in the flakes branch on nixos/nix
<slabity> Other than the PR I'm unsure of where to look
<slabity> gchristensen: Thanks.
<slabity> gchristensen++
<{^_^}> gchristensen's karma got increased to 127
<DariusTheMede> This https://gist.github.com/idontgetoutmuch/af747e1c5551acfbcc1d89a4b82b7ef9 builds I don't think it tries to do anything with ./pkgs/random-fu-multivariate. Indeed if I change the name to something that doesn't exist it still builds
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/a607a931f6f (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d893a9acf8d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
hmpffff has joined #nixos
<DariusTheMede> Forget that
webster23 has joined #nixos
thc202 has joined #nixos
judson has joined #nixos
domogled has joined #nixos
__monty__ has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
vmandela has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #65258 → franz: 5.1.0 -> 5.2.0 → https://git.io/fjMHp
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMN5
<{^_^}> [nixpkgs] @globin merged pull request #65257 → xst: repo owner neeasade -> gnotclub → https://git.io/fjMHb
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMNd
<{^_^}> [nixpkgs] @globin merged pull request #65249 → gitlab-runner: 12.0.2 -> 12.1.0 → https://git.io/fjMD6
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMNF
doyougnu has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #65273 → linux/kernel: enable automatic memory hotplug support → https://git.io/fjMNb
srid6390803 has quit [Ping timeout: 258 seconds]
<pbb> tilpner, infinisil: do you have a suggestion how I could name the issue we discussed with hashes being missing in the upstream dependency description? And what repository should I open this issue in?
<{^_^}> [nixpkgs] @globin merged pull request #65243 → rescuetime: 2.14.2.1 -> 2.14.3.1 → https://git.io/fjMXu
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMNN
<infinisil> pbb: nixpkgs for sure
<infinisil> No idea about the title either though :)
<infinisil> I'm still not quite sure where the line is
<pbb> It's really difficult to give this problem a name :D
<pbb> kind of like "how to handle language package management tooling", but that's too general
pierron is now known as nbp
<tilpner> pbb: The ret-cont RFC uses the language "we want Nix to function as a build system and package manager"
<tilpner> And that's an important part of the problem. Nix functions just fine as a build system, or as a package manager
<tilpner> But it struggles doing both at the same time
<pbb> hmm I don't see how that is the problem in this case
<{^_^}> [nixpkgs] @globin merged pull request #65197 → libarchive: 3.3.3 -> 3.4.0 → https://git.io/fjMEZ
<{^_^}> [nixpkgs] @globin pushed 2 commits to staging: https://git.io/fjMAt
<{^_^}> [nixpkgs] @globin merged pull request #65189 → teamviewer: 14.3.4730 -> 14.4.2669 → https://git.io/fjMRF
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMAq
srid6390803 has joined #nixos
orivej has joined #nixos
<pbb> infinisil, tilpner: I created two issues in case one of you is interested in commenting
<{^_^}> #65275 (by petabyteboy, 48 seconds ago, open): language package management tooling missing hashes
<tilpner> pbb: Maybe I misunderstood what you meant. Wasn't your point that putting large expressions into nixpkgs is ugly, but shoving the fetching of hashes into a fixed-output build is too impure?
<{^_^}> #65274 (by petabyteboy, 13 minutes ago, open): the future of npm tooling in nixpkgs (yarn2nix)
<pbb> tilpner: yes, there are two approaches to language package management with nix, but they both have problems, and I don't know which one to use
<pbb> and if one is better than the other I think this one should be used in all tooling
<tilpner> But the first one works fine outside of nixpkgs
<{^_^}> [nixpkgs] @globin merged pull request #65184 → minecraft-server: 1.14.3 -> 1.14.4 → https://git.io/fjMBX
<tilpner> It's only inside nixpkgs, that it becomes unrealistic
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMAW
<gchristensen> the "one big hash"option is not good
<pbb> tilpner: not if some hashes are missing
<pbb> gchristensen: but the other one is aslo not good ^^'
<gchristensen> okay, if the other one is not good, the "one big hash" option is worse :P
<tilpner> pbb: I don't understand. You didn't mention that before?
* tilpner overread "or are missing the hashes for git dependencies"
<pbb> yup that's the problem for yarn.lock files
<pbb> this problem is also solvable outside nixpkgs by using builtin fetchGit
<pbb> but that's also very not nice
<tilpner> Ahh, I'm not too familiar with that. Is that an implementation issue?
<pbb> you mean why it is not nice?
<gchristensen> if hashes ar emissing, the thing which generates the nix should prefetch and store the hash
<tilpner> I would expect it to be possible to prefetch git repos just the same
<tilpner> And put those hashes with the other hashes for non-git deps
<pbb> if you want to prefetch, yes. but that needs an internet connection.
<gchristensen> and?
<tilpner> Yes, I don't mind that
<{^_^}> [nixpkgs] @globin merged pull request #65183 → scilab-bin: 6.0.1 -> 6.0.2 → https://git.io/fjM4R
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMA2
<gchristensen> using Nix practically demands internet anyway
<pbb> yarn2nix attempts to generate a nix expression from the yarn lock file without an internet connection so it can be done on-the-fly
<{^_^}> [nixpkgs] @globin merged pull request #65182 → reaper: 5.979 -> 5.980 → https://git.io/fjM4c
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMAa
<pbb> gchristensen: but an internet connection is not available during the build
<pbb> (unless you do the dirty "one big hash" thing)
<gchristensen> I evidently don't have enough context
<tilpner> (I'm still arguing for the "condensed many hashes" method I mentioned earlier)
<tilpner> (For that you need internet anyway, but then it works offline-ish)
<pbb> tilpner: I also think that is the most comfortable option, but maybe gchristensen can explain why the "one big hash" option is not nice
<pbb> gchristensen: the context is actually the following: this came up when I was packaging mastodon. using the approach of prefetching all hashes and generating a nix expression and putting it into nixpkgs was seen as not so nice because it bloats nixpkgs, and because it makes it a lot of efford to override the source with a fork or new version
<gchristensen> well because it is a lie
<pbb> someone complained in the PR that it's so hard to use a forked version when you need to get bundix and yarn2nix and generate yarn.nix and gemset.nix for every update. so it made me think if there is a better way
<gchristensen> yeah
<gchristensen> it is complicated for sure
<{^_^}> [nixpkgs] @globin merged pull request #65179 → nixos/bind: allow manual additions to zone config fragments → https://git.io/fjM8d
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMAo
<{^_^}> [nixpkgs] @globin merged pull request #65206 → virtmanager: 2.2.0 -> 2.2.1 → https://git.io/fjMuW
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMA6
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/248a3d8faf2 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
Okinan has joined #nixos
<eraserhd> Is there a better way to escape '' inside a '' string, other than ${"''"}?
<pbb> maybe it is actually easier to have a talk about this irl at nixcon if anyone cares. I think those issues are the ones holding me back the most when using nix.
zupo has joined #nixos
domogled has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<adisbladis> pbb: re "one-big-hash" https://github.com/NixOS/nix/issues/2270
<{^_^}> nix#2270 (by edolstra, 1 year ago, open): Restrict fixed-output derivations
<pbb> thanks!
tqbl has joined #nixos
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
shomodj has joined #nixos
nDuff has quit [Ping timeout: 268 seconds]
day|flip has joined #nixos
<pbb> adisbladis: what do you mean by "cache busting" in your last comment in that PR?
<adisbladis> pbb: That for any change in the dependency graph you invalidate the entire cache
shomodj has quit [Client Quit]
<pbb> thanks :-)
<adisbladis> Let's say you have a `buildGoPackage` modSha256 and you update one of your deps, now you need to download them all again :/
<pbb> yeah I know that problem
<gchristensen> and build them all again
<pbb> oh yes it's so annoying with buildRustPackage :<
<gchristensen> and cache them all again
<adisbladis> gchristensen: Though for the go case you'll build them all again anyway
<gchristensen> and good luck trying to get it to work properly on macos and linux
fusion809 has quit [Remote host closed the connection]
<day|flip> I notice that with my little custom kernel config
<adisbladis> day|flip: Yeah... NixOS is the first distro to convince me of genkernel as a concept ^_^
<{^_^}> [nixpkgs] @nbardiuk opened pull request #65276 → vimPlugins.ghcid: Init at 2019-07-04 → https://git.io/fjMxJ
<gchristensen> oh?
noudle has joined #nixos
<day|flip> after deleting my gc. i have to rerun nixos-rebuild switch --update will i think it mostly udev rules get deleted some how. and have to re build everthing. get it all back after rebooting again
Jackneill has quit [Remote host closed the connection]
<gchristensen> day|flip: I can't parse your question
<adisbladis> I wish we could reach a concencus about fixed-output derivations and when they're supposed to be used
<{^_^}> [nixpkgs] @u-quark opened pull request #65277 → bazel-buildtools: 0.22.0 -> 0.28.0 → https://git.io/fjMxT
<day|flip> I have some custom udev. mostly to get tell nouveau to spin my fans at my low speed setting.
<slabity> Do I need to manually enable ssh on a NixOps+EC2 system for it to work after a reboot?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> adisbladis: when you're fetching a single, stable source :)
doyougnu has joined #nixos
<gchristensen> adisbladis: when the hash is a reasonable ID for the contents
<slabity> Looks like NixOps successfully deploys via SSH, but when it tries to reboot it just hanges for `waiting for the machine to finish rebooting`
<vmandela> gchristensen, could you take another look at https://github.com/NixOS/nix/pull/2946 please ?
<{^_^}> nix#2946 (by vmandela, 5 weeks ago, open): installer: handle network proxy in systemd multi-user install
<adisbladis> gchristensen: That sounds sensible to me. Obviously there are other people out there that think buildRustPackage/buildGoModule are reasonable approaches
<day|flip> i notice after deleting my gc. my udev rules dont run. so i have rebuild once more after doing nix-collect-garbage -d
<gchristensen> adisbladis: well, they're not :P
pamplemo1sse has joined #nixos
<{^_^}> [nixpkgs] @u-quark closed pull request #64537 → bazel-buildtools: 0.22.0 -> unstable-2019-06-21 → https://git.io/fjijR
<aminechikhaoui> slabity that shouldn't happen, anything interesting in nixops show-console-output of the machine
<slabity> animechikhaoui: One moment. Destroying and redploying before I attempt anything else
<{^_^}> [nixpkgs] @globin merged pull request #65162 → tflint: 0.9.1 -> 0.9.2 → https://git.io/fjMW1
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMxG
alex``` has joined #nixos
gratto has quit [Ping timeout: 268 seconds]
bakakuna has joined #nixos
<kraem> What package is gvac-source in /nix/store? Is that a clone of the nixpkgs repo?
<gchristensen> /nix/store is not a git repository
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @fpletz closed pull request #64750 → firmware-linux-unfree: update to 2019-06-18 → https://git.io/fjX2L
o1lo01ol1o has joined #nixos
<kraem> no of course not, but theres a package in it called gvac-source that seems to contain all of the nix expressions from the nixpkgs repo
<{^_^}> [nixpkgs] @globin merged pull request #65181 → samba: 4.10.5 -> 4.10.6 → https://git.io/fjM4I
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMxR
<slabity> aminechikhaoui: Looks like adding an EBS volume killed it with a kernel panic. I'll see if I can figure out why
<gchristensen> I've never heard of gvac-source
<aminechikhaoui> slabity oh I see, that's a bit odd, what ami/nixpkgs version are you using
<tilpner> ,feeds = https://feed.nix.tx0.co provides Atom feeds for nixpkgs issue labels to notify you about new issues tagged with that label from within e.g. Thunderbird
<{^_^}> feeds defined
<aminechikhaoui> tilpner++
<{^_^}> tilpner's karma got increased to 29
<gchristensen> hot DOG tilpner!
<slabity> aminechikhaoui: Not sure. The latest one that NixOps looks for I'd presume?
<kraem> i ran `find /nix/store -type d | grep emacs` to find something and i found gvac-source which seems to be a clone of the nixpkgs repo - was just curios if that whats get updated when calling `nixos-rebuild --upgrade`
<slabity> It looks like the volume was not formatted, despite having `autoFormat = true;` in the filesystem config
<gchristensen> tilpner: do you scrape these?
ris has joined #nixos
<tilpner> gchristensen: If by scraping you mean "extracting information from e.g. HTML", then no. Their API gives access to issues (and sometimes even works)
<slabity> aminechikhaoui: Here's my deployment file - See anything incorrect with the EBS volume? https://gist.github.com/Slabity/11e188f931be9150603b747bb539749e
<gchristensen> tilpner: I mean, do you generate them on a schedule?
<{^_^}> [nixpkgs] @globin merged pull request #65071 → drumkv1: 0.9.8 -> 0.9.9 → https://git.io/fjMvC
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMxo
<tilpner> gchristensen: Then yes, it should update once an hour, minus breakage and server downtime
<gchristensen> tilpner: aweome :D
<gchristensen> tilpner: maybe we should put our heads together and find a way to get thes etools we've built o nixos.org
<{^_^}> [nixpkgs] @globin merged pull request #65226 → teamspeak: remove unnecessary makeWrapper → https://git.io/fjMwB
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMxi
<aminechikhaoui> slabity defining a filesystem for /nix/store is a bit unusual
o1lo01ol1o has quit [Remote host closed the connection]
<slabity> aminechikhaoui: The store gets filled up quickly, so I wanted it to be separate from main storage. I do the same on all my desktops
<gchristensen> tilpner: I love your design aesthetic
<{^_^}> [nixpkgs] @bessonm opened pull request #65278 → maven: Wrap mvnDebug for convenience → https://git.io/fjMxP
orivej has quit [Ping timeout: 258 seconds]
<tilpner> Yes, uhm, design, that's exactly how that came to be
<tilpner> It's certainly not nginx autoindex
fragamus has joined #nixos
<gchristensen> tilpner: yes same, certainly not https://channels.nix.gsc.io/
<tilpner> What other tools are you referring to?
<gchristensen> don't you have a search engine?
<tilpner> Well, it's a module that enables hound
<gchristensen> yes, same
sellout- has joined #nixos
<gchristensen> but it might be cool to put these super nice tools on nixos.org
ottidmes has quit [Quit: WeeChat 2.4]
DariusTheMede has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @WilliButz merged pull request #65201 → documize-community: 3.1.0 -> 3.1.1 → https://git.io/fjME6
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjMxD
hedgie_lappy has joined #nixos
fendor has joined #nixos
fragamus has quit [Ping timeout: 245 seconds]
<aminechikhaoui> slabity why not just increase the root volume size
o1lo01ol1o has joined #nixos
<tilpner> gchristensen: I agree, it would be good to consolidate them, but I'm not sure about the specifics. Probably logs.nix.samueldr.com too
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/62cb4f72282 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
dwdr has quit [Remote host closed the connection]
<slabity> aminechikhaoui: That would be simpler, though I cannot find any example demonstrating that.
<samueldr> well
<samueldr> I was about to write to gchristensen about the bot not announcing it
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65113 → GNOME3 updates → https://git.io/fjM39
<{^_^}> [nixpkgs] @worldofpeace pushed 11 commits to master: https://git.io/fjMxh
<aminechikhaoui> slabity I think the steps are increase the volume size using the aws cli or console and then reboot
<aminechikhaoui> initrd runs resize2fs by default
<gchristensen> not announcing it?
<{^_^}> [nixpkgs] @globin merged pull request #65265 → terraform-lsp: init at 0.0.5 → https://git.io/fjM51
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMxj
<samueldr> what it just announced :)
dansho has joined #nixos
<samueldr> I was seeing that the channel updated, but no announcement here
<gchristensen> oh!
<samueldr> guess it must have been during the interval it does whatever it does
<gchristensen> it is a pull-based system :)
mexisme_ has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<slabity> aminechikhaoui: Did not know that was possible. I'll try it, but I still want to know how to attach volumes properly. It looks like it never gets formatted and initd dies when trying to mount it
<slabity> Jeez, I have like, 15 terminated EC2 instances in my console now from all my attempts :P
gratto has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<slabity> Looks like it worked. Thanks for the help
fragamus has joined #nixos
<slabity> animechikhaoui++
<slabity> aminechikhaoui++
<{^_^}> aminechikhaoui's karma got increased to 2
<aminechikhaoui> attaching volumes is done later after the boot in regular deployments which takes care of formatting the volume, then rebooting won't try to format again
tilpner has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @kalbasit merged pull request #65263 → lnd: init at 0.7.0-beta → https://git.io/fjM5s
<{^_^}> [nixpkgs] @kalbasit pushed 3 commits to master: https://git.io/fjMp2
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/95be462d070 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ambro718 has joined #nixos
dansho has quit [Ping timeout: 246 seconds]
vmandela_ has joined #nixos
vmandela has quit [Remote host closed the connection]
data4days has joined #nixos
shachaf has left #nixos [#nixos]
tilpner has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #64458 → stdenv: MACOSX_DEPLOYMENT_TARGET 10.10 -> 10.12 → https://git.io/fji6H
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fjMp9
vmandela_ has left #nixos ["Leaving"]
bakakuna has quit [Ping timeout: 258 seconds]
fendor has quit [Read error: Connection reset by peer]
data4days has quit []
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/248a3d8faf2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @xrelkd opened pull request #65280 → eksctl: 0.1.40 -> 0.2.0 → https://git.io/fjMhG
shibboleth has joined #nixos
day|flip has quit [Quit: ERC (IRC client for Emacs 26.1)]
<pbb> gchristensen, adisbladis: about fixed-output derivations, what would be the bad thing about generating yarn.nix / gemset.nix in a fixed-output derivation? it would make mantainance a lot easier
<pbb> and it doesn't have the caching issue
<adisbladis> pbb: How are you going to consume these files? IFD?
<adisbladis> Tbh once you've done that you might as well do that step in an update script
<pbb> that's a seperate problem in my opinion. yes for hydra it would still be necessary to add those files to nixpkgs, but for overriding the source with a fork or when updating to a new version
<pbb> and could this be solved with recursive nix in the future?
DariusTheMede has joined #nixos
day|flip has joined #nixos
<tilpner> Avoidance of IFD isn't just relevant to Hydra. Single-stage evaluation is an incredible feature, and import/readFile-from-derivation prevent that
<pbb> where is it used other than hydra?
<pbb> but yeah I see it is not nice having to build a derivation to see that part of the dependency graph
<adisbladis> If you have figured out how to generate a yarn.nix/gemset.nix you've already done the hard parts. Defering this to the build would just be a matter of convenience(?) for the package author?
<pbb> and for users messing with the package
<pbb> they could just override the source and dependencies FOD hash (first with garbage to get the correct one)
DariusTheMede has quit [Ping timeout: 246 seconds]
<adisbladis> Tbh I find FOD makes it more difficult to do that. YMMV.
<pbb> maybe I haven't seen good update scripts
<pbb> I guess a good update script should make it just as easy to do that
<pbb> but I don't know how I could make it that easy with an update script
<pbb> the user overriding the source will always have to get the update script and put the generated files somewhere
bakakuna has joined #nixos
<pbb> and changes in the mechanism used to generate those files (yarn2nix or bundix) are not reflected, and have to be accounted for manually
nbardiuk has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #65241 → rls: 1.34 -> 1.35 → https://git.io/fjMPM
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjMh0
<clever> pbb: i like having update.nix files with a shellHook, where you just run `nix-shell update.nix`
<clever> pbb: you can then use buildInputs to get whatever you need (purely) and shellHook to run things impurely, and `exit 0` at the end to stop the shell from actually opening
<clever> pbb: ${toString ./.} gets you the dir the nix file was in
noudle has quit []
<pbb> clever: thanks
hedgie_lappy has left #nixos ["Konversation terminated!"]
<pbb> clever: would you use callPackage or where does the update script source its' tools
<{^_^}> [nixpkgs] @globin merged pull request #65260 → python37Packages.pysonos: 0.0.14 -> 0.0.21 → https://git.io/fjM78
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjMho
<pbb> callPackage is not so nice to use with nix-shell I guess
<clever> pbb: it can use callPackage and import ../.. {} to load the nixpkgs its sitting inside
wfranzini has quit [Remote host closed the connection]
<pbb> ok thanks :-)
wfranzini has joined #nixos
Shoubit has quit [Ping timeout: 245 seconds]
<pbb> clever++
<{^_^}> clever's karma got increased to 159
<pbb> adisbladis++
<pbb> gchristensen++
<pbb> and while I'm here also for all those who participated earlier:
<pbb> tilpner++
<pbb> infinisil++
<{^_^}> tilpner's karma got increased to 30
<{^_^}> adisbladis's karma got increased to 11
<{^_^}> infinisil's karma got increased to 111
<{^_^}> gchristensen's karma got increased to 128
<clever> pbb: you should also be able to do several on one line
<pbb> ah thanks for the hint
virus_dave has quit [Quit: virus_dave]
<day|flip> am i the the only one that think that ff 68.0 been a little bit on the unstable side?
<Yaniel> hard to tell since it hasn't made it to the unstable channel yet
<Yaniel> oh, maybe it has
Drakonis has joined #nixos
liberiga has joined #nixos
<day|flip> i been using it on the stable channel
<Yaniel> yeah that seems to have a bit less updated packages but more frequently
<Yaniel> I guess running the tests for unstable just takes forever
<day|flip> i only have like two package from nixpkgs-unstable. mpv and youtube-dl
<Yaniel> (and fails occasionally)
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #65054 → Remove no commits maintainers → https://git.io/fj1xt
InFlames has joined #nixos
<day|flip> make me wonder if there saving there efforts for nix 19.09 updates.
leotaku_ has joined #nixos
leotaku has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #65281 → coqPackages.equations: 1.2beta2 -> 1.2 → https://git.io/fjMh9
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sellout- has quit [Ping timeout: 246 seconds]
hmpffff has joined #nixos
doyougnu has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « lf: 12 -> 13 »: https://git.io/fjMhx
day|flip has quit [Quit: ERC (IRC client for Emacs 26.1)]
o1lo01ol1o has joined #nixos
bakakuna has quit [Ping timeout: 248 seconds]
DariusTheMede has joined #nixos
tilpner has quit [Ping timeout: 245 seconds]
pamplemo1sse has quit [Ping timeout: 245 seconds]
tilpner has joined #nixos
<tilpner> pbb: Sorry, phone call
DariusTheMede has quit [Ping timeout: 268 seconds]
<tilpner> pbb: Deployment of server systems gets a lot easier if you can just send over a description of how the system should look like (list of derivations), and then have the server realise it
phreedom_ has joined #nixos
day|flip has joined #nixos
<tilpner> pbb: But if you need to build something to get that list of derivations, you lose a lot of the benefit
<pbb> ah yes
phreedom has quit [Ping timeout: 260 seconds]
srl295 has joined #nixos
domogled has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
dftxbs3e has joined #nixos
Neo--- has joined #nixos
zupo has joined #nixos
<alienpirate5> I'm having trouble cross-compiling alsa-firmware to armv7l
<alienpirate5> It's trying to compile a C binary `tobin` and then run it on the hos
<alienpirate5> * It's trying to compile a C binary `tobin` and then run it on the host
<alienpirate5> The problem is that the C binary is being cross-compiled and so cannot run on the host
<tilpner> Why's that a problem?
<alienpirate5> you can see for yourself by running `nix build nixpkgs.pkgsCross.armv7l-hf-multiplatform.alsa-firmware`
<alienpirate5> it tries to run `tobin` as part of the compilation
<alienpirate5> but since `tobin` was compiled to run on armv7l, not x86_64, it cannot run
<tilpner> Oh, misread, sorry
<infinisil> alienpirate5: What is it running that binary for?
<alienpirate5> it includes the firmware files which are stored as C byte arrays
<alienpirate5> then outputs them to binary files
<tilpner> alienpirate5: If you're in a hurry, you can avoid fixing cross compilation with qemu-user
<alienpirate5> hm
<samueldr> these were the only fixes required a couple weeks ago to be tweaked for armv7l
<samueldr> at least for sd_image
<alienpirate5> but what if i need alsa
<samueldr> for armv7l cross-compilation
Neo--- has quit [Ping timeout: 245 seconds]
<samueldr> hmm, not sure if alsa-firmware is strictly required for alsa to work
<alienpirate5> that seems like a good idea and i am building sd_image
o1lo01ol1o has joined #nixos
magnetophon has quit [Ping timeout: 246 seconds]
<samueldr> though, those five issues ideally should be dealt with in a more appropriate manner in nixpkgs :)
bdesham has joined #nixos
<alienpirate5> thank you for the tip samueldr
ng0 has quit [Quit: Alexa, when is the end of world?]
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
pamplemousse has joined #nixos
shomodj has joined #nixos
Drakonis has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
Drakonis has joined #nixos
magnetophon has joined #nixos
<{^_^}> [nix] @burke closed pull request #2940 → Make etc/profile.d/nix.sh idempotent → https://git.io/fjgMK
drakonis_ has joined #nixos
drakonis1 has joined #nixos
Drakonis has quit [Ping timeout: 276 seconds]
liberiga has quit [Ping timeout: 260 seconds]
<alienpirate5> armv7l-unknown-linux-gnueabihf-gcc: error: unrecognized command line option '-msse'; did you mean '-fdse'?
<alienpirate5> why
drakonis_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #64897 → est-sfs: init at 2.03 → https://git.io/fjXhA
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjMj9
<samueldr> generally means the software compiles with hardcoded flags for instruction sets for x86_64
npmccallum has quit [Quit: npmccallum]
<samueldr> alienpirate5: what is it that gave you those errors?
<{^_^}> [nixpkgs] @nlewo merged pull request #64821 → drawio: 10.8.0 -> 10.9.5 → https://git.io/fjXSO
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjMj7
<alienpirate5> pngquant
<samueldr> hrm, it detects features of the host computer
<{^_^}> [nixpkgs] @nlewo merged pull request #64752 → pdfcpu: 0.1.25 -> 0.2.1 → https://git.io/fjX2X
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjMjb
<samueldr> adding SSE=0 somewhere in the derivation for pngquant should help
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/75151fe85dc (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Jackneill has joined #nixos
<alienpirate5> samueldr: getting another error https://hastebin.com/dalososunu.txt
xkapastel has joined #nixos
<samueldr> hmm, haven't gone further with cross-compilation than the minimal sd image
<samueldr> not all of nixpkgs cross-compiles at the moment
<alienpirate5> i've noticed
<alienpirate5> what is fontutil?
<gchristensen> please do send patches to improve it :) I think a small subset of contributors are using cross
<alienpirate5> i'm building up a long list of overlays in this configuration
<alienpirate5> i'll make sure to turn that into patches or something
<samueldr> something from xorg
<samueldr> (I don't know more :/)
<alienpirate5> anwyay
<alienpirate5> anyway
<alienpirate5> i added an overlay
<alienpirate5> it sets SSE=0 for pngquant
<alienpirate5> no change
ilya-fedin has quit [Quit: Connection closed for inactivity]
<samueldr> oh, sorry, alienpirate5, I assumed it was that easy
<samueldr> looks like it's a param to their custom configure script
Drakonis has joined #nixos
<alienpirate5> hmm
bakakuna has joined #nixos
drakonis_ has joined #nixos
virus_dave has joined #nixos
<pamplemousse> FRidh: any updates on #64998 and #64930?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64998 (by Pamplemousse, 5 days ago, open): pythonPackages.monkeyhex: init at 1.7.1
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64930 (by Pamplemousse, 6 days ago, open): pythonPackages.capstone: 3.0.4 -> 3.0.5
drakonis_ has quit [Client Quit]
xacktm has joined #nixos
bakakuna has quit [Ping timeout: 272 seconds]
bakakuna has joined #nixos
<nilsirl[m]> I am trying to build a software using "SCons" (a build system). It seems to me that when SCons executes commands (e.g. g++), it doesn't use the g++ wrapper which allows access to libraries. However this software (godot) is in the nix packages collection which means it is possible to build it it just somehow doesn't work on my machine. Also when I run the commands SCons is suppose to execute it works which I what makes me
<nilsirl[m]> believe SCons skips the wrapper somehow.
<nilsirl[m]> * I am trying to build a software using "SCons" (a build system). It seems to me that when SCons executes commands (e.g. g++), it doesn't use the g++ wrapper which allows access to libraries. However this software (godot) is in the nix packages collection which means it is possible to build it but somehow doesn't work on my machine. Also when I run the commands SCons is suppose to execute it works which I what makes me
<nilsirl[m]> believe SCons skips the wrapper somehow.
<clever> nilsirl[m]: scons has some "handy" utils to make the build env pure, and unsets all env vars it doesnt understand
<clever> nilsirl[m]: that breaks cc-wrapper
<nilsirl[m]> How do I do?
<clever> nilsirl[m]: cant remember what i was doing to fix it
knupfer has joined #nixos
<nilsirl[m]> The thing is that this workaround must be known because otherwise it wouldn't be possible to do `nix-env -i godot` as godot is in the nix packages collection.
DariusTheMede has joined #nixos
__monty__ has quit [Quit: leaving]
Jackneill has quit [Remote host closed the connection]
DariusTheMede has quit [Ping timeout: 258 seconds]
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Ping timeout: 264 seconds]
bakakuna has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @uroshercog closed pull request #65072 → feat(nixos/maintainers): add myself under maintainers → https://git.io/fjMvu
<{^_^}> [nixpkgs] @qolii opened pull request #65282 → linux-hardkernel: 4.14.120-160 -> 4.14.133-165 → https://git.io/fjDe0
mexisme_ has quit [Quit: WeeChat 2.5]
ericsagnes has joined #nixos
virus_dave has quit [Quit: virus_dave]
<aveltras> is it possible to override a package to make it start with additional environment variables ?
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @averelld opened pull request #65283 → Add x2goserver module → https://git.io/fjDer
tonic1 has quit [Ping timeout: 250 seconds]
carlosdagos has quit [Ping timeout: 245 seconds]
<srhb> aveltras: wrapProgram and friends seem more fitting for that purpose
<srhb> aveltras: (Because you get to keep the original derivation intact, meaning more cache)
acowley has quit [Ping timeout: 258 seconds]
<aveltras> srhb: is it possible to add environment to an existing service definition ?
DariusTheMede has joined #nixos
DariusTheMede has quit [Ping timeout: 272 seconds]
mexisme has joined #nixos
Diagon has joined #nixos
erasmas has quit [Quit: leaving]
<alexarice[m]> aveltras: you might be able to use an overlay to modify a package that a service uses
mniip has quit [Remote host closed the connection]
<alexarice[m]> If a package is trying to build on my system and I think it should have been cached does that mean it will fail, in other words is every non broken package built by hydra before unstable moves forwards
m0rphism has quit [Ping timeout: 245 seconds]
drainful has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
andymandias has quit [Quit: ZNC 1.7.3 - https://znc.in]
stepcut has quit [Remote host closed the connection]
<alienpirate5> how do I enter a nix-shell for the xorg server?
stepcut has joined #nixos
andymandias has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
chloekek has quit [Ping timeout: 246 seconds]
drainful has left #nixos ["Using Circe, the loveliest of all IRC clients"]
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
InFlames has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
fendor has joined #nixos
dansho has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> My nixos box is freezing solid when i run nix-build on my project
<fresheyeball> and I have to reboot
<fresheyeball> how can I debug this? any way to get crash info?
<clever> fresheyeball: how much ram on the machine?
<fresheyeball> 32GB
<fresheyeball> other projects build fine
<clever> fresheyeball: not sure, if you repeat things from a text console, what happens?
<fresheyeball> clever: what do you mean?
<clever> fresheyeball: ctrl+alt+f1
<fresheyeball> oh tty
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> I am doing a nixos rebuild. How can I annotate each log line with the package it is associated with?a
<selfsymmetric-mu> Scoped logs, that is.
fresheyeball has quit [Ping timeout: 245 seconds]
InFlames has joined #nixos
fresheyeball has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #65284 → gopass: support wayland → https://git.io/fjDvk
<clever> selfsymmetric-mu: dont think thats possible, but you can run `nix-store -l /nix/store/foo` to dump the logs for something after the fact
<fresheyeball> clever: it still crashed
<clever> fresheyeball: did it print more error?
stepcut has quit [Read error: Connection reset by peer]
<fresheyeball> yes
<selfsymmetric-mu> clever: Is it fundamentally impossible, or simply not implemented?
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<clever> selfsymmetric-mu: mostly not implemented
<clever> selfsymmetric-mu: the new `nix` command will sort of do it, but uses \r to overwrite the line every time a line is printed
stepcut has joined #nixos
<selfsymmetric-mu> clever: Oh, that's exciting! Do you know where I can find development discussion of the new `nix` command?
stepcut has quit [Remote host closed the connection]
<clever> fresheyeball: need to sign in to see it
<selfsymmetric-mu> clever: I've found this old one...https://github.com/NixOS/nix/issues/779
<{^_^}> nix#779 (by Profpatsch, 3 years ago, closed): Redesign of the nix command line
webster23 has quit [Remote host closed the connection]
webster23 has joined #nixos
InFlames has quit [Ping timeout: 272 seconds]
day|flip has quit [Read error: Connection reset by peer]
day|flip has joined #nixos
InFlames has joined #nixos
<clever> fresheyeball: i think it had a kernel-side segfault, while in a segfault handler
<clever> fresheyeball: try running memtest on the machine
fendor has quit [Ping timeout: 245 seconds]
<maurer> Engugiel0%%%
<fresheyeball> this is what it looks like when booting afterward, I have never seen those errors before
<clever> fresheyeball: does this machine have ECC ram?
<fresheyeball> clever: I don't know what that is
<clever> probably not
<fresheyeball> clever: I am not using grub
<fresheyeball> can I run memtest outside of grub?
<clever> fresheyeball: not easily
<clever> fresheyeball: you can also get a memtest iso and put it onto a usb or cdrom
<fresheyeball> clever: other things build fine
<fresheyeball> are you thinking this is truely a hardware error?
<clever> fresheyeball: thats what it looks like
<fresheyeball> clever: you think my ram just died just now?
alex``` has quit [Ping timeout: 244 seconds]
<clever> fresheyeball: either died, or its loose
<fresheyeball> clever: why do you think this?
<fresheyeball> I want to understand
<clever> fresheyeball: MCE's and random serious errors
<clever> fresheyeball: look at the above wiki page, under causes
<fresheyeball> because I was going to start doing divide and conquer on the nix expression
<alexarice[m]> libreoffice has been building for 3 hours...
<fresheyeball> clever: where does it say MCE?
webster23 has quit [Ping timeout: 264 seconds]
<fresheyeball> that is durring boot though
fresheyeball has quit [Quit: WeeChat 2.4]
anon1 has quit [Quit: WeeChat 2.4]
<andi-> Does anyone have working usb-passthrough with libvirt?
fresheyeball has joined #nixos
<clever> fresheyeball: https://nixos.org/nixos/options.html#mcelog will also be able to decode the MCE's and say what exactly has done wrong
<fresheyeball> clever: if I reboot normally there is no error
<fresheyeball> I think when the system crashes, it leaves the ram in a bad state
<fresheyeball> and that's it
<selfsymmetric-mu> What should I have in my `boot.kernelPackages`?
<fresheyeball> selfsymmetric-mu: the kernel you want
lambda-11235 has quit [Ping timeout: 246 seconds]
<samueldr> andi-: yes
<clever> selfsymmetric-mu: 88 #kernelPackages = pkgs.linuxPackages_latest;
<andi-> samueldr: what kind of sorcery did it take you? :-)
<selfsymmetric-mu> clever: Cool, thanks. That leads to more rebuilds right?
<selfsymmetric-mu> I have the same thing, but I forgot to leave myself a comment telling myself why I added it.
<clever> selfsymmetric-mu: depends on if the kernel is in the cache or not, most are
<selfsymmetric-mu> Ah, alright. I'm building a bunch of drivers right now, not sure where they're coming from.
ambro718 has quit [Quit: Konversation terminated!]
<samueldr> it even works right through the network!
<andi-> samueldr: thankt for that. The wrapper line is a bit different from the one I found in another issue / the spice_gtk package
<andi-> We should make that a proper option - if this works :-)
<samueldr> I guess so
<megfault> samueldr: thanks for the help
<samueldr> you're welcome :)
abcxyzchris has joined #nixos
<selfsymmetric-mu> ,locate bin yq
<{^_^}> Found in packages: yq
shibboleth has quit [Quit: shibboleth]
<samueldr> I was wholly surprised when I saw that usb redirection was working through the network, well enough that I was able to use proprietary tools to unlock a phone
<selfsymmetric-mu> Hm...I think there's more than one yq out there. I'll have to figure this one out...
<samueldr> while virtualbox's usb redirection wouldn't work for that purpose
<selfsymmetric-mu> Anybody work with a lot of YAML? I'm looking for some lightweight query tools.
<andi-> samueldr: the wonders of spice ;-)
<abcxyzchris> Is there any way I can 'locate' a file / path that is provided by a nixpkg package?
<samueldr> abcxyzchris: I assume before installation?
<samueldr> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<samueldr> nix-index (link provided in there) does wonders for that
<samueldr> though it only can index what hydra builds, so it can't find unfree software
<abcxyzchris> ,locate /usr/share/lxc/templates
<{^_^}> Couldn't find in any packages
<samueldr> since nixos doesn't have /usr (except for /usr/bin/env) it won't find that
<abcxyzchris> samueldr: Thanks that looks super usefull!
abf_ has joined #nixos
<samueldr> ,locate share/lxc/templates
<{^_^}> Found in packages: lxc
lambda-11235 has joined #nixos
wildtrees has quit [Quit: Leaving]
pamplemousse has quit [Ping timeout: 272 seconds]
fresheyeball has quit [Ping timeout: 268 seconds]
stepcut has joined #nixos
<samueldr> hm? didn't unused kernel configurations in out kernel builder fail the build previously?
<{^_^}> [nixpkgs] @lpetre opened pull request #65285 → squashfuse - fix sha for 0.1.103 → https://git.io/fjDv8
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/248a3d8faf2 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<kalbasit> How to deal with collision between two different dependency for a given python package?
<kalbasit> `nix-shell --show-trace -E '(with import ./. {}; (python3.withPackages(ps: [ ps.moto ])).env)'`
<kalbasit> `collision between `/nix/store/3pr3f51vf71slz3jvmhfq746aqsaaa0f-python3.7-jsonpatch-1.23/bin/jsondiff' and `/nix/store/xxhdwh0g54rkkkm0105c7wr90h5y073y-python3.7-jsondiff-1.1.2/bin/jsondiff'`
<kalbasit> moto depends on jsondiff and on cfn-lint. cfn-lint depends on jsonpatch
stepcut has quit [Remote host closed the connection]
<selfsymmetric-mu> ,locate dhall-repl
<{^_^}> Couldn't find in any packages
<selfsymmetric-mu> :(
Diagon has quit [Quit: Leaving]
fresheyeball has joined #nixos
<fresheyeball> clever: how can I run memtest when I am using systemd-boot?
Rusty1 has joined #nixos
atlas_ has quit [Ping timeout: 245 seconds]
liberiga has joined #nixos
atlas_ has joined #nixos
fresheyeball has quit [Ping timeout: 248 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 250 seconds]
mbrgm_ is now known as mbrgm
magnetophon has quit [Ping timeout: 272 seconds]
stepcut has joined #nixos
bdesham[m] has left #nixos ["User left"]
abcxyzchris has quit [Ping timeout: 245 seconds]
<{^_^}> [nixops] @grahamc closed pull request #981 → Delete all the providers (and use plugins instead) → https://git.io/fNcqQ
stepcut has quit [Remote host closed the connection]
thc202 has quit [Ping timeout: 250 seconds]
stepcut has joined #nixos
lambda-11235 has quit [Ping timeout: 245 seconds]
fresheyeball has joined #nixos
<fresheyeball> clever: I ran memtester and it passed
stepcut has quit [Ping timeout: 258 seconds]
<clever> fresheyeball: memtest86+?
magnetophon has joined #nixos
ris has quit []