Compare commits
No commits in common. "7c95e59ca463112e1c7b43f452dbfe864fd8468c" and "bbd9caea83ea8a0191503a47ab7e919783804456" have entirely different histories.
7c95e59ca4
...
bbd9caea83
20
flake.lock
20
flake.lock
|
@ -35,32 +35,24 @@
|
||||||
"linux-hare-src": {
|
"linux-hare-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717244404,
|
"narHash": "sha256-v32f8c4eN2FiSUMZgwByXaFlS6m4ILJsWiTGp4x8qnA=",
|
||||||
"narHash": "sha256-iEGez/JfWvAaHbYUQL/BeRPUH5d+xj7AyFM8CvA+oDU=",
|
"type": "file",
|
||||||
"ref": "refs/heads/master",
|
|
||||||
"rev": "a3fd5ec812ee31a7ec4a07053518b64aaa0c3932",
|
|
||||||
"revCount": 3883,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.sr.ht/~sircmpwn/hare"
|
"url": "https://git.sr.ht/~sircmpwn/hare"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"type": "file",
|
||||||
"url": "https://git.sr.ht/~sircmpwn/hare"
|
"url": "https://git.sr.ht/~sircmpwn/hare"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"linux-harec-src": {
|
"linux-harec-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1716809026,
|
"narHash": "sha256-QjzxiXC2zS8bl2b0RJDwqhcOn8I9rcN830LYHnSyP6k=",
|
||||||
"narHash": "sha256-z4D4MMVROoMFnqAjyWWCUdHwCfR14coGFUNdRGQktgQ=",
|
"type": "file",
|
||||||
"ref": "refs/heads/master",
|
|
||||||
"rev": "42f9b39977ce8d94bab1655f07bb82eb08c85dda",
|
|
||||||
"revCount": 1914,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.sr.ht/~sircmpwn/harec"
|
"url": "https://git.sr.ht/~sircmpwn/harec"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"type": "file",
|
||||||
"url": "https://git.sr.ht/~sircmpwn/harec"
|
"url": "https://git.sr.ht/~sircmpwn/harec"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
22
flake.nix
22
flake.nix
|
@ -12,12 +12,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
linux-harec-src = {
|
linux-harec-src = {
|
||||||
url = "git+https://git.sr.ht/~sircmpwn/harec";
|
url = "https://git.sr.ht/~sircmpwn/harec";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
linux-hare-src = {
|
linux-hare-src = {
|
||||||
url = "git+https://git.sr.ht/~sircmpwn/hare";
|
url = "https://git.sr.ht/~sircmpwn/hare";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
linuxSystems = [ "x86_64-linux" "aarch64-linux" ];
|
linuxSystems = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
packages = nixpkgs.lib.genAttrs darwinSystems (system:
|
devShells = nixpkgs.lib.genAttrs darwinSystems (system:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
hare-as = pkgs.callPackage ./pkgs/darwin/hare-as.nix { };
|
hare-as = pkgs.callPackage ./pkgs/darwin/hare-as.nix { };
|
||||||
|
@ -38,16 +38,26 @@
|
||||||
hare = pkgs.callPackage ./pkgs/darwin/hare.nix { inherit hare-src harec hare-as hare-cc hare-ld; };
|
hare = pkgs.callPackage ./pkgs/darwin/hare.nix { inherit hare-src harec hare-as hare-cc hare-ld; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit hare harec;
|
default = pkgs.mkShell {
|
||||||
|
buildInputs = [
|
||||||
|
harec
|
||||||
|
hare
|
||||||
|
];
|
||||||
|
};
|
||||||
}) //
|
}) //
|
||||||
nixpkgs.lib.genAttrs linuxSystems (system:
|
nixpkgs.lib.genAttrs linuxSystems (system:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
harec = pkgs.callPackage ./pkgs/linux/harec.nix { harec-src = linux-harec-src; };
|
harec = pkgs.callPackage ./pkgs/linux/harec.nix { harec-src = linux-hare-src; };
|
||||||
hare = pkgs.callPackage ./pkgs/linux/hare.nix { inherit harec; hare-src = linux-hare-src; };
|
hare = pkgs.callPackage ./pkgs/linux/hare.nix { inherit harec; hare-src = linux-hare-src; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit hare harec;
|
default = pkgs.mkShell {
|
||||||
|
buildInputs = [
|
||||||
|
harec
|
||||||
|
hare
|
||||||
|
];
|
||||||
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, qbe, harec-src }:
|
{ stdenv, qbe, hare-src }:
|
||||||
let
|
let
|
||||||
arch = stdenv.hostPlatform.uname.processor;
|
arch = stdenv.hostPlatform.uname.processor;
|
||||||
qbePlatform = {
|
qbePlatform = {
|
||||||
|
@ -10,7 +10,7 @@ in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "harec";
|
pname = "harec";
|
||||||
version = "0.24";
|
version = "0.24";
|
||||||
src = harec-src;
|
src = hare-src;
|
||||||
buildInputs = [ qbe ];
|
buildInputs = [ qbe ];
|
||||||
nativeBuildInputs = [ qbe ];
|
nativeBuildInputs = [ qbe ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue