Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
horizon-advance
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
package-sets
horizon-advance
Commits
8dd584b8
There was an error fetching the commit references. Please try again later.
Commit
8dd584b8
authored
1 year ago
by
Daniel Firth
Browse files
Options
Downloads
Patches
Plain Diff
develop/flake: switch to horizon-develop-flake flake parts module
parent
cbc272a0
1 merge request
!32
96update
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
develop/flake.lock
+595
-80
595 additions, 80 deletions
develop/flake.lock
develop/flake.nix
+12
-15
12 additions, 15 deletions
develop/flake.nix
with
607 additions
and
95 deletions
develop/flake.lock
+
595
−
80
View file @
8dd584b8
This diff is collapsed.
Click to expand it.
develop/flake.nix
+
12
−
15
View file @
8dd584b8
...
...
@@ -6,17 +6,17 @@
};
inputs
=
{
feedback
.
url
=
"github:NorfairKing/feedback"
;
flake-parts
.
url
=
"github:hercules-ci/flake-parts"
;
horizon-gen-nix
.
url
=
"git+https://gitlab.
horizon-haskell.net/haskell/horizon-gen-nix
?ref=refs/tags/0.
10.4
"
;
horizon-
shell
.
url
=
"git+https://gitlab.horizon-haskell.net/
s
hell
s
/horizon-
shell
"
;
nixpkgs
.
url
=
"github:nixos/nixpkgs/nixos-unstable
"
;
flake-to-gitlab-ci
.
url
=
"git+https://gitlab.
nixica.dev/haskell/flake-to-gitlab-ci
?ref=refs/tags/0.
2.4.2
"
;
horizon-
gen-nix
.
url
=
"git+https://gitlab.horizon-haskell.net/h
ask
ell/horizon-
gen-nix?ref=refs/tags/0.11.0
"
;
horizon-shell
.
url
=
"git+https://gitlab.horizon-haskell.net/shells/horizon-shell?ref=refs/tags/0.0.9
"
;
};
outputs
=
inputs
@
{
self
,
flake-parts
,
nixpkgs
,
...
}:
flake-parts
.
lib
.
mkFlake
{
inherit
inputs
;
}
...
...
@@ -24,23 +24,20 @@
systems
=
[
"x86_64-linux"
];
perSystem
=
{
config
,
system
,
final
,
inputs
'
,
...
}:
perSystem
=
{
system
,
...
}:
let
pkgs
=
import
inputs
.
nixpkgs
{
inherit
system
;
};
feedback-app
=
{
type
=
"app"
;
program
=
"
${
inputs
.
feedback
.
packages
.
${
system
}
.
default
}
/bin/feedback"
;
};
in
{
apps
=
{
feedback
=
feedback-app
;
flake-to-gitlab-ci
=
inputs
.
flake-to-gitlab-ci
.
apps
.
${
system
}
.
default
;
horizon-gen-nix
=
inputs
.
horizon-gen-nix
.
apps
.
${
system
}
.
default
;
};
devShells
.
default
=
pkgs
.
mkShell
{
buildInputs
=
[
inputs
.
horizon-shell
.
packages
.
${
system
}
.
default
];
shellHook
=
''
exec horizon-shell
''
;
horizon-shell
=
inputs
.
horizon-shell
.
apps
.
${
system
}
.
default
;
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment