forked from rarias/nixos-riscv
Add path to repository in environment
This commit is contained in:
parent
070b96598a
commit
46077e67f5
@ -118,6 +118,7 @@
|
|||||||
in syspkgs.mkShell rec {
|
in syspkgs.mkShell rec {
|
||||||
pname = "lagarto-ox-shell";
|
pname = "lagarto-ox-shell";
|
||||||
COMMIT = if self ? rev then self.rev else "dirty";
|
COMMIT = if self ? rev then self.rev else "dirty";
|
||||||
|
REPO = self;
|
||||||
TOPLEVEL = build.toplevel;
|
TOPLEVEL = build.toplevel;
|
||||||
OPENSBI = syspkgs.opensbi;
|
OPENSBI = syspkgs.opensbi;
|
||||||
KERNEL = build.kernel;
|
KERNEL = build.kernel;
|
||||||
@ -132,6 +133,7 @@
|
|||||||
shellHook = ''
|
shellHook = ''
|
||||||
echo "Here are the current system pieces:"
|
echo "Here are the current system pieces:"
|
||||||
echo " COMMIT = $COMMIT"
|
echo " COMMIT = $COMMIT"
|
||||||
|
echo " REPO = $REPO"
|
||||||
echo " TOPLEVEL = $TOPLEVEL"
|
echo " TOPLEVEL = $TOPLEVEL"
|
||||||
echo " KERNEL = $KERNEL"
|
echo " KERNEL = $KERNEL"
|
||||||
echo " OPENSBI = $OPENSBI"
|
echo " OPENSBI = $OPENSBI"
|
||||||
|
Loading…
Reference in New Issue
Block a user