Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Raoul Hidalgo Charman
horizon-gen-nix
Commits
a5ed1b6a
Commit
a5ed1b6a
authored
2 years ago
by
locallycompact
Browse files
Options
Download
Email Patches
Plain Diff
add nix-prefetch-git to app PATH
parent
4118266a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
flake.nix
flake.nix
+5
-1
No files found.
flake.nix
View file @
a5ed1b6a
...
...
@@ -37,11 +37,15 @@
horizon-gen-nix
=
hfinal
.
callCabal2nix
"horizon-gen-nix"
./.
{
};
};
};
horizon-gen-nix-bin
=
pkgs
.
writers
.
writeBashBin
"horizon-gen-nix"
''
export PATH=
${
pkgs
.
nix-prefetch-git
}
:$PATH
${
hsPkgs
.
horizon-gen-nix
}
/bin/horizon-gen-nix
''
;
in
{
apps
.
default
=
{
type
=
"app"
;
program
=
"
${
hsPkgs
.
horizon-gen-nix
}
/bin/horizon-gen-nix"
;
program
=
"
${
horizon-gen-nix
-bin
}
/bin/horizon-gen-nix"
;
};
devShells
.
default
=
hsPkgs
.
horizon-gen-nix
.
env
.
overrideAttrs
(
attrs
:
{
buildInputs
=
attrs
.
buildInputs
++
[
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment