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
b3c8004a
Commit
b3c8004a
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
2fb306e2
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
develop/flake.lock
+456
-170
456 additions, 170 deletions
develop/flake.lock
develop/flake.nix
+8
-21
8 additions, 21 deletions
develop/flake.nix
with
464 additions
and
191 deletions
develop/flake.lock
+
456
−
170
View file @
b3c8004a
This diff is collapsed.
Click to expand it.
develop/flake.nix
+
8
−
21
View file @
b3c8004a
...
...
@@ -6,40 +6,27 @@
};
inputs
=
{
feedback
.
url
=
"github:NorfairKing/feedback"
;
flake-parts
.
url
=
"github:hercules-ci/flake-parts"
;
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/haskell/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"
;
horizon-develop-flake
.
url
=
"git+https://gitlab.horizon-haskell.net/nix/horizon-develop-flake"
;
nixpkgs
.
url
=
"github:NixOS/nixpkgs/nixos-unstable"
;
};
outputs
=
inputs
@
{
self
,
flake-parts
,
nixpkgs
,
...
}:
flake-parts
.
lib
.
mkFlake
{
inherit
inputs
;
}
{
systems
=
[
"aarch64-darwin"
"x86_64-darwin"
"x86_64-linux"
];
perSystem
=
{
system
,
...
}:
let
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
;
horizon-shell
=
inputs
.
horizon-shell
.
apps
.
${
system
}
.
default
;
};
};
imports
=
[
inputs
.
horizon-develop-flake
.
flakeModule
];
};
}
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