Stormwind_mobile has quit [Ping timeout: 240 seconds]
<harryho>
whitequark: Hi, when I'm using nmigen v0.1rc1 to run the `nmigen.test` unit tests, I got an error about not able to find sby even though I specified that with the `SBY` environ variable. The error message prints the directory containing the sby binary correctly, however. What could be the issue there? Thanks.
<Dar1us>
harryho: I've never used it but, can you set your PATH so sby is in it?
<harryho>
Dar1us: yea, but it still throws the error
<Dar1us>
OK, that's all I got then :)
<Dar1us>
actually does running just 'sby' work?
<harryho>
I can run sby directly from shell, under that sby directory I specified
Stary has quit [Ping timeout: 252 seconds]
<Dar1us>
harryho: ie you just type 'sby'?
<Dar1us>
or /some/directory/sby ?
<Dar1us>
or cd /some/directory; ./sby?
<harryho>
Dar1us: both `/dir/sby` and `cd /dir; ./sby`
<Dar1us>
try..
<Dar1us>
export PATH=/dir:$PATH
<Dar1us>
then a bare 'sby' should work
<Dar1us>
and migen will probably DTRT
Stary has joined #m-labs
rohitksingh has quit [Ping timeout: 245 seconds]
rohitksingh has joined #m-labs
Stormwind_mobile has joined #m-labs
<harryho>
Dar1us: yes, I know, but it doesn't work. Actually, I'm using a `nix-shell` that invokes a check when building nmigen v0.1rc1 and yosys from source, so the SBY path is a nix store path. I've already checked that `sby` is present in that nix store path (printed by the error), so I don't understand why the check phase can't detect sby.
<Dar1us>
ah OK
<Dar1us>
that is strange
rohitksingh has quit [Ping timeout: 250 seconds]
harryho has quit [Ping timeout: 250 seconds]
harryho has joined #m-labs
harryho has quit [Ping timeout: 250 seconds]
mumptai_ has quit [Quit: Verlassend]
mumptai has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 250 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
<emily>
harryho: upstream nixpkgs-unstable has nixpkgs.python3Packages.nmigen et al now, you probably want to switch over to those (I'm planning to bump it to v0.1rc1 in the next couple days); the tests pass fine for that one. maybe look at nixpkgs.glasgow too for an example of how to package some nmigen-using software
<emily>
oh, offline.
<emily>
it's also entirely possible I broke something with the toolchain changes
Stormwind_mobile has quit [Ping timeout: 268 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 265 seconds]
<_whitenotifier>
[m-labs/nmigen] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/Je4ZG