00:18
xeji has quit [Quit: WeeChat 2.0]
01:05
mbrgm has quit [Ping timeout: 268 seconds]
01:09
mbrgm has joined #nixos-dev
02:03
mbrgm has quit [Ping timeout: 264 seconds]
02:05
mbrgm has joined #nixos-dev
02:21
orivej has quit [Ping timeout: 240 seconds]
02:32
ckauhaus has joined #nixos-dev
02:37
ckauhaus has quit [Ping timeout: 256 seconds]
06:10
pie_ has quit [Ping timeout: 265 seconds]
06:33
ckauhaus has joined #nixos-dev
06:37
ckauhaus has quit [Ping timeout: 256 seconds]
06:51
ma27 has joined #nixos-dev
07:36
ckauhaus has joined #nixos-dev
07:37
ckauhaus has quit [Remote host closed the connection]
07:39
ckauhaus has joined #nixos-dev
07:39
ckauhaus has quit [Remote host closed the connection]
07:42
ckauhaus has joined #nixos-dev
07:46
ckauhaus has quit [Ping timeout: 255 seconds]
07:48
ckauhaus has joined #nixos-dev
07:53
ckauhaus has quit [Ping timeout: 276 seconds]
07:57
ckauhaus has joined #nixos-dev
08:02
ckauhaus has quit [Ping timeout: 276 seconds]
08:09
ma27 has quit [Ping timeout: 276 seconds]
08:09
ckauhaus has joined #nixos-dev
08:12
ckauhaus_ has joined #nixos-dev
08:14
ckauhaus has quit [Ping timeout: 264 seconds]
08:16
MichaelRaskin has quit [Quit: MichaelRaskin]
08:18
ckauhaus has joined #nixos-dev
08:19
ckauhaus_ has quit [Ping timeout: 240 seconds]
08:21
ckauhaus_ has joined #nixos-dev
08:23
ckauhaus has quit [Ping timeout: 265 seconds]
08:26
ckauhaus_ has quit [Ping timeout: 268 seconds]
08:31
ma27 has joined #nixos-dev
08:42
orivej has joined #nixos-dev
10:19
orivej has quit [Ping timeout: 255 seconds]
11:02
<
xCuri0 >
How do I port NixOS to a new architecture ?
11:03
<
xCuri0 >
there aren't any wiki pages about it
11:16
<
clever >
xCuri0: to start with, do you want it to only be cross-compiled, or do you plan to have it be able to run nix?
11:16
orivej has joined #nixos-dev
11:25
ckauhaus has joined #nixos-dev
11:31
ckauhaus has quit [Remote host closed the connection]
11:44
goibhniu has joined #nixos-dev
11:45
pie_ has joined #nixos-dev
11:49
ckauhaus has joined #nixos-dev
11:52
ckauhaus has quit [Remote host closed the connection]
11:52
ckauhaus has joined #nixos-dev
11:53
<
LnL >
is there a way to hash a string using just the nix cli?
11:53
<
LnL >
builtins.hashString doesn't like zero bytes :/
11:58
<
tilpner >
LnL - nix-hash --type sha256 /proc/self/fd/0 <<<foo
12:01
zybell_ has quit [Ping timeout: 265 seconds]
12:02
<
LnL >
that hash isn't correct
12:02
<
LnL >
and I need it to be unix compatible
12:03
<
tilpner >
nix-hash --flat <(echo foo)
12:04
<
LnL >
(trying to avoid the whole sha25sum vs shasum -a 256)
12:04
orivej has quit [Ping timeout: 265 seconds]
12:04
<
LnL >
oh, only tried without --flat
12:04
<
tilpner >
Doesn't work with sh, but maybe you can afford bash
12:05
<
LnL >
yeah, but that's fine
12:07
<
clever >
without --flat, it will wrap the file in a NAR, then hash
12:13
zybell_ has joined #nixos-dev
12:15
orivej has joined #nixos-dev
12:16
goibhniu has quit [Ping timeout: 256 seconds]
12:16
<
LnL >
that explains the error, I think it tries to read the file twice
13:42
ckauhaus has quit [Remote host closed the connection]
13:44
ckauhaus has joined #nixos-dev
13:44
<
Profpatsch >
> cat hi.nix
13:44
<
Profpatsch >
> nix eval --json --show-trace ./hi.nix
13:44
<
Profpatsch >
error: path '/home/philip/tmp/hi.nix' is not in the Nix store
13:44
<
Profpatsch >
> nix eval --json --show-trace -f ./hi.nix
13:44
<
Profpatsch >
error: more arguments are required
13:46
<
Profpatsch >
> nix eval '4'
13:46
<
Profpatsch >
error: don't know what to do with argument '4'
13:46
<
Profpatsch >
> nix eval '(4)'
13:46
<
Profpatsch >
I think I’ll stick with nix-instantiate for now or something.
13:47
<
gchristensen >
the `nix` command is unstable ...:) probably open a bug for that, Profpatsch?
13:47
<
Profpatsch >
gchristensen: One or four?
13:47
<
gchristensen >
one I'd say, because the issue I think is that the four are not equiv
13:48
<
LnL >
it takes installables, not a file
13:48
ckauhaus has quit [Ping timeout: 260 seconds]
13:48
<
LnL >
the '4' is weird tho
13:50
<
gchristensen >
what if `./4` is a file containing '(4)'b and you try nix eval '4'
13:50
<
gchristensen >
what if `./4` is a file containing '(4)' and you try nix eval '4'
13:51
<
Profpatsch >
LnL: What’s an installable?
13:57
<
LnL >
don't think that's described anywhere
13:57
<
Profpatsch >
What does -f mean with “more arguments are required”?
13:58
<
srhb >
I think you basically have to specify an attribute.
13:58
<
srhb >
Even if there is none to specify.
13:58
<
Profpatsch >
And: can I just evaluate a files
13:58
<
Profpatsch >
*file?
13:58
<
LnL >
seems like it, even tho nix build can
13:59
<
Profpatsch >
But: > nix eval -f ./hi.nix ""
13:59
<
srhb >
Huh, I didn't know that was possible.
13:59
<
Profpatsch >
Of course. d)
14:00
<
Profpatsch >
At least it’s consistent. :P
14:23
ckauhaus has joined #nixos-dev
14:29
ckauhaus has quit [Ping timeout: 276 seconds]
15:27
jtojnar has quit [Remote host closed the connection]
16:37
ckauhaus has joined #nixos-dev
16:38
ckauhaus has quit [Client Quit]
16:52
<
gchristensen >
nixos.org's option page hasn't updated for nixos 18.03
16:54
<
zybell_ >
nixpkgs manual lists 16.03 as current!
16:54
<
LnL >
default is 17.09
16:55
<
gchristensen >
zybell_: where?
16:56
<
zybell_ >
in the beginning first or second paragraph
16:56
<
gchristensen >
I see it mention 16.03 but not say it is current
16:57
<
zybell_ >
dont remember the exact wording but got the impression it was meant.
17:00
<
gchristensen >
it'd probably be good, yeah, to have it always be current
18:46
xeji has joined #nixos-dev
19:22
Synthetica has joined #nixos-dev
19:45
pie__ has joined #nixos-dev
19:49
pie_ has quit [Ping timeout: 260 seconds]
19:52
<
taktoa >
tfw you have so many packages in your global `ghcWithPackages` that it won't build because the argument list to bash is too long
20:32
jtojnar has joined #nixos-dev
21:08
kmicklas has joined #nixos-dev
21:13
xeji has quit [Quit: WeeChat 2.0]
21:15
Cale has quit [Read error: Connection reset by peer]
21:21
Cale has joined #nixos-dev
21:29
Cale has quit [Ping timeout: 276 seconds]
21:32
jtojnar has quit [Quit: jtojnar]
21:41
Cale has joined #nixos-dev
21:57
Cale has quit [Read error: Connection reset by peer]
21:58
Cale has joined #nixos-dev
22:06
phreedom has quit [Remote host closed the connection]
22:06
phreedom has joined #nixos-dev
22:12
Cale has quit [Ping timeout: 276 seconds]
22:23
jtojnar has joined #nixos-dev
22:24
Synthetica has quit [Quit: Connection closed for inactivity]
22:26
Cale has joined #nixos-dev
22:28
jtojnar_ has joined #nixos-dev
22:30
jtojnar has quit [Ping timeout: 260 seconds]
22:30
jtojnar_ is now known as jtojnar
22:48
<
LnL >
copumpkin: gchristensen: I think half of the macs are not building anything
22:58
zybell_ has quit [Ping timeout: 256 seconds]
23:10
zybell_ has joined #nixos-dev